Function map of cm0102.exe 3.9.68. Generated from the Bosman Edition repo. Do not edit by hand: report a wrong name as an issue.
AI agents named each function from its code, and a review checked every medium and low name. Treat a medium or low name as a hint and read the code before you rely on it. "Cited in" lists research docs of the Bosman Edition repo that name the address.
| Address | Size | Name | Convention | Purpose | Confidence | Model | Cited in |
|---|---|---|---|---|---|---|---|
| 0x794ad0 | 67 (+1 unwind) | Notes::Notes |
thiscall (Notes *this, int load_file) ret 4, returns this | Constructs the notes manager with 16 pairs of empty note lists and loads notes.dat when a file is given and the version is new enough. | high | opus | 2026-10-14-game-creation-inventory.md |
| 0x794ba0 | 26 | Notes::~Notes |
thiscall (Notes *this in ECX) ret 0 | Destroys the notes manager by running the destructor of each of its 32 note lists and freeing them. | high | opus | |
| 0x794be0 | 223 (+3 unwind) | Notes::load_notes |
thiscall(Notes* this, ZipDir* save) ret 4, returns 1 or 0 | Reads notes.dat from a saved game into the two note lists of each of the 16 manager slots, and reports read errors. | high | opus | |
| 0x794f00 | 347 | Notes::save_notes |
thiscall(Notes* this, ZipDir* save) ret 4, returns 1 or 0 | Writes the two note lists of each of the 16 manager slots to notes.dat in the saved game, with a count before each list. | high | opus | |
| 0x795360 | 45 | Notes::post_due_reminders |
thiscall(Notes* this) ret 0 | Walks the staff notes of all 16 manager slots and posts a reminder news item for each note whose reminder date is today. | high | opus | |
| 0x7953d0 | 93 (+5 unwind) | Notes::add_note |
thiscall(Notes* this, Staff* manager, int* staff_id, char* text, char reminder_type, char reason) ret 0x14 | Appends a staff note for a human manager, dated today, with a reminder in one week, four weeks or none by the reminder type. | high | opus | |
| 0x795550 | 58 (+2 unwind) | Notes::add_note_dated |
thiscall(Notes* this, Staff* manager, int* staff_id, char* text, Date* reminder_date, Date* created_date, char reason) ret 0x18 | Appends a staff note for a human manager with the given created date and reminder date, keeping an edited note's original dates. | high | opus | |
| 0x795660 | 45 | Notes::remove_note |
thiscall(Notes* this, Staff* manager, int* staff_id) ret 8 | Removes the note about a given staff member from a human manager's note list. | high | opus | |
| 0x7956d0 | 23 | Notes::replace_note |
thiscall(Notes* this, Staff* manager, int* staff_id, char* text, char reminder_type, char reason) ret 0x14 | Replaces a manager's note about a staff member by removing the old note and adding a new one dated today. | high | opus | |
| 0x795710 | 25 | Notes::replace_note_dated |
thiscall(Notes* this, Staff* manager, int* staff_id, char* text, Date* reminder_date, Date* created_date, char reason) ret 0x18 | Replaces a manager's note about a staff member by removing the old note and adding one with given dates. | high | opus | |
| 0x795750 | 39 | Notes::find_note |
thiscall(Notes* this, Staff* manager, int* staff_id) ret 8, returns Note* or 0 | Returns a human manager's note about a given staff member, or zero when there is none. | high | opus | |
| 0x7957b0 | 181 | Notes::format_note_text |
thiscall(Notes* this, Staff* manager, int* staff_id, char* out) ret 0xc, returns out or 0 | Writes a manager's note about a staff member into a buffer, with the reason label and the reminder date when set. | high | opus | |
| 0x7959e0 | 17 | Notes::get_edit_text |
thiscall(Notes* this, Staff* manager) ret 4, returns char* | Returns the 255-byte note edit text buffer of a human manager's slot, or zero for a staff member outside the 16 slots. | high | sonnet | |
| 0x795a10 | 22 | Notes::set_edit_text |
thiscall(Notes* this, Staff* manager, char* text) ret 8 | Copies an existing note's text into the note edit buffer of a human manager's slot. | high | sonnet | |
| 0x795a60 | 15 | Notes::clear_edit_text |
thiscall(Notes* this, Staff* manager) ret 4 | Empties the note edit buffer of a human manager's slot before a new note is written. | high | sonnet | |
| 0x795a90 | 70 | notes_get_reminder_label |
stdcall(char* out, int out_size, char reminder_type) ret 0xc, returns out or 0 | Writes the label of a note reminder choice into a buffer, asserting when the buffer is missing or shorter than 50 bytes. | high | opus | |
| 0x795b90 | 166 | notes_get_reason_label |
stdcall(char* out, int out_size, char reason, char style) ret 0x10, returns out or 0 | Writes the label of a note reason into a buffer, as a plain name, a reminder news title or a short code by style. | high | opus | |
| 0x795e20 | 80 (+1 unwind) | Notes::post_reminder_news |
thiscall(Notes* this, int slot, Note* note) ret 8 | Queues a type 5011 diary reminder news item for the slot's manager with the noted staff member and reason. | high | opus | |
| 0x795f50 | 134 | notes_write_diary_reminder_news |
stdcall(void* unused, int full_text, int arg3) ret 0xc | Writes the news text of a diary reminder, picking the club secretary sentence by note reason and linking the staff name. | high | opus | |
| 0x796100 | 52 | notes_is_reason_valid_for_staff |
stdcall(Staff* manager, Staff* target, char reason) ret 0xc, returns bool | Tests whether a note reason applies to a staff member by player status, age under 24 and whether he is at the manager's club. | high | sonnet | |
| 0x7961b0 | 123 | notes_open_staff_note_screen |
cdecl(int* staff_id) ret 0 | Opens the staff note screen for a staff member and loads any existing note text, reminder and reason into the screen parameters. | high | opus | |
| 0x796340 | 611 (+1 unwind) | notes_draw_staff_note_screen |
cdecl(void) ret 0 | Draws the create or edit staff note screen with note text, reminder choices, reason choices and Delete, Cancel and Confirm buttons. | high | opus | |
| 0x796850 | 224 | notes_draw_staff_note_screen_fragment_796850 |
false entry inside notes_draw_staff_note_screen, ret 0 | Misread entry point in the middle of the staff note screen draw function, starting inside an instruction near the reason list loop. | high | opus | |
| 0x796870 | 1 | notes_draw_staff_note_screen_fragment_796870 |
false entry inside notes_draw_staff_note_screen, no ret | One-instruction fragment inside the staff note screen draw function, reached only through a data value that happens to match its address. | medium | opus | |
| 0x796b30 | 371 (+2 unwind) | notes_staff_note_screen_handler |
cdecl(int item_id) ret 0, returns screen code | Handles clicks on the staff note screen, storing the reminder or reason choice, adding, replacing or deleting the note, or closing the screen. | high | opus |