- Created a new document outlining the feasibility of modding the Japanese version of No Remorse on Windows, detailing executive assessments, established evidence, modding base suitability, and potential risks. - Introduced a comprehensive analysis of the Observer NPC in No Remorse, including its identity, data structure, AI behavior, and comparisons with similar NPCs, along with open questions for further investigation.
186 KiB
CRUSADER.EXE Function Identification Map
Scope
This backlog tracks exact Ghidra auto-names in live CRUSADER.EXE code blocks. The first inventory queried on 2026-10-09 contained 1,047 functions; a read-only live scan on 2026-10-10 found 381 candidates across 46 code blocks. The per-block table is that dated snapshot; later batches below record candidates cleared since then.
These are unresolved naming candidates, not a claim that every function has no existing behavioral evidence. Some may already have leads in subsystem notes or neighboring analysis; check those sources before redoing work or promoting a name. This list intentionally excludes nullfn_*, generic-but-authored names such as Process_..., and known no-op/thunk labels. Those can still merit review, but they are not exact Ghidra FUN_ auto-names.
How To Read The Map
Code N is the memory-block number shown by the current Ghidra database. The selector column is the segment portion of the live Ghidra segment:offset address. For example, Code142 / selector 1468, offset 04f9 is symbol FUN_1468_04f9 at 1468:04f9. Only code blocks with remaining exact auto-names appear; omitted code blocks currently have none. Data and external blocks are out of scope.
Identification Backlog
This table contains only exact Ghidra auto-names that remain in live CRUSADER.EXE code blocks. Clearing these exact auto-names is the completion target tracked here; this does not claim that generic authored names or nullfn_* stubs have been behaviorally identified.
| Ghidra code block | Selector | Remaining count | Remaining entry offsets (FUN_<selector>_<offset>) |
|---|---|---|---|
| Code1 | 1000 |
2 | 018a, 2bf2 |
| Code87 | 12b0 |
13 | 0000, 003d, 0066, 00c1, 011c, 01b8, 0254, 0286, 02b8, 02e8, 0318, 039d, 048c |
| Code88 | 12b8 |
15 | 0000, 002a, 0071, 015c, 0183, 01f9, 027d, 02aa, 02d7, 0344, 03b4, 0406, 0492, 04ab, 04f0 |
| Code89 | 12c0 |
7 | 0000, 0029, 006e, 00c2, 00f2, 012d, 01bd |
| Code91 | 12d0 |
3 | 02eb, 06ca, 06e7 |
| Code92 | 12d8 |
8 | 00f5, 01cb, 024e, 02d3, 0346, 04d0, 050d, 0560 |
| Code95 | 12f0 |
8 | 0298, 0495, 0a3e, 0bc1, 0bd7, 0bee, 0c29, 0c64 |
| Code96 | 12f8 |
8 | 0000, 004b, 01a5, 036b, 038a, 044a, 0463, 055f |
| Code97 | 1300 |
16 | 0000, 0138, 0264, 02e8, 08ad, 0920, 0941, 0942, 0b5c, 0c55, 0c6c, 0c75, 0c7e, 0d04, 0d2d, 0d44 |
| Code98 | 1308 |
7 | 0000, 001d, 0151, 0254, 0371, 04cd, 04fd |
| Code99 | 1310 |
6 | 0000, 002e, 02c2, 02fe, 0317, 0330 |
| Code100 | 1318 |
3 | 01f9, 025a, 063d |
| Code101 | 1320 |
19 | 0146, 0624, 0935, 09f7, 0cbd, 0dfc, 0e0e, 0ebc, 0f8b, 1018, 11bf, 12cc, 130f, 14bf, 1525, 16b6, 1705, 1734, 175d |
| Code102 | 1328 |
5 | 006b, 00d7, 0267, 0652, 06ab |
| Code103 | 1330 |
13 | 0000, 00ea, 031d, 03bc, 0517, 065a, 0b8a, 12d7, 1363, 137c, 1502, 163c, 1693 |
| Code104 | 1338 |
5 | 0109, 01cf, 02c5, 02ed, 0342 |
| Code105 | 1340 |
12 | 010f, 011c, 0129, 02e3, 0420, 0540, 0685, 0706, 075f, 079c, 084d, 096a |
| Code106 | 1348 |
24 | 019b, 02c6, 03da, 0823, 090b, 09bb, 0b0d, 0b39, 0bdc, 0c92, 0d07, 0d81, 0e2e, 0e7f, 0f0f, 0f70, 1025, 1212, 1288, 1377, 1561, 15d4, 164b, 169a |
| Code108 | 1358 |
15 | 037f, 03a5, 0a46, 0a92, 0b92, 0cbd, 0ce9, 0d06, 0e1f, 0e93, 0f41, 0fc9, 0fd6, 1108, 1120 |
| Code109 | 1360 |
21 | 017a, 01c7, 0218, 0269, 05d4, 078d, 084d, 0c35, 0c6a, 0c7d, 0c90, 107b, 10d8, 118e, 1297, 12b2, 12cd, 135d, 1395, 13e6, 1412 |
| Code110 | 1368 |
2 | 0000, 0352 |
| Code111 | 1370 |
4 | 0105, 0275, 02af, 0428 |
| Code112 | 1378 |
17 | 0177, 02ee, 0465, 05dc, 06e1, 0790, 0a00, 0b04, 0bd3, 0d4c, 1309, 13da, 13fd, 141a, 1608, 1618, 1644 |
| Code113 | 1380 |
3 | 00cc, 0219, 02e5 |
| Code114 | 1388 |
11 | 016e, 01c9, 0248, 0400, 048a, 051b, 0566, 0685, 07ab, 0c12, 0ca2 |
| Code115 | 1390 |
11 | 02c2, 05ce, 05e1, 0639, 064c, 07d3, 080a, 085e, 08c0, 0934, 0953 |
| Code116 | 1398 |
4 | 02d1, 0487, 0887, 0a2a |
| Code117 | 13a0 |
2 | 304b, 305c |
| Code118 | 13a8 |
9 | 0088, 0117, 01ee, 0361, 048a, 04b3, 0524, 0587, 0837 |
| Code120 | 13b8 |
8 | 01ce, 04f7, 0580, 05e8, 06b4, 0758, 07c7, 0983 |
| Code121 | 13c0 |
2 | 006d, 08f5 |
| Code122 | 13c8 |
5 | 28e1, 2c90, 2d19, 2e16, 2eca |
| Code124 | 13d8 |
5 | 008d, 01a0, 031a, 037d, 03b7 |
| Code126 | 13e8 |
19 | 007d, 0af8, 0f56, 0f77, 1086, 10a5, 140c, 2b74, 2dad, 307f, 3253, 32f2, 334e, 338d, 3796, 37b4, 388f, 3ec3, 3f83 |
| Code129 | 1400 |
5 | 0123, 0149, 0a14, 0c7e, 0cd9 |
| Code132 | 1418 |
1 | 0172 |
| Code133 | 1420 |
8 | 011b, 0134, 0181, 05db, 0cb3, 1ffd, 2010, 209f |
| Code134 | 1428 |
16 | 00bf, 0251, 03a3, 041d, 043a, 05ac, 0651, 07f2, 0860, 087b, 0c31, 0cf6, 0d7a, 0dd8, 0e2f, 0e86 |
| Code136 | 1438 |
1 | 03fb |
| Code137 | 1440 |
2 | 07be, 0ea3 |
| Code138 | 1448 |
3 | 0000, 0031, 1ec9 |
| Code139 | 1450 |
2 | 00ec, 074b |
| Code140 | 1458 |
4 | 04b0, 09d4, 0b1c, 0bc1 |
| Code141 | 1460 |
1 | 0000 |
| Code142 | 1468 |
14 | 04f9, 0995, 0e51, 12fe, 1d4d, 1da1, 354a, 37c4, 3a3d, 3c23, 3d36, 3d7a, 4206, 4217 |
| Code143 | 1470 |
12 | 0000, 005e, 00cc, 00fb, 01c6, 01ef, 0239, 0398, 04a0, 04f8, 05cc, 0692 |
Processed Functions
Batch 1: Code30 (10e8)
10e8:3e68(FUN_10e8_3e68->Process_DestroyEmbeddedDispatchEntries): destroys theProcessobject's embeddedEntityDispatchEntryfields at+0x0c(slot 0) and+0x10(slot 2); ifparam_2bit 0 is set, callsProcess_AssertNotTerminating. Decompilation and the exact function body support this structural name. Ghidra reports no callers or xrefs, so the concrete owner/class role remains unresolved.10e8:38bc(FUN_10e8_38bc->ByteRecord_StoreAtOffset8AndReturnTrue): storesvalat byte offset+8fromptrand returns1. The nearbyNPC_GetDifficultyLevelat10e8:38cdreads the globalg_difficultyLevel, so the two functions are not treated as a getter/setter pair. No callers or xrefs resolve here; the record type and field meaning remain unknown.
Batch 2: Code30 (10e8)
10e8:3e47(FUN_10e8_3e47->AvatarItemState_Initialize): callsmalloc_0x17_bytes_if_neededwith the address ofg_avatarItemNo. The helper initializes a 0x17-byte block, setting bytes 0 and 1 to1, 0and bytes0x0band0x0cto3, 0; because the wrapper passes a fixed, non-null global address, the helper's allocation branch is not taken. References to the global support its avatar-item association, but Ghidra has no direct caller/xref to the wrapper.10e8:3eb9,10e8:3f0a, and10e8:3f5bdecompile identically toProcess_DestroyEmbeddedDispatchEntriesat10e8:3e68. No callers/xrefs resolve for these copies, so they remain unnamed until table/owner context distinguishes their roles.
Batch 3: Code30 (10e8)
10e8:38d5(FUN_10e8_38d5->Savegame_Load_InvokeCallbackAndRestoreRng): called bySavegame_LoadProbablyat1050:043aafter the preceding load readers. It invokes the callback from(*(param_3 + 8) + 0x0c), then restores the RNG seed fromDAT_1478_7e26throughRandom_SetSeed.10e8:3905(FUN_10e8_3905->Savegame_Save_CaptureRngAndInvokeCallback): called bySavegame_QuickSaveat1050:023cafter item-cache and NPC serialization. It captures the current seed withGet_RandomSeed, invokes the callback from(*(param_3 + 8) + 0x10)with fixed arguments including&g_avatarItemNo, and returnsNPC_GetDifficultyLevel().- The save/load callback targets and serialized record schema remain unresolved; the names describe the verified caller role and local operations only.
Batch 4: Code30 destructor copies (10e8)
10e8:3eb9->Process_DestroyEmbeddedDispatchEntries_10e8_3eb910e8:3f0a->Process_DestroyEmbeddedDispatchEntries_10e8_3f0a10e8:3f5b->Process_DestroyEmbeddedDispatchEntries_10e8_3f5b10e8:3fac->Process_DestroyEmbeddedDispatchEntries_10e8_3fac10e8:3ffd->Process_DestroyEmbeddedDispatchEntries_10e8_3ffd10e8:404e->Process_DestroyEmbeddedDispatchEntries_10e8_404e10e8:409f->Process_DestroyEmbeddedDispatchEntries_10e8_409f10e8:40f0->Process_DestroyEmbeddedDispatchEntries_10e8_40f0
All eight bodies match Process_DestroyEmbeddedDispatchEntries at 10e8:3e68: they destroy the embedded dispatch entries at +0x0c and +0x10 and conditionally assert that the process is not terminating. Each has an address-qualified structural name because no caller was recovered to establish the owning class. The suffixes preserve the distinction between separate function bodies without claiming they are interchangeable.
Batch 5: Code30 destructor copies (10e8)
10e8:41e3->Process_DestroyEmbeddedDispatchEntries_10e8_41e310e8:4234->Process_DestroyEmbeddedDispatchEntries_10e8_423410e8:4285->Process_DestroyEmbeddedDispatchEntries_10e8_428510e8:42d6->Process_DestroyEmbeddedDispatchEntries_10e8_42d610e8:4327->Process_DestroyEmbeddedDispatchEntries_10e8_432710e8:4378->Process_DestroyEmbeddedDispatchEntries_10e8_4378
All six decompile identically: they null-check the process, destroy loadsaveFnPtr2 and loadsavefnPtr as dispatch slots 0 and 2, and conditionally call Process_AssertNotTerminating when param_2 bit 0 is set. Each has an address-qualified structural name and a decompiler comment recording this evidence; the owning class/role remains unresolved.
Batch 6: Code30 destructor copies (10e8)
10e8:4141->Process_DestroyEmbeddedDispatchEntries_10e8_414110e8:43c9->Process_DestroyEmbeddedDispatchEntries_10e8_43c910e8:441a->Process_DestroyEmbeddedDispatchEntries_10e8_441a10e8:446b->Process_DestroyEmbeddedDispatchEntries_10e8_446b10e8:44bc->Process_DestroyEmbeddedDispatchEntries_10e8_44bc10e8:450d->Process_DestroyEmbeddedDispatchEntries_10e8_450d10e8:455e->Process_DestroyEmbeddedDispatchEntries_10e8_455e
All seven decompile to the same cleanup routine and compare byte-for-byte with the 79-byte body at 10e8:3e68. Each null-checks the process, destroys loadsaveFnPtr2 and loadsavefnPtr as dispatch slots 0/2, and conditionally calls Process_AssertNotTerminating. No direct callers or xrefs resolve; address-qualified names preserve the distinct entries without guessing their owning classes.
Batch 7: Code30 destructor copies (10e8)
10e8:45af->Process_DestroyEmbeddedDispatchEntries_10e8_45af10e8:4600->Process_DestroyEmbeddedDispatchEntries_10e8_460010e8:4651->Process_DestroyEmbeddedDispatchEntries_10e8_465110e8:46a2->Process_DestroyEmbeddedDispatchEntries_10e8_46a210e8:46f3->Process_DestroyEmbeddedDispatchEntries_10e8_46f310e8:4744->Process_DestroyEmbeddedDispatchEntries_10e8_4744
All six decompile to the same cleanup routine and compare byte-for-byte with the 79-byte body at 10e8:3e68. Each null-checks the process, destroys loadsaveFnPtr2 and loadsavefnPtr as dispatch slots 0/2, and conditionally calls Process_AssertNotTerminating. No direct callers or xrefs resolve; address-qualified names preserve the distinct entries without guessing their owning classes.
Batch 8: Code30 destructor copies (10e8)
10e8:4795->Process_DestroyEmbeddedDispatchEntries_10e8_479510e8:47e6->Process_DestroyEmbeddedDispatchEntries_10e8_47e610e8:4837->Process_DestroyEmbeddedDispatchEntries_10e8_483710e8:4888->Process_DestroyEmbeddedDispatchEntries_10e8_488810e8:48d9->Process_DestroyEmbeddedDispatchEntries_10e8_48d910e8:492a->Process_DestroyEmbeddedDispatchEntries_10e8_492a10e8:497b->Process_DestroyEmbeddedDispatchEntries_10e8_497b10e8:49cc->Process_DestroyEmbeddedDispatchEntries_10e8_49cc10e8:4a1d->Process_DestroyEmbeddedDispatchEntries_10e8_4a1d10e8:4a6e->Process_DestroyEmbeddedDispatchEntries_10e8_4a6e
All ten decompile to the same cleanup behavior as 10e8:3e68: they null-check the process, destroy loadsaveFnPtr2 and loadsavefnPtr as dispatch slots 0 and 2, and call Process_AssertNotTerminating when param_2 bit 0 is set. The owning class remains unresolved, so the names retain address-qualified suffixes. Each entry has a decompiler comment with this evidence.
Program-Wide Exact Duplicate Scan (2026-10-09)
A live read-only Ghidra script scanned all 3,033 defined functions and grouped functions by the exact ordered bytes of their decoded instructions. The report below includes groups with at least 16 instruction bytes and either two or more exact FUN_... candidates, or an exact match to at least one authored-name function. candidate means the name matched Ghidra's exact FUN_<selector>_<offset> form at scan time. All 100 auto-named functions listed in these groups have since been renamed; the assigned name is the stem below plus _<selector>_<offset>. Byte identity supports the behavior-level names but does not establish each function's owner or higher-level role. Tiny boilerplate-only groups and groups without an auto-named member are omitted; this scan does not find semantically equivalent code whose instruction bytes differ.
| Exact body | Auto-named members (all now renamed) | Assigned name stem | Evidence and behavior |
|---|---|---|
| 58 bytes | 1308:05a2, 1308:05dc, 1308:0650, 1320:1782, 1330:1659, 1340:09bc, 1348:1660, 1348:16ad, 1348:16e7, 1348:1721, 1348:175b, 1370:03b4, 1370:03ee, 1370:044f, 1378:143a, 1378:14ac, 1378:14e6, 1378:1520, 1378:155a, 1378:1594, 1378:15ce, 1380:0432, 1380:046c, 13c8:305c, 13c8:3096, 13c8:30d0, 13c8:310f | SpriteNode_DestroyAndMaybeFree | Exact matches include 1308:0616 (ButtonGump_Destroy), 13a0:306f (usecode_debugger_menu_destroy), and 13c0:0a94 (KeypadButtonGump_Destroy). Representative 1308:05a2 destroys a SpriteNode and conditionally frees the gump. |
| 79 bytes | 10e8:4abf, 10e8:4b10, 10e8:4b61, 10e8:4bb2, 10e8:4c03, 10e8:4c54, 10e8:4ca5, 10e8:4cf6, 10e8:4d47, 10e8:4d98, 10e8:4de9, 10e8:4e3a, 10e8:4e8b, 10e8:4edc, 10e8:4f2d, 10e8:4f7e, 10e8:4fcf, 10e8:5020 | Process_DestroyEmbeddedDispatchEntries | Exact copies of the previously named family (39 named bodies in the group). They destroy dispatch slots 0 and 2 and optionally assert that the process is not terminating. |
| 23 bytes | 1350:02b1, 1350:02c8, 13f8:055e, 13f8:0575 | Object_InvokeVtableOffset3C | Identical indirect virtual-call stubs through object offset +0x3c. |
| 53 bytes | 1070:1bfe, 1070:1c33, 10b8:06a2 | Object_Call1220_0000_ThenMaybeFree | Null-check, call FUN_1220_0000, then conditionally free the object. |
| 28 bytes | 1370:037c, 1378:1474, 1380:03fa | Object_SetField39TrueAndUpdate | Set object field +0x39 to 1 and call FUN_1360_078d. |
| 28 bytes | 1370:0398, 1378:1490, 1380:0416 | Object_SetField39FalseAndUpdate | Set object field +0x39 to 0 and call FUN_1360_078d. |
| 78 bytes | 1150:3321, 11c0:0643 | Process_DestroyEmbeddedDispatchEntries | Exact copies among 16 authored-name destructor functions, including PathfinderProcess_Destroy and DeathSilenceProcess_Destroy. Destroy embedded dispatch slots 0/2 and optionally assert process state. |
| 58 bytes | 1350:03cd, 1368:048a | Gump_DestroyCommonAndMaybeFree | Exact matches include usecode_debugger_gump_destroy, usecode_debugger_watch_pane_destroy, and usecode_debugger_source_pane_destroy. Representative calls GumpShared_DestroyCommon, then conditionally frees the object. |
| 58 bytes | 1370:0093, 13c0:00c4 | MainMenuOptionsMenuButtonGump_DrawLabel | Exact match to the authored draw-label function; forwards gump data and object fields at +0x35/+0x37/+0x39 to FUN_1338_0109. |
| 58 bytes | 1370:023b, 1370:0342 | MainMenuOptionsPanelButtonGump_DrawLabel | Exact match to the authored draw-label function; uses fields at +0x39/+0x3b/+0x3d. |
| 51 bytes | 1028:072b, 1098:0845 | File_CloseAndMaybeFree | Exact match to the authored helper: close file, then optionally free its wrapper. |
| 29 bytes | 1340:0668, 1388:078e | Object_InvokeVtableOffset10 | Exact matches include three usecode debugger pane event-forwarding functions. Representative dispatches through the function pointer at object offset +0x10. |
| 238 bytes | 1350:02df, 1368:039c | Text_DrawMultiline | Identical multi-line text rendering: split at newline boundaries, measure each line, and draw the lines. |
| 207 bytes | 1298:0bf7, 1298:11f3 | BufferCursor_ReadValue | Exact byte copies of a buffered read helper. No direct callers or xrefs resolve; name intentionally avoids asserting a data width or owner. |
| 200 bytes | 1298:0b2d, 1298:0f79 | BufferCursor_ReadValue | Exact byte copies of a related buffered read helper. No direct callers or xrefs resolve; name intentionally avoids asserting a data width or owner. |
| 112 bytes | 12b0:03d1, 12c0:0283 | LinkedCallbackChain_Destroy | Invoke each node callback, advance through its links, then clear the head/tail fields. |
| 93 bytes | 12d0:0391, 12d0:0442 | Debug_PrintPositionedMessageIfLevel | Exact copies of a debug-print wrapper with a message-level threshold and positioned output. |
| 75 bytes | 12b0:0441, 12c0:02f3 | LinkedList_GetNextAndTest | Initialize from the head if empty, otherwise follow the current node's link; return whether a node remains. |
| 72 bytes | 10c0:0a46, 10c0:0da7 | Item_IsWithinBounds | Exact item-coordinate-in-bounds tests using g_itemX, g_itemY, and stored rectangle limits. |
| 61 bytes | 1268:008a, 1268:00c7 | Rectangle_ContainsPoint | Exact inclusive rectangle containment tests over four bounds. |
| 53 bytes | 1068:04f1, 1070:1bc9 | Object_Call1068_02e2_ThenMaybeFree | Exact copies of a null-checked object cleanup that calls FUN_1068_02e2 and conditionally frees the object. |
| 53 bytes | 12b0:04d7, 12c0:033e | LinkedList_CountNodes | Exact linked-list length traversals. |
| 28 bytes | 1370:00cd, 1380:01e1 | Object_SetField35TrueAndUpdate | Set object field +0x35 to 1 and call FUN_1360_078d. |
| 28 bytes | 1370:00e9, 1380:01fd | Object_SetField35FalseAndUpdate | Set object field +0x35 to 0 and call FUN_1360_078d. |
| 79 bytes | 1090:0afe | Process_DestroyEmbeddedDispatchEntries | Exact match to 11 authored-name process destructors, including MapJumpProcess_Destroy, FadeProcess1_Destroy, AnimProcess_Destroy, and SnapProcess_Destroy; same embedded dispatch-entry cleanup as the Code30 group. |
| 84 bytes | 1448:3221 | Process_DestroyEmbeddedDispatchEntries | Exact match to four authored-name process destructors, including DumbTimerProcess_Destroy, CycleProcess_Destroy, FadeProcAlt_Destroy, and FlicWaitProcess_Destroy. |
| 27 bytes | 11c0:072d | Object_InvokeVtableOffset8 | Exact matches to AnimOneFrameDelayProcess_Run and FlicWaitProcess_Run; indirect virtual call through function-pointer offset +8. |
| 72 bytes | 1230:00e6 | Palette_Free | Exact match to the authored helper: free the contained allocation, clear its pointer, and optionally free the wrapper. |
| 58 bytes | 13e8:3f49 | BaseCameraProcess_VtableSlot11FreeBuffer | Exact match to the authored helper; invoke FUN_12b0_003d, then optionally free the object. |
| 36 bytes | 1000:7ac6 | memcpy | Exact match to authored memcpy; copies words, handles an odd trailing byte, and returns the destination. |
The two buffered-read groups have no direct callers or xrefs, so their names avoid asserting element width or owner. All 100 duplicate-group renames applied with zero failures; post-rename signature verification found no remaining auto-named member in these 30 groups. The per-block table remains a pre-rename snapshot.
Batch 9: Code1 runtime and DOS helpers (1000)
1000:0164->CallbackQueue_RunHighestPriorityPass_1000_0164: one-call wrapper to1000:01f7.1000:018aremainsFUN_1000_018a: pushes0,CS:0x181, andDS:0x5d, then calls importedOrdinal_89at1488:0070.CallOrdinal89also invokes it from the exit path. The 1994 Phar Lap SDK'sPHAPI.Hcontains named API declarations but no ordinal-to-service map, so the service identity remains unresolved.1000:01b3->CallbackQueue_RunLowestPriorityFirst_1000_01b3: walks six-byte callback records, chooses the lowest non-disabled priority byte at+1, marks the record disabled, invokes its near/far callback at+2, and repeats.1000:01f7->CallbackQueue_RunHighestPriorityFirst_1000_01f7: same record/callback mechanism, selecting the highest priority byte first. Direct callers are1000:0164plus its own repeat-dispatch branches.1000:0238->DOS_WriteStderr_1000_0238: invokes DOSINT 21h, function40h, with handle 2; writesCXbytes fromDS:DX.1000:0240was initially left unnamed because Ghidra reports a body from1000:0240through1000:2aa0with bad/overlapping instruction data. After tracing startup, allocation, and fatal-output callers, Batch 23 named itruntime_fatal_error_exit_1000_0240; its unreliable body boundary remains unchanged.1000:2bf2remainsFUN_1000_2bf2: called from1000:0240; decompilation mixes implicit registers with a divide-error message buffer, and the reported function body begins before its entry point. Its role remains unresolved.1000:3138->DOS_GetDefaultDrive_1000_3138: callsdos_get_default_driveand returns the drive number.1000:3163->DOS_GetFileAttributes_1000_3163: DOSINT 21h,AX=4300h; returns attributes fromCXthrough the output pointer, or dispatches errors throughFUN_1000_83ec.1000:3183->DOS_SetFileAttributes_1000_3183: DOSINT 21h,AX=4301h, passing the path inDS:DXand attributes inCX; dispatches errors throughFUN_1000_83ec.
All seven renames applied with zero failures and were verified at their addresses. The three entries left auto-named are held back for explicit evidence gaps rather than treated as identified functions.
Batch 10: Code1 runtime and DOS helpers (1000)
1000:31ed->NoOp_1000_31ed: one-byteRETF, with no additional behavior.1000:32d0->DOS_GetDateWords_1000_32d0: DOSINT 21h,AH=2ah; stores the returned year (CX) and month/day (DX) to the caller's output buffer. Used bydos_get_datetime_words.1000:32e3->DOS_GetTimeWords_1000_32e3: DOSINT 21h,AH=2ch; stores the returned hour/minute (CX) and second/hundredths (DX) to the output buffer. Also used bydos_get_datetime_words.1000:332f->DOS_GetDriveAllocationInfo_1000_332f: far thunk that pushes the two output pointers and a zero drive selector before callingdos_get_drive_allocation_infoat1000:3344.1000:338b->SignedLongDivideNear_1000_338b: near-call veneer that adjusts the return frame before entering the shared signed 32-bit division engine.1000:338e->SignedLongDivideFar_1000_338e: far-call entry for signed quotient mode; this was previously mislabeledrandom_somethingdespite implementing the shared divide engine.1000:3395->UnsignedLongDivideFar_1000_3395: far-call entry selecting unsigned quotient mode; callers includeKernel_11d0_2a86,UProcess_1420_062f, andusecode_debugger_source_buffer_load_text.1000:339a->SignedLongRemainderNear_1000_339a: near-call veneer that adjusts the return frame before entering signed remainder mode.1000:339d->SignedLongRemainderFar_1000_339d: far-call entry for signed remainder mode; callers includeKeypadGump_CheckCodeandInterpreter_NextUsecodeOp.1000:34a1->Stack_AllocateAndCopyBytes_1000_34a1: reservesparam_2bytes on the stack, then copies that many bytes from the far source pointerparam_1into the reserved area. Multiple callers use the helper, includingFilespec_1238_032e,AutoFirerProcess_OnTimer, andAnimPrimitiveProcess_Run.1000:34c2->DOS_HandleIsDevice_1000_34c2: DOSINT 21h,AX=4400hfor the supplied handle; returns the device bit (DX & 0x80). Called fromopen_stream_with_mode.
All ten renames applied with zero failures and were verified at their live addresses. Disassembly and call sites confirm the near/far veneers and the signed-quotient, unsigned-quotient, and signed-remainder mode flags; these entries share the core at 1000:33a8.
Batch 11: Code1 runtime, temporary-file, RNG, and DOS helpers (1000)
1000:34d3->format_long_as_ascii_base_1000_34d3: converts a 32-bit value to digits for radix 2 through 36, with caller-selected alphabet and optional sign handling. The existingitoawrapper and the decimal-formatting helper support this role.1000:3555->format_unsigned_long_decimal_1000_3555: formats a 32-bit value as unsigned decimal text. It is used by the temporary-filename builder to append its numeric component.1000:359e->build_temp_filename_1000_359e: copies a prefix (defaultTMP), appends a decimal counter, then appends a suffix into the selected output buffer. The collision probe and temporary-file cleanup path use it; the exact suffix text is not recorded here.1000:35fb->find_unused_temp_filename_1000_35fb: advances a counter, builds a candidate path, and repeats whileDOS_GetFileAttributessucceeds. It returns after the helper reports an error; the precise DOS error policy beyond that remains unresolved. No direct callers were recovered.1000:3654->set_memory_retry_callback_1000_3654: stores a callback pointer and companion word in globals read by the allocation-retry path, and returns the previous callback pointer. No direct callers were recovered.1000:36c0->retry_memory_allocation_with_callback_1000_36c0: retries the memory-manager allocation helper and invokes the configured callback between failed attempts. The returned high-word/status representation is not fully resolved, so the name describes only the verified loop behavior.1000:3764->gameplay_lcg_seed_from_word_1000_3764: stores the supplied word as the low part of the gameplay RNG state and clears its high word. No direct callers were recovered.1000:3775->gameplay_lcg_next_15bit_1000_3775: advances the state using the local multiply/add step and returns the high 15 bits. Callers span item damage/explosion, attacks, pathfinding, and other gameplay code.docs/raw-porting-progress.mddescribes a separate raw seg091 RNG state; no raw-address/name mapping is asserted for this helper.1000:3cbe->NoOp_1000_3cbe: an empty function called three times byvsscanf_number_parser.1000:4007->dos_get_file_size_by_handle_1000_4007: calls the DOS seek helper with a zero offset and returns its result;File_1228_0909consumes that result as the file extent before choosing a seek position, andFile_1228_0962delegates through that path.
All ten names were applied successfully and then verified by querying each live address. The temporary-file, allocation-retry, and file-size roles are grounded in their callers; unresolved error-code and return-value details remain intentionally conservative.
Batch 12: Code1 character, formatter, and video helpers (1000)
1000:4021->ascii_toupper_1000_4021: preserves0xffff; otherwise indexes the character classification table and subtracts0x20when the table marks the byte as lowercase. Callers include save-name input and usecode-debugger expression formatting.1000:4065was initially left unnamed because no callers or owner context were recovered. Batch 23 named itruntime_array_cleanup_and_free_1000_4065after confirming reverse-order callback dispatch and conditional backing-allocation release.1000:457a->format_packed_bcd_byte_1000_457a: converts the packed-BCD argument used by the custom format parser into ASCII output.1000:45b9->format_output_append_char_1000_45b9: writes one pending byte to the formatter's output buffer, invokes its callback when the buffer fills, and updates the output position.1000:45c2->format_flush_output_buffer_1000_45c2: sends the buffered bytes through the formatter callback, then resets the buffer state and advances the output position. Both helpers are called by the variadic parser at1000:47e9.1000:4a55->video_text_cell_address_1000_4a55: computes a far word address from the current text-grid base, row, and column globals.1000:4a7a->video_aware_memmove_words_1000_4a7a: performs overlap-aware word copying; in active video mode it synchronizes copies against VGA status-port transitions.1000:4af4->copy_c_string_return_end_1000_4af4: copies a NUL-terminated string and returns the address of its terminator. The temporary-filename helper is its recovered caller.1000:4b28->video_mode_setup_wrapper_1000_4b28: invokes the display-layout helper with global geometry and then sets the VGA video mode. The title/configuration-screen routine at1048:025bcalls it.1000:4b51->video_update_control_bits_1000_4b51: replaces bits0x8fin a shared video-control byte while preserving bits0x70; called by the display setup routine at1048:025b.
Nine names applied successfully and were verified at their live addresses; 1000:4065 remains intentionally unresolved pending caller/owner evidence.
Batch 13: Code1 text console, rectangle, and DOS helpers (1000)
1000:4b66->text_attr_set_background_1000_4b66: replaces text-attribute bits0x70from the low three bits of its argument, preserving foreground/blink bits.1000:4b7f->text_attr_set_1000_4b7f: stores the complete text-attribute byte. No callers were recovered.1000:4b9d->video_console_write_chars_1000_4b9d: writes a character range using the current text attribute, handles control characters including line advance and carriage return, and scrolls the active text region when needed.1000:4ccf->video_console_printf_1000_4ccf: variadic formatted-output wrapper around the console character writer.1000:4cf0->scanf_float_formats_not_linked_fatal_1000_4cf0: writes the diagnosticscanf: floating point formats not linkedto DOS handle 2, then jumps to the fatal-report path.1000:4d68->video_set_cursor_if_in_bounds_1000_4d68: checks a requested cursor position against the active text bounds before issuing the BIOS video operation. Callers include the title/configuration screen and positioned debug output.1000:4db1->video_text_rect_copy_to_buffer_1000_4db1: validates a text-grid rectangle and copies its rows from video memory to a linear buffer.1000:4e07->video_text_rect_copy_from_buffer_1000_4e07: validates a text-grid rectangle and copies rows from a linear buffer to video memory.1000:4e5d->dos_get_stdin_status_or_ready_1000_4e5d: returns DOSINT 21hfunction0Bhstandard-input status unless a global override is set, in which case it returns 1. Called byMemoryInitializeManager.1000:4e6f->video_move_text_rectangle_1000_4e6f: validates source and destination rectangles, then copies rows in overlap-safe order within the text grid.
All ten names were applied and verified at their live addresses. The fixed diagnostic text at 1478:6f29 and the copy helper's source/destination behavior were checked directly.
Batch 14: Code1 text-grid memory and timing helpers (1000)
1000:4f0c->video_console_put_single_char_1000_4f0c: forwards one stack-supplied character to the console writer. No direct callers were recovered; the body is consistent with a one-character callback.1000:4f33->video_text_offset_to_row_column_1000_4f33: converts a byte offset into a text-grid row and column using the current row width. It is used by the mixed-memory copy helper.1000:4f6b->video_advance_text_cursor_1000_4f6b: advances the text cursor column, wraps at the configured width, and synchronizes the video mode when the cursor state changes.1000:4f9f->video_copy_words_mixed_memory_1000_4f9f: copies words between pointers when either side may be video memory, using the cursor and mode helpers for hardware-backed access.1000:5069->video_text_memmove_words_1000_5069: dispatches word moves to the VGA-aware copy path when active video memory is available, otherwise to the mixed-memory fallback.1000:50a5->video_text_rect_is_in_bounds_1000_50a5: validates ordered text-grid rectangle bounds against configured width and height. Used by the rectangle copy/move routines.1000:50fa->video_fill_text_buffer_with_spaces_1000_50fa: fills a linear word buffer with spaces carrying the current text attribute.1000:511c->video_adjust_text_viewport_1000_511c: updates/redraws the active text viewport using rectangle moves, row copies, and space-filled staging when the window scrolls; otherwise it refreshes the video mode.1000:52e0->dos_wait_seconds_precise_1000_52e0: waits for the requested number of DOS second transitions, then waits until the hundredths field reaches the starting threshold. Its recovered caller isFlicplay_CreateFlicProcess.1000:5349->video_set_mode_and_reset_text_attr_1000_5349: selects the requested (or default) VGA mode, lets the mode helper refresh geometry and video-memory state, then restores the default text attribute.
All ten names applied successfully and were verified at their live addresses. The window/copy names describe observed local operations, not a higher-level UI owner.
Batch 15: Code1 file and buffered-stream helpers (1000)
1000:5368->video_get_cursor_position_1000_5368: issues the BIOS cursor-position query and returns the packed cursor coordinates used by the text-console routines.1000:541a->dos_set_file_readonly_from_flags_1000_541a: reads a file's DOS attributes and sets or clears the read-only bit according to the supplied flag. Called by two file-object helpers.1000:5481->dos_extend_file_with_zero_fill_1000_5481: compares the requested extent with the current file size and writes zero blocks when extending;File_1228_0909then seeks to the requested position or prior end.1000:5605->stream_close_and_remove_temp_file_1000_5605: releases an owned buffer, closes the DOS handle, resets the stream state, and removes its temporary backing file when present.1000:578a->stream_read_bounded_token_1000_578a: reads and NUL-terminates a token into a caller buffer, bounded by the caller capacity and ten bytes.UProcess_1420_062fuses it while scanning process-symbol records.1000:58c8->filespec_parse_components_1000_58c8: wrapper to the shared path parser at1000:6c73; theFilespec_1238_032ecaller supplies the component output buffers before recomposing the normalized path.1000:5d9f->stream_sync_position_and_newline_state_1000_5d9f: synchronizes a buffered stream with its DOS file position, handles the special end-relative case, and refreshes buffered newline state. No direct callers were recovered.1000:5f0a->stream_normalize_all_buffer_slots_1000_5f0a: scans the 20 stream slots and normalizes/refills entries carrying the0x300state bits.1000:5f48->stream_refill_buffer_1000_5f48: reads into the stream's buffer, updates cursor/count and status bits, and reports EOF/error through the stream flags.1000:5fc0->stream_read_next_byte_1000_5fc0: advances the stream cursor and delegates to the buffered byte reader at1000:5fd8.
All ten names were applied and verified at their live addresses. 1000:5d9f retains an address-qualified behavioral name because no direct caller was recovered.
Batch 16: Code1 DOS paths, file-open, and stream-write helpers (1000)
1000:5fd8->stream_read_buffered_byte_1000_5fd8: returns the next buffered byte, refilling through the DOS-read path as needed and setting EOF/error state when no byte is available.1000:60d2->dos_get_current_directory_alloc_1000_60d2: builds the current-drive root and current-directory path, allocating a caller-sized buffer when none is supplied.1000:6160->dos_get_drive_current_directory_alloc_1000_6160: performs the same path construction for a requested drive, using the default drive when the drive selector is zero.1000:629a->format_long_as_ascii_base_1000_629a: thin adapter to the shared long-to-base formatter, forwarding caller register options and output/value arguments. No direct callers were recovered.1000:62b7->format_long_base_signed_decimal_1000_62b7: shared formatter adapter that enables signed handling for base 10 and uses unsigned handling for other bases. No direct callers were recovered.1000:63c0->memmove_far_1000_63c0: far-pointermemmovewrapper; area-search and item-find routines use it for overlapping copies.1000:63e1->dos_create_file_with_attributes_1000_63e1: DOSINT 21h/AH=3Chcreate-file wrapper with DOS error dispatch.1000:63fc->dos_truncate_file_at_current_position_1000_63fc: DOSINT 21h/AH=40hzero-byte write on the supplied handle, truncating at its current position.1000:640e->open_stream_with_dos_mode_1000_640e: opens or creates a DOS file according to runtime mode bits, configures device/append/truncate state, and records stream flags. Called byopen_stream_with_mode.1000:65e7->stream_put_char_1000_65e7: decrements the stream's buffered count and delegates the character write to the common output routine at1000:6603.
All ten names applied successfully and were verified at their live addresses. The DOS create and truncate wrappers were confirmed from the surrounding instruction/register setup.
Batch 17: Code1 stream writing, Filespec parsing, and formatting (1000)
1000:6603->stream_write_byte_1000_6603: writes one character through the stream buffer or DOS handle, supports append mode, and translates newline output for text streams.1000:6798->stream_write_char_to_static_stream_1000_6798: forwards a character to the statically allocated stream record at1000:6c46. No direct callers were recovered.1000:67ac->stream_write_block_1000_67ac: writes a byte block using stream buffering or direct DOS I/O and returns the completed count. Its recovered caller isfwrite_buffered.1000:69af->dos_read_file_with_text_translation_1000_69af: reads DOS file bytes and, for text streams, handles CR/LF translation and Ctrl-Z EOF while correcting the underlying file position.1000:6a9d->stream_initialize_buffer_1000_6a9d: validates and initializes a stream record, closes/releases prior state, and optionally allocates/configures its buffer and mode.1000:6bba->copy_string_bounded_1000_6bba: copies a string up to the supplied capacity and always writes a terminating NUL when a destination exists.1000:6c13->filespec_path_tail_delimiter_check_1000_6c13(Batch 23): dispatches on NUL,/,:, or\\; the colon case also checks the preceding byte. The adjacent filespec parser supports the path-tail role.1000:6c73->filespec_parse_components_core_1000_6c73: trims leading spaces, copies at most 80 characters, and dispatches on the final path character to populate component outputs. The Filespec caller and wrapper at1000:58c8support this role.1000:6e93->format_buffer_append_callback_1000_6e93: appends formatted bytes to the output buffer, advances its offset, and maintains a NUL terminator.1000:6ed3->sprintf_to_buffer_1000_6ed3: initializes an output buffer and runs the shared formatter with the append callback and caller's variadic arguments.
Nine names were applied and verified; 1000:6c13 remains unresolved pending evidence for its dispatch table.
Batch 18: Code1 string scanning, formatting, and comparison (1000)
1000:6ef5->vsprintf_to_buffer_1000_6ef5: resets the destination buffer and runs the shared formatter using an explicit variadic-argument pointer and the buffer-append callback.1000:6f16->string_scan_next_char_1000_6f16: reads and advances one byte from the scanner cursor, returning0xffffat the terminating NUL. No direct callers were recovered.1000:6f3e->string_scan_unget_char_1000_6f3e: backs up the scanner cursor by one byte. No direct callers were recovered.1000:6f6c->sscanf_far_string_1000_6f6c(Batch 23): passes the string scanner callbacks and caller format/varargs tovsscanf_engine; the nearby floating-point message is an engine diagnostic, not a fixed wrapper format.1000:6fcf->strcmp_far_1000_6fcf: compares two far strings and returns the unsigned-byte difference at the first mismatch.1000:6fff->strcpy_far_1000_6fff: copies the source string including its NUL terminator and returns the destination.1000:7088->ascii_lowercase_string_in_place_1000_7088: converts uppercase ASCII letters to lowercase in place. Used by config loading and typename lookup.1000:70ac->strncpy_zero_padded_far_1000_70ac: copies up to the requested count and pads the remainder with NUL bytes.1000:70dd->ascii_strnicmp_1000_70dd: compares at most the requested number of bytes, folding lowercase ASCII to uppercase before comparison.1000:7121->strstr_far_1000_7121: searches a far string for a non-empty substring and returns the match pointer or null. Callers include Filespec/path, process-symbol, and typename handling.
Nine names applied and verified; 1000:6f6c remains unresolved pending format/caller evidence.
Batch 19: Code1 numeric parsing, timezone, and stream lifecycle (1000)
1000:718f->number_scan_next_char_1000_718f: reads and advances one byte in the integer scanner, returning-1at NUL. No direct callers were recovered.1000:71b6->number_scan_unget_char_1000_71b6: backs up the integer scanner cursor by one byte. No direct callers were recovered.1000:71c1->scan_signed_integer_from_string_1000_71c1: skips leading whitespace, parses a signed integer through the shared scanner, reports conversion errors, and optionally returns the advanced input pointer. Used by process-symbol parsing.1000:72a5->ascii_uppercase_string_in_place_1000_72a5: converts lowercase ASCII letters to uppercase in place. Called while opening video media files.1000:72c9->dos_datetime_to_epoch_seconds_1000_72c9: converts DOS date/time fields to the runtime epoch representation, applying the configured timezone and daylight-saving adjustment.1000:73f3->epoch_seconds_to_dos_datetime_1000_73f3: converts the runtime epoch value back to DOS date/time fields, including timezone and daylight-saving adjustment.1000:75f7->timezone_initialize_from_environment_1000_75f7: parses theTZenvironment variable or applies the built-inEST/EDTdefaults, then stores timezone and daylight-saving state.1000:77e5->timezone_is_daylight_saving_1000_77e5: evaluates the configured month/week/day transition rules for a supplied local date/time.1000:78c4->dos_write_file_with_text_translation_1000_78c4: writes bytes to a DOS handle and inserts carriage returns before newlines for text-mode streams.1000:7a51->stream_close_all_open_1000_7a51: scans the stream table and closes entries marked open or active.
All ten names were applied and verified at their live addresses. The case-conversion direction for 1000:7088 was corrected after checking the exact ASCII range test.
Batch 20: Code1 compiler heap manager (1000)
1000:7ac6was already namedmemcpy_1000_7ac6: copies the requested bytes, including an odd trailing byte, and returns the destination.1000:7c04->heap_free_and_coalesce_block_1000_7c04: marks a block free, coalesces adjacent free neighbors, inserts the result in the free list when needed, and refreshes heap state.1000:7c49->heap_initialize_free_list_1000_7c49: clears the heap metadata and initializes the free-list head through the block allocator.1000:7c80->heap_insert_free_block_1000_7c80: inserts a newly freed block into the doubly linked free list.1000:7ca6->heap_allocate_from_free_list_1000_7ca6: finds a suitable free block, splits or unlinks it, and refreshes heap state.1000:7d14->heap_resize_block_in_place_1000_7d14: resizes an allocation in place by splitting its tail or merging a following free block.1000:7dcb->heap_copy_realloc_payload_1000_7dcb: copies the retained payload from the old block into the replacement allocation. Called by the realloc wrapper at1000:8023.1000:7df0->heap_walk_allocated_block_chain_1000_7df0: follows physical block sizes from the heap base until it reaches a free block or the end sentinel.1000:7e01->heap_largest_free_block_size_1000_7e01: walks the free list and returns the largest free payload size inDX.1000:7e30->heap_release_block_and_update_region_map_1000_7e30: frees the block and updates the manager's segment/region index; used by the malloc/realloc wrappers.
Nine names were applied and verified; the existing memcpy_1000_7ac6 symbol was left unchanged.
Batch 21: Code1 heap wrappers and video-mode helpers (1000)
1000:7e77->heap_allocate_with_region_growth_1000_7e77: searches existing regions for a fitting free block, requests a first region or grows the heap when needed, then retries allocation.1000:7ef9->heap_allocate_far_region_1000_7ef9(Batch 24): invokesOrdinal_40for the far-region allocation path; the import identity remains unknown.1000:7f34->heap_initialize_first_region_1000_7f34: requests an initial region, reducing the requested size on failure, and initializes its free-list metadata when successful.1000:7f8d->heap_grow_region_1000_7f8d: requests an additional region and initializes its free-list metadata on success.1000:7fc7->heap_try_resize_in_place_1000_7fc7: attempts to resize an existing allocation in place, or releases it when the requested size is zero.1000:8023->heap_reallocate_1000_8023: handles realloc's null/zero cases, tries in-place resizing, then allocates, copies the retained payload, and releases the old block.1000:8091->heap_reallocate_far_region_1000_8091(Batch 24): handles null/zero-size cases locally and delegates nonzero region resizing toOrdinal_42; the import identity remains unknown.1000:80d9->string_has_prefix_1000_80d9: returns true when its first string argument is a prefix of the second.1000:8108->video_query_ega_configuration_1000_8108: issues BIOS video serviceINT 10h/AH=12h, BL=10hto query extended EGA configuration.1000:81a5->video_initialize_from_current_mode_1000_81a5: queries the active video mode, initializes mode-dependent state, and stores the masked BIOS display-status value.
Eight names were applied and verified. The two wrappers involving Ordinal_40 and Ordinal_42 remain unresolved pending import semantics or stronger call-site evidence.
Batch 22: Code1 stream, video, and support helpers (1000)
1000:7a8e->stream_normalize_four_open_buffers_1000_7a8e: scans four stream records and invokes the existing buffer flush/reset helper for entries with active read/write flags. This entry had been missed between the Batch 19 endpoint and the already namedmemcpyat1000:7ac6.1000:81c6->video_initialize_display_state_1000_81c6: reconciles the requested and current BIOS video modes, detects display characteristics, selects the framebuffer segment, and resets text cursor state.1000:8322->runtime_coreleft_bytes_1000_8322: computes the long value used by the debugger's*Mexpression, displayed asCoreleft: %ld.1000:8351->far_pointer_advance_1000_8351: near-call adapter for the far-return pointer-advance helper at1000:8356; buffered read/write loops use it between chunks.1000:8356->far_pointer_advance_impl_1000_8356: advances a far buffer pointer between buffered I/O chunks.1000:83a0->compare_unsigned_32bit_values_1000_83a0: compares two unsigned 32-bit values and returns whether the first is less; called bymemmove.1000:83ec->dos_error_status_passthrough_1000_83ec: records the DOS error throughdos_error_1000_83a7and returns the original status. Used by file-attribute wrappers.
Seven names were applied and verified. The adjacent dos_ioctl at 1000:82d7 and dos_error_1000_83a7 were already named.
Batch 23: Code1 runtime failure, array cleanup, and scanner helpers (1000)
1000:0240->runtime_fatal_error_exit_1000_0240: startup, allocation, and unsupported-float error paths converge here; it writes the fixed stderr message and calls the runtime exit wrapper. Its live function body still spans1000:0240–1000:2aa0and includes overlapping/bad instruction data, so the boundary was not changed.1000:2bf2remainsFUN_1000_2bf2: its only apparent call is inside the malformed0240body. Ghidra reports a body beginning at1000:2b40, while the entry at2bf2is a jump to2b80; boundary analysis did not identify a reliable standalone extent.1000:4065->runtime_array_cleanup_and_free_1000_4065: dispatches cleanup callbacks across array elements in reverse order, then conditionally frees the backing allocation and header. No direct callers were recovered.1000:6c13->filespec_path_tail_delimiter_check_1000_6c13: dispatches on NUL,/,:, or\\; the colon case additionally checks a preceding byte. The adjacent filespec parser supports the path-tail interpretation.1000:6f6c->sscanf_far_string_1000_6f6c: supplies the far-string get/unget callbacks and caller format/varargs tovsscanf_engine; the nearby floating-point diagnostic is emitted by the engine, not a fixed wrapper format.
Four names were applied and verified. The remaining exact-name entries are 1000:018a, 1000:2bf2, 1000:7ef9, and 1000:8091.
Batch 24: Code1 far-region heap wrappers (1000)
1000:7ef9->heap_allocate_far_region_1000_7ef9: the null-region allocation path calls importedOrdinal_40and returns the resulting far region on success; failure returns a null far pointer. The import itself remains unidentified.1000:8091->heap_reallocate_far_region_1000_8091: allocates through7ef9when the old region is null, releases throughheap_release_block_and_update_region_map_1000_7e30for a zero-size request, and delegates nonzero resizing to importedOrdinal_42. The import itself remains unidentified.Ordinal_40is referenced only by the first-region and far-region allocation paths;Ordinal_42is referenced by heap growth and far-region resizing. Local extender notes and the import table expose no service names.Ordinal_89is called from startup and from the exit lifecycle wrapper, but its service contract remains unknown; keep1000:018aunnamed.
Two exact-name entries remain: 1000:018a and 1000:2bf2.
Batch 25: Image records and palette conversion (1008)
1008:0032->resource_image_record_allocate_and_load_1008_0032: allocates a0x43a-byte image record when passed a null buffer, loads the file into it, and returns the record. No direct callers were recovered.1008:0098->resource_image_record_open_and_read_1008_0098: opens a resource image file, reads its 14-byte file header and fixed0x428-byte record payload, and stores the open file handle in the record. Used by HelpGump and Credits loading.1008:0167->resource_image_read_rows_into_vport_1008_0167: seeks to the image data offset and reads the declared row count into successive VPort scanlines using the row-byte count in the record. Used by HelpGump and Credits.1008:01eb->resource_palette_rgb_to_vga6_1008_01eb: converts 256 four-byte palette records into 768 VGA RGB components by shifting each channel right two bits, then HelpGump applies the result throughPalette_SetVideoCardPalette.1008:028c->resource_palette_triplet_alloc_callback_1008_028c: allocation callback that preserves a non-null pointer or allocates a three-byte RGB triplet; passed by the palette conversion helper for its 256 output entries.
All five names were applied and verified. The live FUN_1008_ search returned no remaining auto-named functions.
Batch 26: Tile area search and item overlap (1010)
1010:0032->AreaSearch_FindItemAtWorldPosition_1010_0032: converts world X/Y to tile coordinates and Z to the corresponding vertical unit, then searches the single containing tile.1010:0061->AreaSearch_FindItemAtTilePosition_1010_0061: searches the single tile at the supplied tile coordinates and Z.1010:007d->AreaSearch_FindItemInTileRect_1010_007d: converts an inclusive tile rectangle and Z range to world-coordinate bounds before callingAreaSearch_FindItemContainedInRange.1010:02de->Item_CheckSolidDamageOverlap_1010_02de: gathers nearby items in the source item's bounds, filters by XY/Z overlap, combines solid/damaging masks fromShapeData_GetDamagingAndSolidFlags, and tests for a relevant overlap.
All four names were applied and verified. The live FUN_1010_ search returned no remaining auto-named functions.
Batch 27: Xformpal lifecycle and animation render state (1028, 1030)
1028:0216->Gamepal_CloseXformpalAndMaybeFree_1028_0216: releases the Xformpal resource state when present and optionally frees the outer record when flag bit 0 is set.1028:02dc->Gamepal_ReleaseXformpalResources_1028_02dc: frees the owned transformed-palette buffer, clears stored pointers, and invokes the palette reader object's cleanup slot before clearing that reference.1028:040a->Gamepal_InvokeResourceReaderVfunc10_1028_040a: calls virtual slot+0x10on the resource-reader object stored in the record; no direct callers were recovered, so the slot's higher-level purpose remains open.1030:02a5->AnimProcess_BeginRenderStateUpdate_1030_02a5: sets the animation-process byte flag at+0x54before the camera render pass.1030:02b2->AnimProcess_CommitRenderStateAndClearFlag_1030_02b2: copies the current animation-list pointer from+0x40to the published list at+0x44, then clears the+0x54flag. The published list is consumed byDList_AnimateShapes.
All five names were applied and verified. The live FUN_1028_ and FUN_1030_ searches returned no remaining auto-named functions.
Batch 28: Gravity, runtime startup, and item trajectory (1038, 1040, 1048)
1038:1131->GravityProcess_CheckDownwardSweep_1038_1131: probes the item's current XY at an adjusted Z when gravity is downward or canceled; returns true when the sweep fails and gravity should stop early. Called byGravityProcess_Run.1040:0079->Runtime_InitializeCommandLineAndRunLoop_1040_0079: initializes command-line state, then enters the extender timer/event loop with the startup callback.1040:00a6->Item_BuildHurlTrajectoryParams_1040_00a6: computes horizontal step velocities and vertical acceleration for a hurl trajectory; called byItemIntrinsic08AbeforeItem_HurlWithParams.1040:039e->Filespec_CopyCandidateIfExists_1040_039e: resolves a candidate filename under the supplied path and copies the candidate back only when the resolved file exists. No direct callers were recovered.1048:01dc->Runtime_InitializeAndHandleCommandLine_1048_01dc: initializes the runtime command-line object, displays its startup banner, processes command-line arguments, then invokes the object's final virtual method.1048:025b->Runtime_DrawStartupBanner_1048_025b: configures text video and prints the startup title, violence-mode variant, and copyright banner.
All six names were applied and verified. The live FUN_1038_, FUN_1040_, and FUN_1048_ searches returned no remaining auto-named functions.
Batch 29: Item-cache allocation, compaction, and validation (1060)
1060:02a1->ItemCache_ClearTypeCallbacks_1060_02a1: clears the four-byte callback-table slot selected by a cache type ID; called by the type-registration object's destructor.1060:0474->ItemCache_AllocateBlock_1060_0474: allocates a typed cache block, splitting/relinking a free block as needed and updating block and byte accounting.1060:0705->ItemCache_ReleaseBlock_1060_0705: invokes the type release callback, clears the handle-table entry, and returns the block to the cache free list.1060:091a->ItemCache_ReleaseDataPointer_1060_091a: converts a data pointer back to its cache-block header and releases the block.1060:0943->ItemCache_MakeRoom_1060_0943: reclaims cache space by releasing blocks and coalescing free areas until the requested allocation can fit.1060:0ecf->ItemCache_CoalesceFreeBlock_1060_0ecf: merges a neighboring free-block header into the current block and updates list links and cache totals.1060:0fc0->ItemCache_MoveBlockBackward_1060_0fc0: relocates a block's contents toward a lower cache address, updates its handle entry, and notifies its type callback.1060:10ba->ItemCache_RelocateBlock_1060_10ba: moves a block into the adjacent available region, repairs links and accounting, and notifies the type callback of the new data address.1060:1244->ItemCache_ReleaseFirstBlockOfType_1060_1244: scans the cache list and releases the first block matching the requested type.1060:12ea->ItemCache_ValidateInvariants_1060_12ea: checks cache list structure, handle references, block types, and aggregate size/count accounting.1060:18d2->ItemCache_GetUsagePercent_1060_18d2: returns used cache bytes as a percentage of total capacity.1060:1c70->ItemCache_LoadIndexFromStream_1060_1c70: reads cache metadata and handle entries from a buffered stream, relocates embedded offsets, and closes the stream.1060:1f43->ItemCache_ResetIndexPointers_1060_1f43: clears the cache base and three list-root pointers.
All thirteen names were applied and verified. The live FUN_1060_ search returned no remaining auto-named functions.
Batch 30: Cached resource access and typed-block lifecycle (1068)
1068:026a->ItemCache_GetSubentryDataPointer_1068_026a: resolves a cached resource, indexes its eight-byte subentry table, and returns the far pointer for that entry's data. Font/glyph and menu-sprite callers confirm it is not limited to one resource type.1068:02e2->ItemCache_DestroyTypeCallbacks_1068_02e2: invalidates the callback object's type tag, clears its per-type cache callback slot, and optionally frees the object.1068:0452->ItemCache_AllocateType7Block_1068_0452: allocates a cache block with type 7 and inserts its header after the cache-list head.
All three names were applied and verified. The live FUN_1068_ search returned no remaining auto-named functions.
Batch 31: Shape-frame cache operations (1070)
1070:0187->CacheShapeHand_GetShapeDimensions_1070_0187: ensures the shape header is cached, then returns its width, height, and frame count to the caller.1070:046c->CacheShapeHand_EnsureFrameLoaded_1070_046c: creates the shape-cache record as needed and loads the requested frame when its cache entry is absent.1070:0706->CacheShapeHand_GetFrameMetadataWord_1070_0706: ensures the requested frame is loaded and returns the 16-bit field at offset+4in its eight-byte frame record; no direct callers were recovered.1070:0787->CacheShapeHand_CheckFrameCacheConsistency_1070_0787: compares loaded frame entries against their shape ID and frame index, returning the first mismatch status or success; no direct callers were recovered.1070:0880->CacheShapeHand_ReleaseAllFrames_1070_0880: releases every cached frame belonging to a shape and then releases the shape-cache block.1070:0946->CacheShapeHand_ReleaseFrame_1070_0946: releases one loaded frame entry when its index and cache handle are valid.1070:0dad->CacheShapeHand_Destroy_1070_0dad: runs the shape-cache cleanup path, releases both attached resource objects, clears callback registration, and optionally frees the handler.1070:12d2->CacheShapeHand_ValidateShapeData_1070_12d2: in partial-install mode, checks type-flag/resource data across all0x800shapes, clears inconsistent entries, and closes the associated file.1070:14c0->CacheShapeHand_SetFrameCacheEntry_1070_14c0: writes a supplied frame-cache value into the indexed eight-byte entry of a loaded shape record.1070:1ae4->CacheShapeHand_FinalizeShapeCacheFiles_1070_1ae4: closes/unlinks the static shape-cache file, chooses the shape-data validation path when required, and removes the partial-install data file.
All ten names were applied and verified. The live FUN_1070_ search returned no remaining auto-named functions.
Batch 32: Item-cache header and list primitives (1078)
1078:037e->ItemCache_GetHeaderField09_1078_037e: returns the 32-bit header field at offset+9; its meaning is not yet established.1078:03a0->ItemCache_GetBlockSize_1078_03a0: returns the 32-bit block-size field at offset+4throughEAX.1078:03c2->ItemCache_GetBlockLink15_1078_03c2: returns the 32-bit link stored at offset+0x15throughEAX.1078:03e4->ItemCache_GetBlockLink19_1078_03e4: returns the 32-bit link stored at offset+0x19throughEAX.1078:0406->DList_GetNextLink_1078_0406: returns the list link at offset+0xdthroughEAX.1078:0428->DList_GetPreviousLink_1078_0428: returns the list link at offset+0x11throughEAX.1078:04c3->ItemCache_SetHeaderField09_1078_04c3: writes the 32-bit header field at offset+9; its meaning is not yet established.1078:04e5->DList_SetNextLink_1078_04e5: writes the list link at offset+0xd.1078:0507->DList_SetPreviousLink_1078_0507: writes the list link at offset+0x11.1078:0548->ItemCache_SetBlockDataSize_1078_0548: writes the one-byte header field at offset+8, paired with the existing getter.1078:0568->ItemCache_SetBlockIndex_1078_0568: writes the 16-bit block index at offset+2.1078:0588->ItemCache_MoveBlockContentsBackward_1078_0588: moves a complete block toward a lower address, updates its handle-table pointer, and relinks the block.1078:0617->ItemCache_ExpandBlockBackward_1078_0617: moves the0x1d-byte block header backward and increases its size by the displacement.
All thirteen names were applied and verified. The live FUN_1078_ search returned no remaining auto-named functions.
Batch 33: Container legality and item-record helpers (1088)
1088:0094->Item_CanContainItem_1088_0094: rejects NPC objects and invalid containment cycles, checks NPC equipment/weight constraints, and verifies available container volume; used by legal moves and nearby stacking.1088:0315->Item_ContainerHasVolumeForShape_1088_0315: computes required volume for the supplied shape/quantity and checks the target container's remaining capacity, including zero-volume contained-container cases.1088:0486->Item_IsInsideNPC_1088_0486: follows the item's containing chain to its outer owner and reports whether that owner is an NPC.1088:0784->Item_CompareItemRecordPrefix_1088_0784: compares two records' first two dwords and the low byte of the following word; no direct callers were recovered.
All four names were applied and verified. The live FUN_1088_ search returned no remaining auto-named functions.
Batch 34: Glob-data cache and egg hatch helpers (1098)
1098:0151->ItemGlob_GetDataSize_1098_0151: invokes the glob-cache object's size virtual method, whose hidden output value is returned inEAXand used to size the cached glob-data block.1098:0325->ItemGlob_InvalidateCacheSlot_1098_0325: sets the glob-number slot selected by the supplied cache index to0xffff; no direct callers were recovered.1098:0339->ItemGlob_HatchEggForItem_1098_0339: resolves an item's glob number and world coordinates, then calls the glob-egg hatch operation. Called byWorld_HatchGlobEggs.1098:077d->ItemGlob_ReleaseCachedGlob_1098_077d: finds the cache slot for a glob number, releases its item-cache block, and invalidates the slot; no direct callers were recovered.1098:07db->ItemGlob_GetFirstDataWord_1098_07db: retrieves a glob's cached data pointer and returns its first 16-bit word.
All five names were applied and verified. The live FUN_1098_ search returned no remaining auto-named functions.
Batch 35: World-item cleanup and fast-area transitions (10a0, 10a8)
10a0:3042->World_GetType2ObjectFieldAtPoint_10a0_3042: finds a world object at the supplied point, accepts object type 2, and returns its field at+0x18; otherwise clears the output and reports failure.10a8:0386->World_CleanupFastAreaTile_10a8_0386: settles live gravity processes in one tile bucket, then moves or destroys remaining fast-area items.10a8:04c9->World_DestroyNonNpcFastAreaItems_10a8_04c9: walks fast-area tile buckets, removes items from the fast area, destroys non-NPC contents/items, and pushes NPCs through the item cache.10a8:0abf->World_ReloadCurrentMapWithCachedItems_10a8_0abf: cleans current world items, restores cached item state, and rebuilds the fast area using the saved map and camera position.10a8:0b32->World_ReloadCurrentMapFromFixedDat_10a8_0b32: cleans current world items, reloads the active map from fixed data, and rebuilds the fast area.10a8:13dd->World_UpdateFastAreaForCameraAndMap_10a8_13dd: loads a changed map if needed, removes blocks leaving the camera fast area, hatches glob eggs in newly active blocks, and adds those blocks.10a8:1612->World_RefreshFastAreaForCurrentMap_10a8_1612: sets the map-change sentinel and rebuilds the fast area around the current camera position.10a8:19a2->World_UnlinkItemFromTileList_10a8_19a2: removes an item from its tile's linked list and decrements that tile's item count.10a8:27a6->World_CalculateAvailableItemSlots_10a8_27a6: computes remaining world item capacity after counting non-fast-only items, nested contents, and peak local glob-egg reservations.10a8:2969->Item_CountFreeFastSlots_10a8_2969: counts unused item IDs in the fast-item range2..255.
All ten names were applied and verified. The live FUN_10a0_ and FUN_10a8_ searches returned no remaining auto-named functions.
Batch 36: Damage FLEX.DAT cleanup (10b8)
10b8:00e8->DamageFlexDat_Destroy_10b8_00e8: closes the attached file object, frees the auxiliary allocation, clears the global damage FLEX.DAT handle, and optionally frees the owner.
The name was applied and verified. The live FUN_10b8_ search returned no remaining auto-named functions.
Batch 37: Item-finder iterator and predicates (10c0)
10c0:0077->ItemFind_AdvanceToFirstMatch_10c0_0077: seeds the iterator from its initial candidate and advances past entries rejected by the configured predicate.10c0:06aa->ItemFind_CreateAndPrimeSearch_10c0_06aa: allocates and initializes a 0x28-byte search context, copies predicate data, and primes the first result.10c0:0a08->ItemFind_SearchMapBlock_10c0_0a08: converts map-block coordinates to a world-coordinate rectangle and invokes the area-search initializer.10c0:0cca->ItemFind_AdvanceDepthFirst_10c0_0cca: advances through item contents and sibling links, applying the search predicate until a match is found.10c0:0def->ItemFind_StartFromItemContents_10c0_0def: seeds a search from the supplied item's contents, copies predicate state, and primes the first result.10c0:0e4c->ItemFind_StartFromContentsAtCoordinate_10c0_0e4c: seeds the contents search while also setting the iterator's starting coordinate field.10c0:0eb3->ItemFind_AdvanceToNextMatch_10c0_0eb3: walks through contained items and siblings to the next candidate accepted by the predicate.10c0:1338->ItemFind_MatchItemWithinBounds_10c0_1338: checks candidate shape extents and Z against the iterator bounds, setting the match mode on success.
All eight names were applied and verified. The live FUN_10c0_ search returned no remaining auto-named functions.
Batch 38: Fixed-size buffer helpers (10f0)
10f0:0000->Memory_Zero32Bytes_10f0_0000: clears sixteen 16-bit words, or 32 bytes, at the supplied far pointer.10f0:02a7->Memory_AllocateOrClear32Bytes_10f0_02a7: allocates a 32-byte buffer when passed null, otherwise reuses the supplied buffer, then clears all 32 bytes.
Both names were applied and verified. The live FUN_10f0_ search returned no remaining auto-named functions; the prior descriptive suffixes incorrectly said 16 bytes.
Batch 39: Random DTable byte selection (1118)
1118:0497->DTable_SelectRandomConfiguredByte_1118_0497: counts a contiguous prefix of up to three nonzero per-shape table bytes and selects one uniformly with the 15-bit RNG; returns zero when the first entry is absent. No direct callers were recovered.
The name was applied and verified.
Batch 40: Item hurl/range helpers and sentinel reset (1128)
1128:109a->Item_HurlAtTarget_1128_109a: derives signed horizontal and vertical deltas from two items' coordinates and calls the hurl routine with the requested magnitude; no direct callers were recovered.1128:1090->ItemDamage_NoOp_1128_1090: empty stub called byItem_GetDamagedwhen the item's damage path lacks the owner-row hit-event flag.1128:1b09->Item_GetVisibleRangeWithinThreshold_1128_1b09: adjusts the target height using its shape type flags, computes rounded 3D range, and returns the visible range only when it is within the threshold; no direct callers were recovered.1128:22b4->ResetStoredXYZToInvalidSentinels_1128_22b4: writes0xffff,0xffff, and0xffto three coordinate-like globals. The live data-use scan found no other reads or writes, so their higher-level role remains unknown.
All four names were applied and verified. The live FUN_1128_ search returned no remaining auto-named functions.
Batch 41: Weapon-fire and controller follow-up (1130)
1130:01a5->WeaponFire_SetRemainingBurstCount_1130_01a5: records the remaining weapon burst count and sets the controller-process firing flag; called byCrusader_TryToFireWeapon.1130:2d48->Crusader_GetControlledNPCZPlusOffset_1130_2d48: returns the controlled NPC's Z (including its containing-object resolution) plus the global Z offset; no direct callers were recovered.1130:2db6->Crusader_AlertVisibleNPCsAfterWeaponFire_1130_2db6: scans visible on-screen NPCs and starts guard/attack behaviors against the controlled NPC after weapon fire.1130:2fa6->ControllerProc_UpdateAndNotifyAutoFirer_1130_2fa6: updates the controller process, then invokes the attached auto-firer object's callback when present.
All four names were applied and verified. The live FUN_1130_ search returned no remaining auto-named functions.
Batch 42: Sprite process helpers (1138)
1138:0007->Sprite_ApplyExplosionShapeOffset_1138_0007: applies the configured world-position adjustment for the explosion-shape set before sprite-process creation.1138:066d->SpriteProcess_ReleaseResourcesAndCount_1138_066d: frees the process's two optional auxiliary word lists, then decrements the active sprite-process count.1138:1dc0->Sprite_IsShapeInSpecialSet_1138_1dc0: tests a shape number against the zero-terminated special-shape list.
All three names were applied and verified. The live FUN_1138_ search returned no remaining auto-named functions.
Batch 43: Bounds and packed-shape geometry (1140)
1140:0000->Bounds3D_Initialize_1140_0000: initializes a six-coordinate 3D bounds record; the item-direction caller supplies the extent values from item type data.1140:0031->Bounds3D_Intersects_1140_0031: tests overlap between two 3D bounds records on all three axes.1140:018e->Bounds3D_Translate_1140_018e: adds an X/Y/Z translation to both corners of a 3D bounds record.1140:01c8->ShapeFrame_HasPixelInRegion_1140_01c8: tests packed shape-frame pixel data against a queried region; callers use it for item-point and Gump hit tests.
All four names were applied and verified. The live FUN_1140_ search returned no remaining auto-named functions.
Batch 44: Fast-only item creation and Gump action (1148)
1148:0000->Item_CreateFastOnlyAtValidPosition_1148_0000: checks whether a position is valid, creates the requested shape/frame there, and marks the created itemFastOnly.1148:05e8->ControllerProc_SubmitGumpActionIfIdle_1148_05e8: when the controlled NPC is idle, submits a controller event from the Gump interaction path.
Both names were applied and verified. The live FUN_1148_ search returned no remaining auto-named functions.
Batch 45: Directional item bounds calculation (1150)
1150:2f4b->Item_CalculateDirectionalBounds_1150_2f4b: derives shape extents from item type data, initializes a temporary 3D bounds record from the supplied position, then translates it by item direction and elevation. No direct callers or references were recovered, and the temporary result has no observed consumer, so its higher-level purpose remains unresolved.
The name was applied and verified. The live FUN_1150_ search returned no remaining auto-named functions.
Batch 46: Fast-only item creation with optional container (1158)
1158:0000->Item_CreateFastOnlyWithOptionalContainer_1158_0000: creates the requested shape/frame, marks the itemFastOnly, optionally moves it into the supplied container, and returns its item number. No direct callers were recovered.
The name was applied and verified. The live FUN_1158_ search returned no remaining auto-named functions.
Batch 47: Animation stream sizing and buffer lifecycle (1160)
1160:00aa->AStream_CalculateAllocationSize_1160_00aa: computes the stream buffer allocation size in bytes from its format flag and unit-count byte; animation loaders use the result for file reads and allocation.1160:00e2->AStream_InitializeWithUnitCount_1160_00e2: sets the stream's size-driving unit-count byte, then initializes its backing buffer.1160:01d2->AStream_FreeBuffer_1160_01d2: frees the stream's allocated buffer and clears both pointer words.
All three names were applied and verified. The live FUN_1160_ search returned no remaining auto-named functions.
Batch 48: Animation archive index and block operations (1168)
1168:0091->AnimFile_InitializeIndexFile_1168_0091: creates and names an animation file, initializes its 2,048-entry index to zero, then closes it.1168:0103->AnimFile_ReadFrameStreamData_1168_0103: reads an animation index entry, initializes the selected stream, and reads its frame payload when present.1168:0348->AnimFile_RebuildOptimizedArchive_1168_0348: rebuilds theanim_optcompanion by scanning animation entries and copying/rewriting indexed blocks.1168:066a->AnimFile_CopyIndexedBlockIfPresent_1168_066a: copies a present 0x400-byte indexed block between file positions.1168:06bf->AnimFile_CreateZeroedIndexedBlock_1168_06bf: writes a zero index entry and a zero-filled 0x400-byte block at the current file position.1168:0732->AnimFile_ClearIndexEntry_1168_0732: clears the four-byte index entry for the requested block.
All six names were applied and verified. The live FUN_1168_ search returned no remaining auto-named functions.
Batch 49: Animation-file global initialization (1170)
1170:099a->AnimFile_InitializeGlobalHandle_1170_099a: ensures the global animation-file object has its 8-byte file handle initialized. No direct callers or references were recovered.
The name was applied and verified. The live FUN_1170_ search returned no remaining auto-named functions.
Batch 50: Camera, map-view, and render helpers (1180)
1180:049e->MapView_PickWorldItemAtScreenPoint_1180_049e: resolves a screen point to world coordinates and an optional hit item; callers use the result for moving/validating items.1180:06dd->Camera_RebuildVisibleItemDrawList_1180_06dd: scans map blocks in the camera range, filters item visibility/bounds, and rebuilds item draw nodes.1180:0c29->Camera_RefreshVisibleMapBlockRects_1180_0c29: copies visible map-block rectangle records into the destination grid and stores its origin.1180:152b->Camera_DrawAnchorMarker_1180_152b: converts the configured world anchor to screen coordinates and draws its four-edge marker.1180:1cb1->Camera_ResetMapOverlayState_1180_1cb1: clears overlay-related state and refreshes the map range; its exact caller-specific purpose remains unresolved.1180:1ce5->MapView_DrawIsometricWorldRangeOutline_1180_1ce5: converts a world position and XYZ extents to screen coordinates, then draws the four-edge isometric outline.1180:1df9->Item_ClearRenderTrackingFlags_1180_1df9: forwards to the item helper that clears status and two item-membership bit flags.
All seven names were applied by address and verified. The live FUN_1180_ search returned no remaining auto-named functions.
Batch 51: Viewport rectangle cache (1188)
1188:0414->ViewportCache_ExpireTimedEntries_1188_0414: decrements the eight cache-entry timers; when one expires, invalidates its stored viewport rectangle and frees its backing allocation.1188:094a->ViewportCache_InitializeEntryTable_1188_094a: initializes the global table as eight entries of 0x19 bytes, using1188:0968as the identity callback.1188:0968->IdentityPointerCallback_1188_0968: returns its input pointer unchanged for the table initializer's callback contract.
All three names were applied by address and verified. The live FUN_1188_ search returned no remaining auto-named functions.
Batch 52: Display-list manager (1190)
1190:01b4->DList_FreeNodeAllocator_1190_01b4: frees the global node allocator and clears its metadata.1190:02a8->DList_ProcessPendingAndVisibleQueues_1190_02a8: promotes eligible pending nodes into the visible queue and dispatches or defers their callbacks.1190:03fa->DList_QueueChildNodesForProcessing_1190_03fa: queues child nodes not already pending or active.1190:045a->DList_UpdateViewportClipRectangle_1190_045a: clips the requested rectangle to the viewport and processes queued nodes.1190:053d->DList_AddOrderedNodeRelation_1190_053d: allocates a relation record connecting two nodes in their ordering lists.1190:059f->DList_QueueNodeForProcessing_1190_059f: marks and appends one node to the pending queue.1190:05ca->DList_RemoveNodeRelationsAndQueue_1190_05ca: removes a node's relation records and pending-queue membership, queuing affected neighbors as needed.1190:069c->DList_InsertNodeIntoSpatialBins_1190_069c: inserts a node across its covered map bins while checking ordered overlaps.1190:08a0->DList_TryLinkNodePairByOrder_1190_08a0: compares node priority/depth and creates the corresponding ordering relation.1190:0936->DList_RebuildNodeSpatialLinks_1190_0936: checks intersecting nodes across covered bins and rebuilds ordering links.1190:0bbe->DList_TryLinkNodePairByOrder_1190_0bbe: second ordering helper with the same comparison/link behavior as1190:08a0; address retained because callers differ.1190:0de4->DList_FreeGlobalStorage_1190_0de4: frees the node allocator, relation pool, and both item bitsets.1190:0e2a->DList_RemoveNodeAndReturnToPool_1190_0e2a: removes a node and returns it to the global node pool.1190:0e48->DList_UnlinkAndRecycleRelation_1190_0e48: unlinks one ordering relation and recycles its record.1190:0e71->DList_FindNodeAtWorldPoint_1190_0e71: tests nodes in the containing map bin and returns the hit node.1190:0fe2->DList_QueueNodesIntersectingRect_1190_0fe2: queues nodes intersecting a rectangle and sets their item-number bits in a tracking mask.1190:1153->DList_UpdateAnimatedItemVisibilityMask_1190_1153: transfers changed, visible animated items from one item bitset to another.1190:1398->DList_CollectVisibleAnimatedItems_1190_1398: collects visible animated item numbers whose shape frame needs updating.1190:1919->DList_ClearSpatialBinsAndMasks_1190_1919: removes nodes from all 5-by-6 bins and clears both item bitsets.1190:19b4->LinkedList_LinkNodeBetweenNeighbors_1190_19b4: links an intrusive-list node between its supplied neighbors.1190:19ec->LinkedList_UnlinkAdjacentNodes_1190_19ec: reconnects an intrusive-list node's neighbors.1190:1a25->DList_CheckPendingNodeDependencies_1190_1a25: checks whether child nodes are still pending before allowing queue processing.1190:1a80->DListRelationPool_PopFreeNode_1190_1a80: pops a relation record from the free-node pool.1190:1ab8->DListRelationPool_PushFreeNode_1190_1ab8: returns a relation record to the free-node pool.1190:1b5a->DListRelationPool_Free_1190_1b5a: frees the global relation-record pool and clears its metadata.1190:1b7f->DList_AllocateOverlapRelation_1190_1b7f: obtains a relation record and links it into the two node relation lists.1190:1c14->DList_UnlinkOverlapRelation_1190_1c14: unlinks a relation record from both nodes' relation lists.
All 27 names were applied by address and verified. The live FUN_1190_ search returned no remaining auto-named functions.
Batch 53: Display-list ordering, lookup, and redraw (1198)
1198:0000->DList_CompareOverlappingNodeOrder_1198_0000: compares two overlapping nodes using item position, shape bounds, and depth ordering.1198:0dcb->DList_ClearItemTrackingFlags_1198_0dcb: clears the item's display-list status and membership bits in two global bitsets.1198:0e4b->DList_FindItemNodeInSpatialBins_1198_0e4b: searches the requested map-bin rectangle for a node matching an item number.1198:0efc->DList_FindItemRenderNode_1198_0efc: derives an item's shape bounds and looks up its display-list node in the covered bins.1198:13d5->DList_ProcessCurrentItem_1198_13d5: processes the global current item, building/updating its node and contributing its bounds to display-list state.1198:1890->DList_RefreshQueueForCurrentBounds_1198_1890: applies accumulated bounds, refreshes the viewport, and processes pending display-list nodes.1198:192e->DList_AccumulateClippedRedrawBounds_1198_192e: clips a rectangle and unions it into the tracked redraw and overlay bounds.1198:19e5->DList_FlushAccumulatedSpriteRedraw_1198_19e5: dispatches the accumulated sprite redraw bounds and clears the dirty flag.1198:1a39->DList_HitTestNodeAtScreenPoint_1198_1a39: checks a node's bounds and optionally its cached shape pixels at the supplied point.1198:1d28->DList_GetIgnoreShapeHitTestFlag_1198_1d28: returns the global flag used to ignore configured shapes during hit testing.
All ten names were applied by address and verified. The live FUN_1198_ search returned no remaining auto-named functions.
Batch 54: Viewport overlays and savegame callback registry (11a0)
11a0:0d16->Camera_DrawRegisteredViewportOverlays_11a0_0d16: walks the registered callback chain and draws each rectangle through the viewport overlay routine.11a0:0eef->Savegame_FinalizeAndInvokeCallbacks_11a0_0eef: called bySavegame_QuickSave; invokes the file object's finalization callbacks around seek and file-state operations.11a0:1009->SavegameCallbackRegistry_InitializeGlobals_11a0_1009: initializes global callback-chain heads and the default process load/save function table.11a0:1047->SavegameCallbackRegistry_DestroyGlobals_11a0_1047: destroys the global process dispatch entry and callback chain, then resets the chain head.11a0:106c->CallbackChain_DestroyAndMaybeFree_11a0_106c: destroys a callback chain and frees its owner when flag bit 0 is set.11a0:10a3->CallbackChain_DestroyAndMaybeFree_11a0_10a3: second chain-destroy/free helper with the same decompiled behavior.
All six names were applied by address and verified. The live FUN_11a0_ search returned no remaining auto-named functions.
Batch 55: Avatar-details overlay viewports (11b0)
11b0:0000->AvatarDetails_DisableOverlayThunk_11b0_0000: short wrapper that invokes the overlay-disable routine.11b0:0006->AvatarDetails_EnableOverlayThunk_11b0_0006: short wrapper that invokes the overlay-enable routine.11b0:000c->AvatarDetails_InitializePanelViewports_11b0_000c: initializes the 20-entry, 13-byte panel-state table and creates a viewport for each panel rectangle.11b0:0192->AvatarDetails_RefreshOverlappingPanelRegions_11b0_0192: checks linked-list item bounds against panel rectangles, marks affected entries, and refreshes the corresponding display regions.11b0:08aa->AvatarDetails_RedrawChangedPanelRegions_11b0_08aa: draws each panel region marked changed and clears its change flag.11b0:091b->AvatarDetails_SetOverlayEnabled_11b0_091b: selects the enable or disable path based on its argument; gameplay input-transition callers use both paths.11b0:0932->AvatarDetails_EnableOverlay_11b0_0932: enables panel updates, notifies the NPC UI fields, narrows the mouse cursor range, and refreshes the gump.11b0:098f->AvatarDetails_DisableOverlay_11b0_098f: disables panel updates, restores the cursor range, and refreshes the gump.
All nine names were applied by address and verified. The live FUN_11b0_ search returned no remaining auto-named functions. 11b0:09d9 initializes the panel-tracking table through the same generic flagged table initializer used by ViewportCache_InitializeEntryTable_1188_094a, with a 13-byte record size, count 5, flags 5, and an identity callback.
Batch 56: Key-daemon process state (11b8)
11b8:025c->KeyDaemon_ClearCurrentProcess_11b8_025c: clears the globalg_keyDaemonProcessfar pointer.11b8:026d->KeyDaemon_LoadAndSetCurrentProcess_11b8_026d: invokes the process load/save dispatch callbacks, then stores the process pointer ing_keyDaemonProcess.
Both names were applied by address and verified. The live FUN_11b8_ search returned no remaining auto-named functions.
Batch 57: System timer and AccWait timer methods (11c0)
11c0:0141->SystemTimer_WaitForTickDelta_11c0_0141: busy-waits until the system-timer process counter advances by the requested 32-bit tick delta;ComputerGump_NextCharacteruses a one-tick delay before returning after text feedback.11c0:05aa->AccWaitProcess_UnregisterTimerEvents_11c0_05aa: clears the process's timer-active byte and unregisters it from timer events.11c0:05c3->AccWaitProcess_RegisterTimerEvents_11c0_05c3: sets the active byte, resets the process timer counters, and registers it for timer events.11c0:05ea->AccWaitProcess_HandleTimerEvent_11c0_05ea: dispatches the(2, 0)event to the AccWait counter update, rolling its subcounter into the adjacent count every ten events.
All four names were applied by address and verified. The live FUN_11c0_ search returned no remaining auto-named functions.
Batch 58: BIOS timer counter setter (11c8)
11c8:03a5->BiosTimer_SetCounters_11c8_03a5: writes the two 32-bit counter values at offsets+0x40and+0x44in a BIOS timer process; called by kernel initialization and savegame restoration.
The name was applied by address and verified. The live FUN_11c8_ search returned no remaining auto-named functions.
Batch 59: Kernel process scheduling and maintenance (11d0)
11d0:0255->Kernel_RunProcessSchedulerIteration_11d0_0255: scans the process table, runs eligible process callbacks, handles immediate timer and keyboard work, and performs scheduler housekeeping.11d0:04cd->Kernel_MaybeShrinkProcessTables_11d0_04cd: periodically checks spare process slots and shrinks the process pointer/name/size tables when occupancy allows.11d0:1a0b->Kernel_InvokeProcessSlot10ForMatchingFlags_11d0_1a0b: invokes process callback slot+0x10for every process or only those whose flags match the supplied mask.11d0:31cf->Kernel_RunTimedSchedulerLoop_11d0_31cf: repeatedly runs a scheduler iteration, invokes an optional callback, and waits for the configured system-timer delta; entered byRuntime_InitializeCommandLineAndRunLoop.
All four names were applied by address and verified. The live FUN_11d0_ search no longer returns these functions; remaining candidates begin at 11d0:2dbc.
Batch 60: Timer interrupt and vector management (11d0)
11d0:2dbc->Kernel_GetTimerInterruptHandlerOffset_11d0_2dbc: selects the active timer-handler offset according to the current real/protected-mode state.11d0:2fe0->Kernel_RestoreDosInt21Vector_11d0_2fe0: restores the saved protected-mode DOSINT 21hvector when its hook-installed flag is set.11d0:3045->Kernel_RestoreBiosTimerVector_11d0_3045: restores the saved BIOS timer vector for interrupt 8 when its replacement is active.11d0:307d->Kernel_EnableTimerInterruptHandling_11d0_307d: enables or defers timer interrupt/PIC handling as timer processes are registered.11d0:30bb->Kernel_DisableTimerInterruptHandling_11d0_30bb: disables the timer interrupt path and clears its pending state when timer handling is no longer needed.11d0:30e5->Kernel_RecomputeTimerDivisor_11d0_30e5: compares registered timer-process periods and reprograms the hardware divisor when the fastest requested period changes.
All six names were applied by address and verified. The live FUN_11d0_ search now begins at 11d0:3232.
Batch 61: Timer interrupt dispatch and BIOS keyboard state (11d0)
11d0:3232->Kernel_EndTimerProcessUpdate_11d0_3232: completes a timer-process update and applies the pending PIC-mask change when required.11d0:3248->Kernel_BeginTimerProcessUpdate_11d0_3248: records the pending timer-interrupt state and masks the timer interrupt while process timing state is modified.11d0:3264->Kernel_RunTimerCallbacksOnInterruptStack_11d0_3264: prepares an interrupt stack/context, dispatches timer callbacks, and returns the updated interrupt frame.11d0:3325->Kernel_DispatchTimerProcessTicks_11d0_3325: ticks registered timer processes and restores or updates the active timer-interrupt state.11d0:342c->NoOpCallback_11d0_342c: empty callback stub.11d0:3447->BiosKeyboard_SetStatusFlags_11d0_3447: writes the BIOS Data Area keyboard-status word at0040:0017.
All six names were applied by address and verified. The live FUN_11d0_ search now begins at 11d0:3a3c.
Batch 62: Keyboard vector and repeat settings (11d0)
11d0:3a3c->Kernel_RestoreKeyboardInterruptVector_11d0_3a3c: restores the saved interrupt-9 keyboard vector when the replacement handler is active; used by kernel teardown and state restoration.11d0:3d59->Keyboard_SetRepeatDelay_11d0_3d59: clamps the repeat-delay setting to two bits and reapplies the BIOS keyboard repeat configuration.11d0:3d6b->Keyboard_SetRepeatRate_11d0_3d6b: clamps the repeat-rate setting to five bits and reapplies the BIOS keyboard repeat configuration.
All three names were applied by address and verified. The live FUN_11d0_ search now begins at 11d0:3eb4.
Batch 63: Item-process flags and process accounting (11d0)
11d0:3eb4->Item_IsProcessPresent_11d0_3eb4: tests the per-item process-present bitset.11d0:3f22->Item_ClearProcessTypeFlag_11d0_3f22: clears one process-type bit for an item.11d0:3f59->Item_ReconcileProcessTypeFlag_11d0_3f59: refreshes the item's process-type state when its process exists, otherwise clears the stale bit.11d0:3f95->Item_HasProcessTypeFlag_11d0_3f95: tests whether a process-type bit is set for an item; used byNPC_IsBusyand item interaction code.11d0:3fd4->Kernel_ClearProcessTypeCounters_11d0_3fd4: clears the per-process-type counter array during process-table initialization.11d0:3fe8->Kernel_IncrementCurrentProcessTypeCounter_11d0_3fe8: increments the counter for the currently running process type.11d0:41e8->Kernel_InitializeEventProcessLists_11d0_41e8: resets the timer, keyboard, and mouse process-ID lists to the shared empty-list sentinel.11d0:4259->Kernel_DestroyEventProcessLists_11d0_4259: destroys the timer, keyboard, and mouse process-ID lists.
All eight names were applied by address and verified. The live FUN_11d0_ search returned no remaining auto-named functions.
Batch 64: Process expiry, Notlist relations, and timer periods (11e0)
11e0:0379->Process_UnlinkIfTimerExpired_11e0_0379: compares a process deadline against the system timer, dispatches its expiry callback when enabled, and unlinks the expired entry.11e0:046b->Process_CleanupLinearAndNotlistState_11e0_046b: transfers linear-process status to a replacement process when needed and cleans up Notlist relationships before process destruction.11e0:06e0->Process_HandleNotlistTermination_11e0_06e0: resolves Notlist child/dependency entries during process termination, propagating failure state and notifying eligible processes.11e0:0973->Notlist_ClearEntryFlag0800_11e0_0973: clears entry bit0x0800and removes the list word when no retention condition applies.11e0:0a43->Notlist_ClearEntryFlag1000_11e0_0a43: clears entry bit0x1000and conditionally removes the list word.11e0:0b13->Notlist_ClearEntryFlag2000_11e0_0b13: clears entry bit0x2000and conditionally removes the list word.11e0:0be3->Notlist_ClearEntryFlag4000_11e0_0be3: clears entry bit0x4000and conditionally removes the list word.11e0:118e->Process_InvokeSlot10ForMatchingFlags_11e0_118e: forwards process-selection parameters to the kernel's slot-+0x10callback dispatcher.11e0:11b1->Process_NotifyInterruptCapableProcess_11e0_11b1: invokes a process's slot-+0x10callback when its interrupt-capable flag is set.11e0:18c7->Process_SetTimerUpdatePeriod_11e0_18c7: writes a process's timer-period fields and asks the kernel to recompute the timer divisor.
All ten names were applied by address and verified. The live FUN_11e0_ search returned no remaining auto-named functions.
Batch 65: MList lookup and savegame serialization (11e8)
11e8:054f->MList_FindWordIndex_11e8_054f: scans a counted word list and returns the index of a matching value.11e8:07b3->MList_ReadFromFile_11e8_07b3: allocates list storage and reads its word contents from a file.11e8:081c->MList_WriteToFile_11e8_081c: writes the allocated word-list contents to a file; called during savegame finalization.
All three names were applied by address and verified. The live FUN_11e8_ search returned no remaining auto-named functions.
Batch 66: Standard interrupt-handler lifecycle and PIC EOI (11f0)
11f0:0205->StdIntHandlerProcess_OnTerminating_11f0_0205: releases the handler process's owned word list and clears the global singleton pointer during termination.11f0:024e->StdIntHandlerProcess_LoadState_11f0_024e: runs base process load hooks and the handler-specific load callback.11f0:0283->StdIntHandlerProcess_SaveState_11f0_0283: runs base process save hooks and the handler-specific save callback.11f0:032f->StdIntHandler_SetActiveProcess_11f0_032f: assigns the global standard interrupt-handler process pointer.11f0:04ce->Pic_SendEndOfInterrupt_11f0_04ce: sends EOI to the slave PIC when the IRQ exceeds 7 and always sends EOI to the master PIC.11f0:0506->Process_InvokeTerminatingCallback_11f0_0506: dispatches the process vtable callback invoked byProcess_SetTerminatingbefore generic termination.
All six names were applied by address and verified. The live FUN_11f0_ search returned no remaining auto-named functions.
Batch 67: DOSFix32 descriptor helpers (1200)
1200:0000->Descriptor_InitZeroed_1200_0000: allocates an 8-byte descriptor when passed null and zeroes the descriptor storage.1200:0038->Descriptor_Equals_1200_0038: compares two descriptor entries byte-for-byte across all 8 bytes.1200:007a->Descriptor_SetBase_1200_007a: writes the descriptor's base-address bytes while leaving its other fields intact.1200:00bd->Descriptor_SetLimit20_1200_00bd: writes the low 20 limit bits and preserves the upper flag nibble.1200:00e5->Descriptor_GetBaseLow_1200_00e5: reads the low base-offset word.1200:013f->Descriptor_GetLimit20_1200_013f: combines the low limit word with the high limit nibble.1200:017a->Descriptor_SetLimitAndUpperWord_1200_017a: writes the low limit word and the full word at descriptor offset+6.1200:019a->Descriptor_GetLimitAndUpperWord_1200_019a: combines the low limit word with the full word at descriptor offset+6.1200:02e4->Descriptor_WriteBySelector_1200_02e4: selects the GDT/LDT table from the selector's TI bit and writes its descriptor entry.1200:032b->Descriptor_ReadBySelector_1200_032b: selects the GDT/LDT table from the selector's TI bit and reads its descriptor entry.
All ten names were applied by address and verified. The live FUN_1200_ search returned no remaining auto-named functions.
Batch 68: DOSFix32 static pointer initialization (1208)
1208:0000->DosFix32_InitStaticPointer16_1208_0000: stores the CS-relative far pointerCS:0016in the first global pointer pair.1208:000b->DosFix32_InitStaticPointer438_1208_000b: stores the CS-relative far pointerCS:0438in the second global pointer pair.
Both names were applied by address and verified. The live FUN_1208_ search returned no remaining auto-named functions.
Batch 69: DOSFix32 code-selector setup (1210)
1210:07d0->DosFix32_InitCodeSelectorAndLimits_1210_07d0: records the current CS selector and two fixed descriptor-limit values used by Spanker setup.
The name was applied by address and verified. The live FUN_1210_ search returned no remaining auto-named functions.
Batch 70: DOSFix32 vectors, teardown, and profile buffering (1218)
1218:0000->DosFix32_TeardownAndExit_1218_0000: runs the shared teardown path and then calls Phar Lap ordinal 7.1218:0021->DosFix32_Teardown_1218_0021: wrapper for the shared teardown path.1218:0530->DosFix32_RestoreDescriptorTables_1218_0530: restores saved descriptor entries, invokes the second selector routine, and releases mapped table storage; called byTeardownOnce.1218:059b->DosFix32_SetPassUpProtectedVector_1218_059b: installs a pass-up protected-mode vector viaDOSSETPASSTOPROTVECand preserves the descriptor state.1218:064a->DosFix32_SetRealModeProtectedVector_1218_064a: installs a real-mode/protected-mode vector viaDOSSETREALPROTVEC.1218:06fd->DosFix32_SetProtectedVector_1218_06fd: installs a protected-mode vector viaDOSSETPROTVEC.1218:07a6->DosFix32_InvokeSelectorRoutineA_1218_07a6: invokes the first dynamically assigned selector routine.1218:07af->DosFix32_InvokeSelectorRoutineB_1218_07af: invokes the second dynamically assigned selector routine.1218:08ab->Spanker_FlushProfileAddressQueue_1218_08ab: flushes queued four-byte entries into the profile-address buffer.1218:0953->Spanker_CollectProfileAddresses_1218_0953: drains pending addresses into the profile stream and triggers output at capacity.
All ten names were applied by address and verified. The live FUN_1218_ search returned no remaining auto-named functions.
Batch 71: Fastflex file and entry-table helpers (1220)
1220:0000->File_CloseAndFreeOwnedBuffer_1220_0000: closes the file object, releases its owned buffer, and optionally frees the object.1220:01bb->Fastflex_CopyEntryToTable_1220_01bb: copies one 8-byte entry into the in-memory indexed table.1220:01e2->Fastflex_WriteEntryToFile_1220_01e2: writes one indexed 8-byte entry at file offset0x80 + index * 8.1220:022f->Fastflex_ReadEntriesFromFile_1220_022f: reads the indexed 8-byte entries from file offset0x80into the table buffer.1220:0263->Fastflex_InitializeEntry_1220_0263: allocator callback that creates or clears an 8-byte entry.
All five names were applied by address and verified. The live FUN_1220_ search returned no remaining auto-named functions.
Batch 72: Configuration parser primitives (1230)
1230:019a->Config_ReadToken_1230_019a: skips leading whitespace and copies the next token up to whitespace or end-of-input.1230:0240->Config_ReadUntilDelimiter_1230_0240: copies input up to a requested delimiter or end-of-input.1230:02a7->Config_SkipThroughChar_1230_02a7: advances through a requested character when present.1230:0309->Config_SkipWhitespace_1230_0309: advances over spaces, tabs, and line endings.1230:0384->Config_SkipThroughNewline_1230_0384: advances through the next line feed.1230:044c->Config_ReadByte_1230_044c: reads one byte when available, otherwise returns zero.1230:048e->Config_ReadWord_1230_048e: reads one word when available, otherwise returns zero.1230:04c8->Config_ReadDword_1230_04c8: reads one dword when available, otherwise returns zero.1230:0509->Config_ReadQuotedString_1230_0509: copies a quoted string after leading whitespace when an opening quote is present.
All nine names were applied by address and verified. The live FUN_1230_ search returned no remaining auto-named functions.
Batch 73: Filespec lifecycle and wildcard operations (1238)
1238:056a->Filespec_Init_1238_056a: initializes the 0x94-byte Filespec object and its search-state fields.1238:05c2->Filespec_InitFromParts_1238_05c2: initializes a Filespec object from path/name components and optional file data.1238:06eb->Filespec_Destroy_1238_06eb: closes and releases the owned file object, and optionally frees the Filespec.1238:0756->Filespec_DeleteAllMatches_1238_0756: enumerates matching paths and unlinks each one.1238:07cd->Filespec_Exists_1238_07cd: builds the full path and returns the file-existence result.1238:080d->Filespec_FindNext_1238_080d: advances wildcard enumeration and updates the current match.1238:097a->Filespec_SplitFoundFilename_1238_097a: separates the found filename into its name and extension fields.1238:09f0->Filespec_CompareFindData_1238_09f0: compares DOS find-data records produced for two Filespec objects.1238:0baa->Filespec_FindFirst_1238_0baa: builds the search pattern and starts wildcard enumeration.1238:0c02->Filespec_Reset_1238_0c02: clears the path/name component buffers and resets the search-state flag.1238:0c68->Filespec_CopyNameComponents_1238_0c68: copies stored name and extension components into the search fields.
All eleven names were applied by address and verified. The live FUN_1238_ search returned no remaining auto-named functions.
Batch 74: Flex headers, entries, and stream helpers (1240)
1240:0227->Flex_WriteEntryAtIndex_1240_0227: writes an 8-byte entry at0x80 + index * 8.1240:044a->Flex_WriteAtOffset_1240_044a: positions the Flex writer at the requested offset and forwards the write through its handler.1240:049e->Flex_FlushAndRewind_1240_049e: invokes the handler flush hook and seeks the file to offset zero.1240:0529->Flex_ReadHeader50_1240_0529: reads 0x50 bytes from the start of the file.1240:0548->Flex_WriteHeader128_1240_0548: writes the 0x80-byte header and updates the in-memory entry count.1240:0578->Flex_ReadHeader128_1240_0578: reads the 0x80-byte header and updates the in-memory entry count.1240:05cb->Flex_WriteRange_1240_05cb: writes a buffer at a selected file range, fills any required gap, and flushes.1240:0691->Flex_CopyRangeBetweenFiles_1240_0691: copies a range between file objects and flushes the destination.1240:0756->Flex_ComputePayloadByteSum_1240_0756: sums payload bytes after the 0x80-byte header.1240:08df->Flex_FindEntryForOffset_1240_08df: scans indexed entry ranges for the requested file offset.1240:0952->Flex_InitIndexHeader_1240_0952: allocates or initializes the 0x80-byte index header and its default fields.
All eleven names were applied by address and verified. The live FUN_1240_ search returned no remaining auto-named functions.
Batch 75: DOS and file-range helpers (1248)
1248:00c2->DosCloseAllOpenFilesAndFree_1248_00c2: closes all tracked DOS handles once and optionally frees the tracking object.1248:01e9->File_CloseAndFree_1248_01e9: closes a file object and optionally frees it.1248:0218->File_WriteRangeAndExtend_1248_0218: writes a buffer at the requested file range, extending the backing file when necessary, then flushes.
All three names were applied by address and verified. The live FUN_1248_ search returned no remaining auto-named functions.
Batch 76: Cache manifest entry-table helpers (1250)
1250:067b->CacheBackendObject_ClearEntryTable_1250_067b: frees each entry string and both entry/ID tables.1250:0ac9->CacheBackendObject_GetEntryNameById_1250_0ac9: resolves an entry ID through the ID table and returns its stored name.1250:0b22->CacheBackendObject_GetEntryMetadataWordById_1250_0b22: resolves an entry ID and returns the first metadata word from its record.1250:0ce5->CacheBackendObject_FindEntryIdByName_1250_0ce5: compares stored entry names and returns the corresponding ID, or0xffffwhen absent.1250:0d45->CacheBackendObject_SortEntriesByName_1250_0d45: sorts entry records lexicographically by name while keeping IDs aligned.
All five names were applied by address and verified. The live FUN_1250_ search returned no remaining auto-named functions.
Batch 77: VGA palette readback and nearest-color helpers (1258)
1258:00c7->Palette_ReadVideoCardPalette_1258_00c7: reads RGB triplets from the VGA DAC into the palette buffer; counterpart toPalette_SetVideoCardPalette.1258:01eb->Palette_FindNearestColorL1_1258_01eb: finds the palette entry with the smallest sum of absolute RGB-channel differences.1258:02b9->Palette_FindNearestColorL2_1258_02b9: finds the palette entry with the smallest squared Euclidean RGB distance.1258:04c2->Palette_BuildStandardColorIndexTable_1258_04c2: precomputes palette indices for the standard color-cube sample points.
All four names were applied by address and verified. The live FUN_1258_ search returned no remaining auto-named functions.
Batch 78: Rectangle intersection and VESA mode accessors (1268)
1268:01b9->Rect_Intersects_1268_01b9: tests whether two rectangles intersect, treating shared edges as an intersection.1268:0262->Rect_IntersectInPlace_1268_0262: replaces the first rectangle with its intersection with the second.1268:0446->VesaModeInfo_Allocate_1268_0446: allocates a 0x206-byte VESA mode-info object and clears its mode field.1268:0476->VesaModeInfo_CreateForMode_1268_0476: allocates or reuses the object and queries VESA information for the requested mode.1268:057c->VesaModeInfo_GetBytesPerScanLine_1268_057c: returns the mode's bytes-per-scanline field or0xffffwhen invalid.1268:059b->VesaModeInfo_GetYResolution_1268_059b: returns the mode's vertical resolution or0xffffwhen invalid.1268:05ba->VesaModeInfo_GetWindowGranularity_1268_05ba: returns the mode's window granularity or zero when invalid.
All seven names were applied by address and verified. The live FUN_1268_ search returned no remaining auto-named functions.
Batch 79: VPort pixel and drawing primitives (1270)
1270:002b->VPort_SetPixel_1270_002b: writes a pixel when its coordinates fall within the VPort bounds.1270:00bc->VPort_GetPixel_1270_00bc: reads a pixel when its coordinates fall within the VPort bounds.1270:014d->VPort_CopyFullScreenPage_1270_014d: copies a 64,000-byte screen page between segments.1270:0171->VPort_FillRect_1270_0171: fills the intersection of a rectangle and VPort bounds with one color.1270:028e->VPort_DrawVerticalLine_1270_028e: draws a clipped vertical line in one color.1270:0357->VPort_DrawHorizontalLine_1270_0357: draws a clipped horizontal line in one color.
All six names were applied by address and verified. The live FUN_1270_ search returned no remaining auto-named functions.
Batch 80: VPort lifecycle and drawing helpers (1278)
1278:017b->VPort_ReleaseBackingResources_1278_017b: releases owned pixel storage and row-offset data according to the VPort flags.1278:020a->VPort_Destroy_1278_020a: releases VPort resources and optionally frees the VPort object.1278:0238->VPort_CopyDescriptor_1278_0238: replaces a VPort descriptor from a 24-byte source descriptor and marks the copied resource state.1278:02f6->VPort_DrawLine_1278_02f6: draws a clipped line using horizontal/vertical fast paths or a Bresenham-style pixel walk.1278:083a->VPort_BlitRect_1278_083a: blits a rectangle between VPorts, selecting a full-page/display path for matching bounds and flags.1278:0aa4->VPort_BlitTransparentRect_1278_0aa4: copies a rectangle while treating source color0xffas transparent.1278:0b81->BuildLineOutlineQuad_1278_0b81: computes four outline vertices around a line segment when the geometry is supported.1278:0d71->VPort_DrawLineOutline_1278_0d71: draws the four edges of the computed line-outline quadrilateral.1278:0f14->InvokeGlobalCallback_1278_0f14: invokes the function pointer stored atDAT_1478_4078; the callback's purpose is not established.
All nine names were applied by address and verified. The live FUN_1278_ search returned no remaining auto-named functions.
Batch 81: Description buffer and runtime callback thunks (1280)
1280:0000->DescriptionBuffer_GetAllocationSize_1280_0000: returns the fixed allocation size used by the description-buffer constructor.1280:0061->SpriteBlitter_DrawNormal_1280_0061: dispatches to the active normal, non-flipped sprite blitter.1280:0065->SpriteBlitter_DrawFlipped_1280_0065: dispatches to the active flipped sprite blitter.1280:0069->SpriteBlitter_DrawInvisible_1280_0069: dispatches to the active invisible-item blitter.1280:006d->InvokeCallbackSlot_4058_1280_006d: invokes the callback stored atDAT_1478_4058.1280:0071->InvokeCallbackSlot_405c_1280_0071: invokes the callback stored atDAT_1478_405c.1280:0075->InvokeCallbackSlot_4060_1280_0075: invokes the callback stored atDAT_1478_4060.1280:0079->InvokeCallbackSlot_4064_1280_0079: invokes the callback stored atDAT_1478_4064.1280:0080->InvokeCallbackSlot_4068_1280_0080: invokes the callback stored atDAT_1478_4068.1280:0084->InvokeCallbackSlot_406c_1280_0084: invokes the callback stored atDAT_1478_406c.1280:008b->InvokeCallbackSlot_4070_1280_008b: invokes the callback stored atDAT_1478_4070.1280:0092->InvokeCallbackSlot_4074_1280_0092: invokes the callback stored atDAT_1478_4074.1280:0099->InvokeGlobalCallback_1280_0099: invokes the callback stored atDAT_1478_4078.1280:009d->InvokeCallbackSlot_407c_1280_009d: invokes the callback stored atDAT_1478_407c.1280:00a1->InvokeCallbackSlot_4080_1280_00a1: invokes the callback stored atDAT_1478_4080.1280:00a5->InvokeCallbackSlot_4084_1280_00a5: invokes the callback stored atDAT_1478_4084.1280:00a9->InitializeRuntimeFunctionTables_1280_00a9: initializes the runtime callback slots from the supplied allocation and source tables.1280:0291->DescriptionBuffer_Construct_1280_0291: allocates and initializes the description buffer and its descriptor metadata.
All eighteen names were applied by address and verified. The live FUN_1280_ search returned no remaining auto-named functions.
Batch 82: DOS linear-memory manager (1288)
1288:00b9->FarStruct_GetWordAtOffset6_1288_00b9: reads a 16-bit field at byte offset 6 from a far structure.1288:00df->FarStruct_SetWordAtOffset6_1288_00df: writes a 16-bit field at byte offset 6 in a far structure.1288:00fd->DOSSelector_ResolveLinearAddress_1288_00fd: resolves the selector descriptor base and adds the stored offset to produce a linear address.1288:0136->DOSLinearMem_AllocateBlock_1288_0136: finds a suitable DOS linear-memory free block, splits it when possible, and records the allocation type.1288:0761->DOSLinearMem_CompactBlocks_1288_0761: compacts allocated blocks and coalesces free space during an allocator finalize pass.1288:0d87->DOSLinearMem_GetFreeSpaceStats_1288_0d87: returns total free bytes and the largest free block for one arena.1288:0e37->DOSLinearMem_ValidateAllBlockChains_1288_0e37: checks free/allocated list counts, links, and arena coverage for each DOS linear-memory arena.1288:18e4->DOSLinearMem_GetGlobalFreeSpaceStats_1288_18e4: aggregates total and largest free space across arenas and returns the additional global status word.1288:1a70->MemoryManager_Uninitialize_1288_1a70: tears down the presentation callback broker and DOS linear-memory manager before returning to DOS.
All nine names were applied by address and verified. The live FUN_1288_ search returned no remaining auto-named functions.
Batch 83: Selector and descriptor helpers (1290)
1290:0000->Selector_GetDescriptorPointer_1290_0000: maps a selector to its descriptor slot in one of two descriptor-table segments.1290:0033->Selector_GetDescriptorPointerFromWord_1290_0033: word-argument variant of the descriptor-slot lookup.1290:005f->Selector_GetDescriptorBase_1290_005f: returns the base address stored in a selector's descriptor.1290:007d->Selector_GetDescriptorBasePointer_1290_007d: returns the descriptor base as a pointer.1290:0096->Selector_SetDescriptorBaseFromFarPointer_1290_0096: sets a selector descriptor's base from a far-pointer argument.1290:00df->Selector_SetDescriptorBase_1290_00df: sets a selector descriptor's base address.1290:0163->Selector_GetNextDescriptorScratch_1290_0163: returns the next rotating scratch descriptor slot and initializes its selector/base fields.1290:019c->GDT_GetLimit_1290_019c: executesSGDTand returns the GDT limit word.1290:01b7->Selector_AddDescriptorBaseOffset_1290_01b7: adds an offset to the current descriptor base and stores the result.1290:0211->Selector_AdvanceBaseOffset_1290_0211: wrapper around the descriptor-base offset update.1290:0228->Descriptor_GetBaseAddress_1290_0228: reads the descriptor's 32-bit base address.1290:0242->Descriptor_GetEffectiveLimit_1290_0242: decodes the descriptor limit, applying page granularity when enabled.1290:02ae->Descriptor_SetLimit_1290_02ae: encodes a byte limit and its granularity flag into a descriptor.
All thirteen names were applied by address and verified. The live FUN_1290_ search returned no remaining auto-named functions.
Batch 84: Huge-memory mapping helpers (1298)
1298:0000->MemoryHuge_FillFarRange_1298_0000: fills a far memory range across selector-window boundaries, then restores the descriptor base.1298:008c->MemoryHuge_FillFarRangeWrapper_1298_008c: argument-order wrapper around the far-range fill routine.1298:00a6->MemoryHuge_InitializeEmpty_1298_00a6: allocates a 0x1b-byte object when needed and zeros its fields.1298:0207->MemoryHuge_InitializeFromSelector_1298_0207: initializes a huge-memory object from a selector's descriptor base and effective limit.1298:039f->MemoryHuge_CreateRangeMapping_1298_039f: creates a selector-backed mapping for a source range.1298:056f->MemoryHuge_RebindSelector_1298_056f: binds the object to the requested selector and refreshes its mapped bounds.1298:0676->MemoryHuge_InitializeRangeView_1298_0676: initializes a range view, allocating a selector only when the object has none.1298:075d->MemoryHuge_InitializeFixedSizeRegion_1298_075d: initializes an 8,000,000-byte region at the supplied base address.1298:081c->MemoryHuge_Destroy_1298_081c: releases the mapping and optionally frees the object.1298:084b->MemoryHuge_ReleaseBackingSelector_1298_084b: restores/releases the backing selector according to the object's ownership state.1298:0a65->MemoryHuge_GetCurrentMappedByte_1298_0a65: reads the current mapped byte, refreshing the selector window at its boundary.1298:0e40->MemoryHuge_ResetReadPosition_1298_0e40: resets the mapping's current position and descriptor base.1298:0eb1->MemoryHuge_GetBaseRelativeByte_1298_0eb1: reads a byte relative to the mapping's stored base address.
All thirteen names were applied by address and verified. The live FUN_1298_ search returned no remaining auto-named functions.
Batch 85: Selector descriptor-pool management (12a0)
12a0:0000->Selector_InitializeFreeDescriptorList_12a0_0000: builds the free-descriptor chain and initializes the pool's available-count state.12a0:0114->Selector_ReleaseAllDescriptors_12a0_0114: walks the allocated-descriptor chain and marks its entries free.12a0:015f->Selector_AllocateDescriptor_12a0_015f: removes one descriptor from the free chain and returns its selector value.12a0:01f6->Selector_FreeDescriptor_12a0_01f6: returns a selector's descriptor slot to the free chain.12a0:026f->Selector_SetDescriptorBase_12a0_026f: writes a 32-bit base address into the selector descriptor.12a0:02b4->Selector_SetDescriptorBaseAndLimit_12a0_02b4: writes the descriptor base and encodes a byte limit with the appropriate granularity.12a0:0361->Selector_UpdateBasesAfterRelocation_12a0_0361: updates descriptors whose base matches a relocated memory address.
All seven names were applied by address and verified. The live FUN_12a0_ search returned no remaining auto-named functions.
Batch 86: Byte replication buffer helpers (12a8)
12a8:003c->Buffer_FillWordsWithReplicatedByte_12a8_003c: fills a far destination with 16-bit words whose high and low bytes both equal the supplied byte; the count is in words.12a8:1596->Buffer_ExpandBytesToReplicatedWords_12a8_1596: reads source bytes and writes one replicated-byte 16-bit word per byte; callers pass the byte length divided by two.12a8:2eb3->Buffer_ExpandBytesToReplicatedDwords_12a8_2eb3: reads source bytes and writes one replicated-byte 32-bit dword per byte; callers pass the byte length divided by four.
All three names were applied by address and verified. The live FUN_12a8_ search returned no remaining auto-named functions.
Batch 87: Linked-list and memory helpers (12b0)
12b0:0000->memcpy_far_bytes_12b0_0000: copies the requested far-memory range in dwords, then copies any remaining bytes. Callers include DOS linear-memory compaction and video/audio chunk paths; the body does not provide overlap-safe semantics.12b0:003d->Object_ResetVtableAndMaybeFree_12b0_003d: restores the shared base vtable pointer and conditionally frees the object. SpriteNode, UsecodeProcess, and BaseCameraProcess cleanup paths call this shared destructor tail.12b0:0066/12b0:00c1->LinkedList_InsertAtTail_12b0_0066/LinkedList_InsertAtHead_12b0_00c1: update the list endpoints and reciprocal node links at offsets+2and+6.12b0:011c/12b0:01b8->LinkedList_InsertBefore_12b0_011c/LinkedList_InsertAfter_12b0_01b8: splice a node before or after an existing node and update the corresponding endpoint when needed.12b0:0254/12b0:0286->LinkedList_MoveNodeBefore_12b0_0254/LinkedList_MoveNodeAfter_12b0_0286: unlink a node, then insert it relative to the supplied anchor.12b0:02b8/12b0:02e8->LinkedList_MoveNodeToHead_12b0_02b8/LinkedList_MoveNodeToTail_12b0_02e8: unlink a node, then insert it at the selected endpoint.12b0:0318->LinkedList_UnlinkNode_12b0_0318: repairs neighboring links and list endpoints without freeing the node.12b0:039d->LinkedList_UnlinkAndDestroyNode_12b0_039d: unlinks a node and invokes its first virtual entry; callers include VM loaded-chunk and sound-cache cleanup.12b0:048c->LinkedList_GetFirstOrNextNode_12b0_048c: initializes a cursor from the list head or advances it through the node link at+6; SpriteNode child traversal is a verified caller.
All 13 names were applied by address and verified. A refreshed global exact-name count has not yet been run.
Batch 88: Text-output interface and context helpers (12b8)
12b8:0000/12b8:002a->TextOutput_Destroy_12b8_0000/TextOutput_Initialize_12b8_002a: initialize the 10-byte text-output object with its shared vtable, or restore its base vtable and optionally free it.12b8:0071/12b8:015c->TextOutput_WriteChar_12b8_0071/TextOutput_WriteString_12b8_015c: send a character through the output object's virtual methods, with LF/CR cursor handling, or write a NUL-terminated string through that character path.12b8:0183->TextOutput_WriteStringWithinWidth_12b8_0183: emit characters until the next glyph would exceed the supplied horizontal limit; returns the number emitted.12b8:01f9->TextOutput_MeasureMultilineText_12b8_01f9: measures the maximum line width and accompanying layout output via the output object's glyph metrics. Dialog sizing and multiline drawing call this helper.12b8:027d/12b8:02aa->TextOutput_InvokeVtableSlot10_12b8_027d/TextOutput_InvokeVtableSlot10_12b8_02aa: small wrappers for the output object's virtual slot at+0x10; the exact slot contract is not asserted.12b8:02d7/12b8:0344/12b8:03b4->TextOutput_PrintfAt_12b8_02d7/TextOutput_PrintfWithinWidth_12b8_0344/TextOutput_VPrintf_12b8_03b4: format through the shared scratch buffer, then write at a position, within a width limit, or through the active output object respectively.12b8:0406->TextOutput_TranslateBoundsByMetrics_12b8_0406: queries output metrics and adjusts a four-coordinate rectangle from the measured origin and extent.12b8:0492/12b8:04ab/12b8:04f0->TextOutput_SetGlobalContext_12b8_0492/TextOutput_SaveContextAndSet_12b8_04ab/TextOutput_RestoreContextAndMaybeFree_12b8_04f0: update the active global output context, save the previous pointer pair while installing a new pair, or restore the saved pair and optionally free its token.
All 15 names were applied by address and verified. A refreshed global exact-name count has not yet been run.
Batch 89: Sound-cache list helpers (12c0)
12c0:0000->SndCache_List_Destroy_12c0_0000: restores the sound-cache list's base vtable and optionally frees its list record; called during sound-cache initialization.12c0:0029/12c0:006e->LinkedList_InsertAtHead_12c0_0029/LinkedList_InsertAtTail_12c0_006e: add a node at the selected endpoint and maintain head/tail links.12c0:00c2->LinkedList_MoveNodeToTail_12c0_00c2: removes a node from its current position and appends it; the sound loader uses this to update record recency.12c0:00f2->LinkedList_UnlinkAndDestroyNode_12c0_00f2: removes a node, then invokes its first virtual entry.12c0:012d->LinkedList_InsertChainAfterNode_12c0_012d: inserts a linked chain after a selected node and repairs the tail when the insertion is at the end.12c0:01bd->LinkedList_RemoveNode_12c0_01bd: removes a selected node, walking the list to find its predecessor when one is not supplied.
All seven names were applied by address and verified. A refreshed global exact-name count has not yet been run.
Batch 96: CaFont glyph and measurement helpers (1310)
1310:0000->CaFont_GetGlyphYOffset_1310_0000: reads the glyph-record word used as a vertical text-placement offset; its precise field meaning remains unknown.1310:002e->CaFont_DrawGlyphAt_1310_002e: resolves a glyph subentry from the font cache and blits it at the requested screen coordinates.1310:02c2->CaFont_Destroy_1310_02c2: restores the CaFont base vtable, destroys its embedded text-output state, and optionally frees the object.1310:02fe/1310:0317->CaFont_InvokeMetricSlot10_1310_02fe/CaFont_InvokeMetricSlot10_1310_0317: forwarding wrappers for the inherited text-output metric slot.1310:0330->CaFont_MeasureTextAdapter_1310_0330: forwards its arguments to the shared multiline text-measurement routine.
All six names were applied by address and verified. A refreshed global exact-name count has not yet been run.
Batch 97: ComboBox lifecycle and selection (1318)
1318:01f9->ComboBox_Destroy_1318_01f9: releases the two owned text/list buffers, delegates toSpriteNode::Destroy, and optionally frees the gump.1318:025a->ComboBox_HandleEvent_1318_025a: handles combo-box input events, copies the selected option into the editable text buffer, and creates or closes the option-list gump as needed.1318:063d->ComboBox_GetSelectedTextOffset_1318_063d: returns the text offset for the currently selected option, or zero when the selection index is invalid. The filename-list consumer uses the returned text.
All three names were applied by address and verified. A refreshed global exact-name count has not yet been run.
Batch 98: Dispatcher and gump helpers (1320)
1320:0146->Dispatcher_SetProcess_1320_0146: loads the process and stores it as the global dispatcher process.1320:0624->Dispatcher_CollectInputEvents_1320_0624: performs the dispatcher input-collection phases, constructs normalized input records, and forwards them to the dispatch path.1320:0935->Dispatcher_ConvertInputRecord_1320_0935: converts an input record's type and flags into the compact event fields consumed downstream.1320:09f7->Dispatcher_DispatchPendingEvents_1320_09f7: drains pending input records and dispatches them through the active process/object path.1320:0cbd->Dispatcher_ValidateAndDispatchTarget_1320_0cbd: checks the target record's required far-pointer fields, asserts on invalid state, then forwards it to the dispatcher.1320:0dfc->Dispatcher_SetTargetObject_1320_0dfc: stores the supplied far pointer as the current dispatch target.1320:0e0e->Dispatcher_ClearTargetObject_1320_0e0e: clears the current dispatch target.1320:0ebc->Dispatcher_FindObjectByPath_1320_0ebc: searches the registered root array and follows two-byte child keys to find an object.1320:0f8b->Dispatcher_PopTargetAndDispatch_1320_0f8b: removes the last registered target, creates its dispatch record, and forwards it through target validation.1320:1018->Dispatcher_ClearInputContext_1320_1018: releases the current input context and clears its global far pointer.1320:11bf->Dispatcher_RecordEvent_1320_11bf: appends a 20-byte event record to the buffered log and flushes the buffer when full.1320:12cc->Dispatcher_DestroyFlaggedRecordObject_1320_12cc: invokes the record object's virtual method when its flag bit is set.1320:130f->Dispatcher_CopyRecordValueToGumpOffset34_1320_130f: copies a four-byte value from the record into the gump field at offset0x34.1320:14bf->Dispatcher_ReplaceInputContext_1320_14bf: updates the target and context pointers, frees the previous context buffer, and optionally frees the supplied wrapper.1320:1525->Dispatcher_ProcessTargetList_1320_1525: repeatedly advances the base-camera process and dispatches list entries until the list is exhausted.1320:16b6->Dispatcher_ClearQueuedObjectReferences_1320_16b6: clears queued entries whose stored far pointer matches the supplied object.1320:1705->Dispatcher_InitializeEventQueueStorage_1320_1705: registers the 12-byte queue-storage allocator/initializer and resets its related globals.1320:1734->Gump_InitBase_1320_1734: initializes a base gump through the shared constructor.1320:175d->Gump_AllocateIfNull_1320_175d: allocates a 12-byte gump object only when the input pointer is null.
All 19 names were applied by address and verified. Exact-name search for FUN_1320_ now returns no remaining functions; a refreshed global exact-name count has not yet been run.
Batch 99: Viewport-backed gump and mouse event ring (1328)
1328:006b->ViewportBufferedGump_Destroy_1328_006b: restores the vtable, destroys both owned viewports when initialized, delegates toSpriteNode::Destroy, and optionally frees the object.1328:00d7->ViewportBufferedGump_Move_1328_00d7: restores the old screen rectangle, adjusts the saved bounds to the new location, and blits the updated region through the gump's viewports.1328:0267->ViewportBufferedGump_HandleLifecycleEvent_1328_0267: handles activation/deactivation, creates and copies viewport backing regions on activation, and releases them on deactivation. Its caller is the relatedGump_HandleViewportLifecycleEventimplementation.1328:0652->MouseEventRingBuffer_Push_1328_0652: appends a 16-byte mouse event record to a 10-entry ring buffer unless it is full.1328:06ab->MouseEventRingBuffer_Pop_1328_06ab: removes and returns the next 16-byte record from that ring buffer; the mouse process is a caller of the push routine.
All five names were applied by address and verified. Exact-name search for FUN_1328_ now returns no remaining functions; a refreshed global exact-name count has not yet been run.
Batch 100: File-selection dialog (1330)
1330:0000->FileBox_Create_1330_0000: allocates and initializes the file box and its embedded combo box.1330:00ea->FileBox_SetPathText_1330_00ea: stores the supplied path text and updates the file box and combo-box display.1330:031d->FileBox_FreeEntryBuffers_1330_031d: frees the six owned entry buffers, releases their table, and refreshes the associated list state.1330:03bc->FileSelectionList_HandleEvent_1330_03bc: handles list selection/activation events and validates selected paths before dispatching the resulting action.1330:0517->FileBox_SetDriveDirectory_1330_0517: reads the current directory for a DOS drive, normalizes it, and updates the displayed path.1330:065a->FileBox_SetPathAndPattern_1330_065a: combines a directory and filename pattern into the file box path state.1330:0b8a->FileBox_CommitSelectionOrNavigateUp_1330_0b8a: commits a selected file or handles the parent-directory entry, then updates the displayed path and file list.1330:12d7->FileSelectionList_Destroy_1330_12d7: frees the list object's six owned strings and filespec state before common gump destruction.1330:1363->FileBox_DrawPanelBackground_1330_1363: forwards panel drawing to the shared UI background routine.1330:137c->FileBox_HandleInputEvent_1330_137c: dispatches file-box input, including drive changes, path/pattern updates, and selection confirmation.1330:1502->FileBox_CopySelectedFilenameParts_1330_1502: copies the selected combo-box text into the file box's filename and extension fields, returning whether a selection was available.1330:163c->FileBox_SetDefaultBounds_1330_163c: initializes the file box's default rectangle to(0, 0)-(0x6e, 0x7b).1330:1693->FileBox_DestroyComboBoxChild_1330_1693: destroys the embedded combo box and optionally frees its storage.
All 13 names were applied by address and verified. Exact-name search for FUN_1330_ now returns no remaining functions; a refreshed global exact-name count has not yet been run.
Batch 101: Cached shapes and keyboard event ring (1338)
1338:0109->CachedShape_DrawSubentry_1338_0109: fetches a cached shape subentry and draws it through the normal sprite blitter or the active transform/palette callback.1338:01cf->CachedShape_TestPixelRegion_1338_01cf: fetches the cached shape subentry and forwards the requested region/point test to the shape pixel routine.1338:02c5->ItemCache_GetSubentryDataPointer_1338_02c5: exposes the cached subentry data pointer through the shared item-cache lookup.1338:02ed->KeyboardEventRingBuffer_Push_1338_02ed: appends a 12-byte keyboard record to a 10-entry ring buffer unless full; called by the keyboard event handler.1338:0342->KeyboardEventRingBuffer_Pop_1338_0342: removes and returns the next 12-byte keyboard record; called by the dispatcher input collector.
All five names were applied by address and verified. Exact-name search for FUN_1338_ now returns no remaining functions; a refreshed global exact-name count has not yet been run.
Batch 102: Scrolling list control (1340)
1340:010f->ListBox_EnableSelectionEvents_1340_010f: enables the list's selection-event flag.1340:011c->ListBox_DisableSelectionEvents_1340_011c: disables the list's selection-event flag.1340:0129->ListBox_Draw_1340_0129: draws the list frame, visible rows, and item text.1340:02e3->ListBox_HandleNavigationKey_1340_02e3: handles up/down and page navigation keys, updates the selected item, and scrolls when needed.1340:0420->ListBox_HandleLifecycleEvent_1340_0420: handles list activation/deactivation and emits the corresponding follow-up event.1340:0540->ListBox_HandleMouseEvent_1340_0540: maps pointer position to a row, updates selection, and scrolls when the pointer leaves the list bounds.1340:0685->ListBox_HandleSelectionEvent_1340_0685: emits a list selection event when the selection-event flag is enabled.1340:0706->ListBox_SetSelectedIndex_1340_0706: updates the selected row, invokes the list's selection callback, and redraws.1340:075f->ListBox_SetItems_1340_075f: stores the item source, count/stride and display parameters, then recalculates layout.1340:079c->ListBox_RecalculateLayout_1340_079c: determines item count when needed, measures row height, and computes visible rows.1340:084d->ListBox_SortItemsAlphabetically_1340_084d: sorts the list's string-pointer table alphabetically.1340:096a->ListBox_GetItemByIndex_1340_096a: returns an indexed item using either pointer-table or fixed-stride storage.
All 12 names were applied by address and verified. Exact-name search for FUN_1340_ now returns no remaining functions; a refreshed global exact-name count has not yet been run.
Batch 103: Sprite-tree layout and menu-bar items (1348)
1348:019b->SpriteNode_SyncBoundsFromSource_1348_019b: synchronizes source-node bounds into a paired gump according to the supplied layout mode.1348:02c6->SpriteNode_HandleGumpLifecycleEvent_1348_02c6: handles activation/deactivation and updates active-gump and child geometry state.1348:03da->SpriteNode_DispatchPointerToHitChild_1348_03da: tests sprite-tree bounds, traverses candidate children, and dispatches the pointer event to the selected node.1348:0823->SpriteNode_AttachAndLayoutChild_1348_0823: attaches a child node and adjusts its bounds based on the parent and child geometry.1348:090b->MenuBarItem_Create_1348_090b: constructs a labeled menu-bar item; called by the usecode debugger menu builder.1348:09bb->MenuBarItem_Draw_1348_09bb: draws the menu item background, label, and associated indicator.1348:0b0d->MenuBarItem_MeasureLabel_1348_0b0d: measures the item's label using the shared multiline text metrics routine.1348:0b39->SpriteNode_HandleGeometryEvent_1348_0b39: handles geometry-related gump events and normalizes the node's stored extents.1348:0bdc->MenuBarItem_DrawCheckmark_1348_0bdc: draws the base menu item and overlays its checkmark when enabled.1348:0c92->SpriteNode_UpdateBoundsFromLayout_1348_0c92: synchronizes paired-node bounds and optionally copies the resolved layout rectangle.1348:0d07->SpriteNode_SetupViewportClip_1348_0d07: configures the active viewport and clipping rectangle from node bounds.1348:0d81->SpriteNode_RefreshFlaggedChild_1348_0d81: refreshes the first flagged child and clears its pending state.1348:0e2e->SpriteNode_SetChildrenDirtyFlag_1348_0e2e: sets or clears bit 3 in each direct child's state flags.1348:0e7f->SpriteNode_FindChildById_1348_0e7f: recursively searches child lists for a node with the requested identifier.1348:0f0f->SpriteNode_SetSubtreeField38_1348_0f0f: recursively writes the supplied byte to field0x38on a node and its descendants.1348:0f70->SpriteNode_Create8x8_1348_0f70: constructs a small sprite node with 8x8 extents.1348:1025->SpriteNode_AttachChildAndResizeHeight_1348_1025: attaches a child and adjusts parent/child vertical bounds to accommodate it.1348:1212->SpriteNode_CopyLayoutMode1_1348_1212: copies layout coordinates in mode 1 and forwards the associated gump update.1348:1288->MenuBarElement_Create_1348_1288: constructs an 8x8 menu-bar element; called by the usecode debugger menu builder.1348:1377->SpriteNode_AttachChildAndResizeToText_1348_1377: measures child text, attaches the child, and expands parent bounds to fit.1348:1561->SpriteNode_PropagateGeometryMode1_1348_1561: propagates mode-1 geometry and invokes the paired node's update callbacks.1348:15d4->SpriteNode_DrawLine_1348_15d4: draws a line after translating it relative to the node's bounds.1348:164b->WriteZeroOneDefaults_1348_164b: writes0and1to two output fields; the precise semantic labels remain unresolved.1348:169a->SpriteNode_UpdateGeometry_1348_169a: forwards to the shared sprite-node geometry update routine.
All 24 names were applied by address and verified. Exact-name search for FUN_1348_ now returns no remaining functions; a refreshed global exact-name count has not yet been run.
Batch 104: Mouse process and cursor management (1358)
1358:037f->MouseProcess_SetActive_1358_037f: loads the mouse process and stores it as the active mouse process.1358:03a5->MouseProcess_Destroy_1358_03a5: destroys cursor viewports, releases the mouse process, and frees the mouse-shape buffer.1358:0a46->MouseCursor_RestoreBackground_1358_0a46: restores the saved screen rectangle beneath the cursor and clears its drawn-state flag.1358:0a92->MouseCursor_Draw_1358_0a92: activates and draws the selected cursor shape into the viewport when not already drawn.1358:0b92->MouseCursor_SetShapeAtDepth_1358_0b92: stores a cursor shape at the current shape-stack depth and redraws it if visible.1358:0cbd->MouseCursor_PushShape_1358_0cbd: advances the cursor-shape stack depth, clamps it, and applies the supplied shape.1358:0ce9->MouseCursor_ResetShape_1358_0ce9: resets cursor-shape depth to zero and applies the supplied shape.1358:0d06->MouseCursor_PopShape_1358_0d06: returns the popped shape, lowers the stack depth, and reapplies the newly current shape.1358:0e1f->MouseProcess_DequeueEvent_1358_0e1f: returns the next 16-byte mouse event from the ring buffer or pending-event slot.1358:0e93->MouseCursor_BeforeViewportBlit_1358_0e93: prepares the cursor overlay before a camera viewport rectangle is redrawn.1358:0f41->MouseCursor_AfterViewportBlit_1358_0f41: refreshes the cursor backing region after the camera viewport blit; paired with the preceding hook in the camera redraw routine.1358:0fc9->Mouse_GetCursorShapeCount_1358_0fc9: returns the cursor-shape buffer's frame-count limit.1358:0fd6->MouseProcess_UpdateCursorPosition_1358_0fd6: updates cursor coordinates, queues a movement event, and redraws the cursor overlay.1358:1108->MouseProcess_BeginCursorUpdate_1358_1108: clears the mouse-process update flag before cursor movement.1358:1120->MouseProcess_EndCursorUpdate_1358_1120: sets the mouse-process update flag after cursor movement.
All 15 names were applied by address and verified. Exact-name search for FUN_1358_ now returns no remaining functions; a refreshed global exact-name count has not yet been run.
Batch 105: NewGump and sprite-tree core (1360)
1360:017a->SpriteNode_MoveChildToTail_1360_017a: finds a child by far pointer and moves it to the tail of the sibling list.1360:01c7->SpriteNode_RemoveChildAndDestroy_1360_01c7: finds a child by far pointer, unlinks it through the callback-aware destroy path, and reports success.1360:0218->SpriteNode_RemoveChild_1360_0218: unlinks a matching child without destroying it and reports success.1360:0269->SpriteNode_GetChildByIndex_1360_0269: returns the indexed child from the sibling list.1360:05d4->NewGump_DrawTreeRecursive_1360_05d4: draws a gump and recursively draws eligible descendants with accumulated offsets and clipping.1360:078d->NewGump_DrawWithCameraUpdate_1360_078d: resolves absolute bounds, draws the gump tree, and optionally advances the camera process.1360:084d->NewGump_FindHitTarget_1360_084d: recursively hit-tests visible gumps and returns the deepest matching node.1360:0c35->SpriteNode_GetAbsoluteY_1360_0c35: returns the node's Y coordinate accumulated through its parent chain.1360:0c6a->NewGump_GetRelativeX_1360_0c6a: converts an event X coordinate to the gump's local coordinate system.1360:0c7d->NewGump_GetRelativeY_1360_0c7d: converts an event Y coordinate to the gump's local coordinate system.1360:0c90->NewGump_SaveViewportRectOnce_1360_0c90: saves the current viewport rectangle when the draw-recursion guard allows it.1360:107b->NewGump_AcceptsEventType_1360_107b: checks an event type against the gump's allow-list, with a sentinel for accept-all.1360:10d8->SpriteNode_UpdateAbsoluteGeometry_1360_10d8: recomputes absolute bounds by accumulating ancestor offsets.1360:118e->Viewport_SetClipAndRefresh_1360_118e: applies a viewport rectangle, notifies the camera process, and updates the display.1360:1297->NewGump_DispatchCandidate_1360_1297: forwards a candidate gump into the shared dispatcher validation path.1360:12b2->Dispatcher_CopyNextRecord_1360_12b2: forwards to the dispatcher record-copy operation.1360:12cd->Dispatcher_AssertFailure_1360_12cd: assert-only forwarding shim.1360:135d->NewGump_ValidateId_1360_135d: validates the stored gump identifier/complement pair and halts on mismatch.1360:1395->SpriteNode_DispatchEventToChildren_1360_1395: calls each child event callback until one reports the event handled.1360:13e6->StaticSpriteNode_Create_1360_13e6: creates the fixed global sprite node at1478:4f9c.1360:1412->StaticSpriteNode_Destroy_1360_1412: destroys the fixed global sprite node at1478:4f9c.
All 21 names were applied by address and verified. Exact-name search for FUN_1360_ now returns no remaining functions; a refreshed global exact-name count has not yet been run.
Batch 106: Message box and button event filter (1368)
1368:0000->MessageBox_CreateWithOKButton_1368_0000: builds a centered message box, measures its text, creates an OK button, and lays out both within the gump.1368:0352->GumpButton_FilterAndForwardEvent_1368_0352: forwards the button callback for untyped events and for event types 1 or 4.
Both names were applied by address and verified. Exact-name search for FUN_1368_ now returns no remaining functions; a refreshed global exact-name count has not yet been run.
Batch 107: Cached-shape gump (1370)
1370:0105->ShapeGump_HitTestPixel_1370_0105: checks the gump rectangle, then performs a cached-shape pixel-region hit test.1370:0275->ShapeGump_AdvanceFrame_1370_0275: advances the frame by three modulo twice the frame count, redraws, and stores the new frame.1370:02af->ShapeGump_Create_1370_02af: initializes the gump and its cached shape/frame state.1370:0428->ShapeGump_RedrawPreservingFrame_1370_0428: redraws through the shared gump path while preserving the current frame value.
All four names were applied by address and verified. Exact-name search for FUN_1370_ now returns no remaining functions; a refreshed global exact-name count has not yet been run.
Batch 108: Scrollbar and usecode source pane (1378)
1378:0177->ScrollBar_DrawLeftArrow_1378_0177: draws the left-pointing arrow glyph.1378:02ee->ScrollBar_DrawUpArrow_1378_02ee: draws the up-pointing arrow glyph.1378:0465->ScrollBar_DrawDownArrow_1378_0465: draws the down-pointing arrow glyph.1378:05dc->ScrollBar_Create_1378_05dc: initializes the scrollbar's orientation, bounds, range, and value state; called by the source-pane constructor.1378:06e1->ScrollBar_SetContentExtent_1378_06e1: computes the scrollbar's scale and thumb dimensions from the content extent.1378:0790->ScrollBar_Draw_1378_0790: draws the track, thumb, and orientation-dependent borders.1378:0a00->ScrollBar_HandleDrag_1378_0a00: converts pointer movement into a clamped scrollbar value and dispatches/redraws the change.1378:0b04->ScrollBar_HandleLifecycleEvent_1378_0b04: handles activation/deactivation and updates the active-gump state.1378:0bd3->ScrollBar_SetPosition_1378_0bd3: clamps a requested position and updates the thumb rectangle.1378:0d4c->UsecodeDebuggerSourcePane_Create_1378_0d4c: constructs the usecode debugger source pane and its child controls, including its scrollbar.1378:1309->UsecodeDebuggerSourcePane_HandleEvent_1378_1309: forwards supported child events, dispatches the resulting event record, and refreshes the pane.1378:13da->SourcePane_ForwardChildVtable48_1378_13da: forwards to the child gump's vtable slot0x48.1378:13fd->SourcePane_ForwardChildVtable4c_1378_13fd: forwards to the child gump's vtable slot0x4c.1378:141a->SourcePane_ForwardChildVtable50_1378_141a: forwards to the child gump's vtable slot0x50.1378:1608->ScrollBar_GetPosition_1378_1608: returns the stored scrollbar position at offset0x42.1378:1618->Gump_InvokeVtable48_1378_1618: invokes vtable slot0x48on the supplied gump.1378:1644->Gump_InvokeVtable48_1378_1644: invokes vtable slot0x48on the supplied gump.
All 17 names were applied by address and verified. Exact-name search for FUN_1378_ now returns no remaining functions; a refreshed global exact-name count has not yet been run.
Batch 109: Message-box buttons (1380)
1380:0000->GumpCreate_MsgboxButton: allocates and initializes a message-box button, measures its label, and initializes its pressed-state and shape fields.1380:00cc->MsgboxButton_Draw_1380_00cc: draws the button bevel according to its pressed state and renders its label.1380:01e1->Object_SetField35TrueAndUpdate_1380_01e1: sets the button's pressed-state field at+0x35and redraws it.1380:01fd->Object_SetField35FalseAndUpdate_1380_01fd: clears the button's pressed-state field at+0x35and redraws it.1380:0219->MsgboxButton_CreateAlt_1380_0219: initializes a second message-box button layout with its own pressed-state and text fields; paired with the draw routine at1380:02e5.1380:02e5->MsgboxButton_DrawAlt_1380_02e5: draws the alternate button layout using its pressed-state field at+0x39and label pointer at+0x3c.1380:03fa->Object_SetField39TrueAndUpdate_1380_03fa: sets the alternate button's pressed-state field at+0x39and redraws it.1380:0416->Object_SetField39FalseAndUpdate_1380_0416: clears the alternate button's pressed-state field at+0x39and redraws it.1380:0432and1380:046c->SpriteNode_DestroyAndMaybeFree: duplicate cleanup entries for sprite-node child state.
All three exact auto-names were renamed by address and verified. Exact-name search for FUN_1380_ now returns no remaining functions; a refreshed global exact-name count has not yet been run.
Batch 110: Text-entry control (1388)
1388:016e->TextEntry_DestroyAndMaybeFree_1388_016e: clears active-control globals when applicable, destroys the sprite node, and optionally frees the allocation.1388:01c9->TextEntry_SetText_1388_01c9: updates the text pointer and recalculates text length, visible range, and caret/selection indices.1388:0248->TextEntry_Draw_1388_0248: draws the field and text, including selection highlighting and the caret when active.1388:0400->TextEntry_MeasurePrefix_1388_0400: measures the rendered width of a character prefix.1388:048a->TextEntry_CharIndexAtX_1388_048a: finds the character index nearest a horizontal pixel position.1388:051b->TextEntry_EnsureCaretVisible_1388_051b: adjusts the visible starting index so the caret remains within the field.1388:0566->TextEntry_HandleMouseButton_1388_0566: activates/deactivates the field on pointer-button events and updates focus/redraw state.1388:0685->TextEntry_HandlePointerEvent_1388_0685: maps pointer position to a caret/selection index and adjusts it when the pointer moves outside the field.1388:07ab->TextEntry_HandleKeyInput_1388_07ab: processes text-entry key events, including Enter and Backspace, and updates the caret/text state.1388:0c12->TextEntry_SetFocus_1388_0c12: transfers the global active text-entry control to this instance and notifies the prior control.1388:0ca2->TextEntry_HandleFocusTransition_1388_0ca2: clears or transfers focus, invokes the related control callback, and redraws affected gumps.
All 11 names were applied by address and verified. Exact-name search for FUN_1388_ now returns no remaining functions; a refreshed global exact-name count has not yet been run.
Batch 111: Bark gump and placement slots (1390)
1390:02c2->BarkGump_Destroy_1390_02c2: frees the text buffer, releases the placement slot, unlinks the gump, updates the active count, and optionally frees the gump allocation.1390:05ce->BarkGump_UpdateTextWrapper_1390_05ce: thin wrapper to the bark text-update routine.1390:05e1->BarkGump_ReleasePlacementSlot_1390_05e1: clears the gump's four-word placement rectangle from the shared table and marks its slot unused.1390:0639->BarkGump_UpdateTextWrapper_1390_0639: second thin wrapper to the bark text-update routine.1390:064c->BarkGump_UpdateText_1390_064c: advances the text buffer, updates font and geometry state, selects a non-overlapping placement, and redraws the gump.1390:07d3->BarkGump_LoadPlacementRect_1390_07d3: copies the selected shared placement rectangle into the gump bounds.1390:080a->BarkGump_HandleEvent_1390_080a: forwards the recognized event to its parent; other events refresh the bark text.1390:085e->BarkGump_DrawText_1390_085e: draws the stored text using the gump's font and line offset.1390:08c0->FindTypeCObjectAndInvokeSlot3c_1390_08c0: searches the type-Clist and conditionally invokes virtual slot0x3c; broader purpose remains unclear.1390:0934->BarkGump_InitPlacementSlots_1390_0934: initializes the shared 30-entry placement-rectangle table.1390:0953->BarkGump_AllocPlacementSlot_1390_0953: allocator callback that creates an eight-byte placement-table entry.
All 11 names were applied by address and verified. Exact-name search for FUN_1390_ now returns no remaining functions; a refreshed global exact-name count has not yet been run.
Batch 112: Paged text gump (1398)
1398:02d1->PagedTextGump_Draw_1398_02d1: draws the page frame and text, displaying<MORE>when additional content remains.1398:0487->PagedTextGump_DrawPageText_1398_0487: renders the current page in a 20-column, 13-line grid, handles^line breaks, and tracks pagination.1398:0887->PagedTextGump_HandleClick_1398_0887: advances to the next page on click or invokes the parent callback when the text is exhausted.1398:0a2a->PagedTextGump_HandleKeyInput_1398_0a2a: advances or exits the page view in response to Enter/Escape input.
All four names were applied by address and verified. Exact-name search for FUN_1398_ now returns no remaining functions; a refreshed global exact-name count has not yet been run.
Batch 113: Global file-spec lifecycle (13a0)
13a0:304b->GlobalFileSpec_Init_13a0_304b: initializes the fixedFileSpecobject at1478:8b97.13a0:305c->GlobalFileSpec_Destroy_13a0_305c: destroys that same fixedFileSpecobject.
Both names were applied by address and verified. Exact-name search for FUN_13a0_ now returns no remaining functions; a refreshed global exact-name count has not yet been run.
Batch 114: Item-drag operations (13a8)
13a8:0088->ItemDrag_Initialize_13a8_0088: records the target screen point, initializes the drag gump, and dispatches its initial setup.13a8:0117->ItemDrag_CreateWorldItem_13a8_0117: creates the dragged item at its stored world coordinates when appropriate.13a8:01ee->ItemDrag_TryPlaceAtScreenPoint_13a8_01ee: resolves the world point beneath the pointer, validates it, and moves the preview item if placement succeeds.13a8:0361->ItemDrag_TryDropIntoContainer_13a8_0361: checks whether the dragged item can enter the target container and transfers it to the requested gump coordinates.13a8:048a->ItemDrag_Cleanup_13a8_048a: normalizes item quantity, lets the item fall if needed, and clears the drag-state pointer.13a8:04b3->ItemDrag_NormalizeQuantity_13a8_04b3: sets quantity according to the item's shape family, excluding containers, generic items, and shape0x4fe.13a8:0524->ItemDrag_SetTargetContainer_13a8_0524: resets drag coordinates and stores the target container context.13a8:0587->ItemDrag_FinalizeDrop_13a8_0587: commits the item to world/container state, attempts stacking, and clears the temporary item reference.13a8:0837->ItemDrag_GetWorldPointFromScreen_13a8_0837: resolves a screen point to world coordinates, accounting for the dragged item's footprint.
All nine names were applied by address and verified. Exact-name search for FUN_13a8_ now returns no remaining functions; selector 13b0 had no exact auto-names. A refreshed global exact-name count has not yet been run.
Batch 115: Bark-gump support and shared list callbacks (13b8)
13b8:01ce->Dispatcher_ResolvePathAndInvokeSlot3c_13b8_01ce: resolves an object path and invokes virtual slot0x3con the result.13b8:04f7->GumpShared_DestroyMatchingTypeCNodes_13b8_04f7: removes matching type-Cchild nodes, performs common gump destruction, and optionally frees the gump.13b8:0580->BarkGump_FinishAssociatedProcess_13b8_0580: signals the associated process, clears its process ID, and updates/dispatches the sprite node.13b8:05e8->GumpList_InvokeSlot48ForMatchingTypeCNodes_13b8_05e8: invokes virtual slot0x48on matching type-Cnodes.13b8:06b4->GumpList_MoveState2TypeCNodesToTail_13b8_06b4: moves type-Clist nodes with state2to the tail.13b8:0758->GumpList_InvokeSlot3cForMatchingId_13b8_0758: invokes virtual slot0x3con a type-Cnode matching the supplied ID.13b8:07c7->BarkGump_UpdateAnchorPosition_13b8_07c7: recomputes the gump position from its item, avatar, or fixed-position anchor.13b8:0983->InitZeroSentinelRecord_13b8_0983: initializes a small record with zero fields and a0xffffsentinel.
All eight names were applied by address and verified. Exact-name search for FUN_13b8_ now returns no remaining functions; a refreshed global exact-name count has not yet been run.
Batch 116: Keypad-button methods (13c0)
13c0:006d->KeypadButton_UpdateFrameIndex_13c0_006d: derives the button frame index from its stored keypad value.13c0:08f5->KeypadButton_Draw_13c0_08f5: draws the cached-shape button and its configured subentry icons.
Both names were applied by address and verified. Exact-name search for FUN_13c0_ now returns no remaining functions; a refreshed global exact-name count has not yet been run.
Batch 117: Main-menu choice control (13c8)
13c8:28e1->MainMenu_DestroyAndClearViewport_13c8_28e1: restores the mouse background, fades the palette to black, clears/blits the viewport, and destroys the menu gump.13c8:2c90->MainMenuChoice_CommitSelection_13c8_2c90: stores the selected value, notifies the matching child gump, and redraws the choice and child.13c8:2d19->MainMenuChoice_ClearPressState_13c8_2d19: clears the pressed state when the stored selection no longer matches.13c8:2e16->MainMenuChoice_Draw_13c8_2e16: draws the two cached-shape choice states and highlights the selected value.13c8:2eca->MainMenuChoice_RefreshSelection_13c8_2eca: synchronizes the selected value with its child gump and redraws affected gumps.
All five names were applied by address and verified. Exact-name search for FUN_13c8_ now returns no remaining functions; selector 13d0 had no exact auto-names. A refreshed global exact-name count has not yet been run.
Batch 118: Mouse-cursor control (13d8)
13d8:008d->MouseCursor_ClassifyPointerRegion_13d8_008d: initializes the cursor-control bounds, recenters the active rectangle, and classifies the pointer region.13d8:01a0->MouseCursor_SelectDirectionalFrame_13d8_01a0: maps pointer direction around the tracked point to a cursor frame and clamps it to the available frame count.13d8:031a->MouseCursor_GetDirectionFromFrame_13d8_031a: derives the eight-way direction index from the active cursor frame.13d8:037d->MouseCursor_Process_Destroy_13d8_037d: releases mouse-control state and optionally asserts that the process is not terminating.13d8:03b7->MouseCursor_SetActiveProcess_13d8_03b7: installs the active mouse process and records it in the global cursor-process pointer.
All five names were applied by address and verified. Exact-name search for FUN_13d8_ now returns no remaining functions; selectors 13d0 and 13e0 had no exact auto-names. A refreshed global exact-name count has not yet been run.
Batch 119: Gameplay sprite and item interaction (13e8)
13e8:007d->Sprite_ClearActiveUseItem_13e8_007d: clears the active use-item selection and refreshes the sprite state.13e8:0af8->Sprite_ConsumeInventoryItemByShape_13e8_0af8: consumes a matching inventory item, cycling weapon state or decrementing quality as appropriate.13e8:0f56->Sprite_ResetSpriteAndSoundResources_13e8_0f56: resets sprite data and stops/compacts sound effects when the manager is active.13e8:0f77->Sprite_CreateInteractionGump_13e8_0f77: constructs the gameplay interaction sprite gump and initializes its viewport and interaction state.13e8:1086->Sprite_ShowHintAndCenterCursor_13e8_1086: checks for the gameplay hint and moves the cursor to screen center.13e8:10a5->Sprite_ResetAndPopDispatcher_13e8_10a5: resets sprite/sound resources and pops the dispatcher target.13e8:140c->Sprite_HandleUseTargetSelection_13e8_140c: resolves the selected world target, clears cursor state, and notifies the active use-item process.13e8:2b74->Sprite_HandlePointerButton_13e8_2b74: handles pointer-button actions including look, drop completion, and gameplay action submission.13e8:2dad->Sprite_HandleControlledNpcInput_13e8_2dad: dispatches controlled-NPC movement/action input and coordinates turning/animation state.13e8:307f->Sprite_HandlePointerMotion_13e8_307f: updates drag, use-item crosshairs, and NPC-facing state from pointer movement.13e8:3253->Sprite_BeginItemDragAtWorldPoint_13e8_3253: locates the item under the pointer and initializes drag offsets/state.13e8:32f2->Sprite_GrabItemAndActivateDrag_13e8_32f2: grabs the temporary item, activates the drag gump, and dispatches its drag event.13e8:334e->Sprite_CompleteItemDrop_13e8_334e: clears active-gump state and commits the item-drop operation.13e8:338d->Sprite_UpdateDraggedItemPosition_13e8_338d: resolves and updates the dragged item's screen/world placement from pointer coordinates.13e8:3796->Sprite_ResetUseItemState_13e8_3796: clears the selected use-item and its associated interaction flag.13e8:37b4->Sprite_UpdateUseItemTargetPosition_13e8_37b4: updates the use-item target coordinates from the current target record.13e8:388f->Sprite_UpdateUseItemTargetFromItem_13e8_388f: refreshes the use-item target coordinates from the referenced item.13e8:3ec3->Sprite_NoOpVtableMethod_13e8_3ec3: empty virtual method stub.13e8:3f83->Sprite_DestroyAndMaybeFree_13e8_3f83: destroys the linked callback chain and sprite node, optionally freeing the allocation.
All 19 names were applied by address and verified. Exact-name search for FUN_13e8_ now returns no remaining functions; selectors 13f0 and 13f8 had no exact auto-names. A refreshed global exact-name count has not yet been run.
Batch 120: Joystick process and direction helpers (1400)
1400:0123->Joystick_SetActiveProcess_1400_0123: initializes the joystick process and stores it as the active process.1400:0149->Joystick_ClearActiveProcess_1400_0149: shuts down the joystick process and clears the active-process pointer.1400:0a14->Joystick_NotifyControllerProcess_1400_0a14: submits the configured notification to the controller process and clears its pending flag.1400:0c7e->Joystick_DetectAndEnable_1400_0c7e: probes the configured joystick/gamepad type, reports detection, and updates the enabled flag.1400:0cd9->Joystick_GetDirectionCode_1400_0cd9: maps the joystick X/Y dead-zone regions to the direction lookup table.
All five names were applied by address and verified. Exact-name search for FUN_1400_ now returns no remaining functions; selectors 1408 and 1410 had no exact auto-names. A refreshed global exact-name count has not yet been run.
Batch 121: Inter state copy (1418)
1418:0172->Inter_CopyState_1418_0172: copies the fixed-sizeInterstate record and its trailing fields from the source object.
The name was applied by address and verified. Exact-name search for FUN_1418_ now returns no remaining functions; a refreshed global exact-name count has not yet been run.
Batch 122: UProcess text and runtime helpers (1420)
1420:011b->LinkedList_Append_1420_011b: wrapper that inserts a node at the linked-list tail.1420:0134->LinkedList_MoveMatchingNodeToHead_1420_0134: finds the node matching the supplied pointer and moves it to the list head.1420:0181->UProcess_ParseUnderscoreTextMarkup_1420_0181: parses underscore-delimited text markup for a UProcess.1420:05db->UProcess_NormalizeDollarDelimitedText_1420_05db: replaces each dollar-delimited span with the marker characteri.1420:0cb3->EntityVm_Reinitialize_1420_0cb3: releases and initializes entity-VM slots, then initializes the related runtime and YAMM.1420:1ffd->Kernel_ResetReference_1420_1ffd: wrapper around the kernel reference reset operation.1420:2010->Process_SetItemSourceTypeEthereal_1420_2010: finds the process for an item/type pair and changes its source type toETHEREAL.1420:209f->LinkedCallbackChain_DestroyAndMaybeFree_1420_209f: destroys the linked callback chain and optionally frees the allocation.
All eight names were applied by address and verified. Exact-name search for FUN_1420_ now returns no remaining functions; a refreshed global exact-name count has not yet been run.
Batch 123: YAMM usecode-value table (1428)
1428:00bf->Usecode_FreeDataTable_1428_00bf: frees and clears the global usecode-data table.1428:0251->Usecode_FreeOwnedValues_1428_0251: releases non-constant values owned by the supplied usecode record.1428:03a3->Usecode_DumpDataTable_1428_03a3: prints the global value-table entries and allocation metadata.1428:041d->Yamm_ReportFatalError_1428_041d: reports a fatal YAMM error through the shared error handler.1428:043a->Yamm_CheckValueTableIntegrity_1428_043a: validates linked-list endpoints and the aggregate size of value-table entries.1428:05ac->Yamm_InvokeValueOperationTwice_1428_05ac: invokes the value object's virtual operation at offset0x10twice.1428:0651->Yamm_ResolveNextValueEntry_1428_0651: resolves the next entry in the value-table traversal.1428:07f2->Yamm_GetValueByIndexPath_1428_07f2: traverses the value table by index and returns the selected value storage.1428:0860->Yamm_GetValuePayload_1428_0860: returns the payload address within a value entry.1428:087b->Yamm_SetValueByIndexPath_1428_087b: traverses an indexed path and stores the supplied value.1428:0c31->Yamm_FindValueByName_1428_0c31: searches value entries by name or string content.1428:0cf6->Yamm_ReplaceStringValueAtIndex_1428_0cf6: frees the old string value when needed and copies replacement bytes into the indexed entry.1428:0d7a->Yamm_WriteMetadataToAllValues_1428_0d7a: writes the supplied metadata value across the selected table entries.1428:0dd8->Yamm_DebugPrintLongValues_1428_0dd8: prints long-valued entries.1428:0e2f->Yamm_DebugPrintIntValues_1428_0e2f: prints integer-valued entries.1428:0e86->Yamm_DebugPrintStringValues_1428_0e86: prints string-valued entries.
All 16 names were applied by address and verified. Exact-name search for FUN_1428_ now returns no remaining functions; selector 1430 had no exact auto-names. A refreshed global exact-name count has not yet been run.
Batch 124: Masked triplet transform (1438)
1438:03fb->ApplyMaskToThreeByteString_1438_03fb: for each of three masked bytes, subtracts two and replaces underflow with?; returns whether any byte underflowed.
The name was applied by address and verified. Exact-name search for FUN_1438_ now returns no remaining functions; a refreshed global exact-name count has not yet been run.
Batch 125: Palette transitions (1440)
1440:07be->Palette_FadeToGamePalette_1440_07be: fades the active palette to the game palette over0x28steps.1440:0ea3->Palette_FadeToBlackBlocking_1440_0ea3: fades to black, waits for the fade process to complete, and frees its temporary palette.
Both names were applied by address and verified. Exact-name search for FUN_1440_ now returns no remaining functions; a refreshed global exact-name count has not yet been run.
Batch 126: Cursor wrappers and object callback (1448)
1448:0000->MouseCursor_RestoreActiveBackground_1448_0000: restores the active cursor's saved background when its state requires it.1448:0031->MouseCursor_DrawActiveCursor_1448_0031: redraws the active cursor when enabled; called during fade and FLIC teardown.1448:1ec9->Object_UpdateFlagsAndInvokeSlot8_1448_1ec9: updates two object state flags and invokes virtual slot0x08.
All three names were applied by address and verified. Exact-name search for FUN_1448_ now returns no remaining functions; a refreshed global exact-name count has not yet been run.
Batch 127: Item SFX cleanup and no-op (1450)
1450:00ec->Sound_FreeItemSfxData_1450_00ec: frees and clears the global item-SFX data block when allocated.1450:074b->NoOpMethod_1450_074b: empty method that returns without side effects.
Both names were applied by address and verified. Exact-name search for FUN_1450_ now returns no remaining functions; a refreshed global exact-name count has not yet been run.
Batch 128: RLE viewport drawing and callback forwarders (1458)
1458:04b0->VPort_DrawRleBitmapRows_1458_04b0: decodes alternating run data and writes bitmap rows through the viewport pixel accessor.1458:09d4->VPort_DrawRleBitmapRowsWithSkip_1458_09d4: decodes run-coded rows, preserving destination pixels for the0xffskip marker.1458:0b1c/1458:0bc1->Callback_ForwardToSlot009d_1458_0b1c/Callback_ForwardToSlot00a5_1458_0bc1: forward to the corresponding callback-slot helpers.
All four names were applied by address and verified. Exact-name search for FUN_1458_ now returns no remaining functions; a refreshed global exact-name count has not yet been run.
Batch 129: Packed-stream bit extraction (1460)
1460:0000->ExtractBitsMSBFirst_1460_0000: extracts a requested-width field from a 32-bit word using an MSB-first bit offset; the video decoders use it for 4-bit codes and variable-width values.
The name was applied by address and verified. Exact-name search for FUN_1460_ now returns no remaining functions; a refreshed global exact-name count has not yet been run.
Batch 130: Video decoding and playback lifecycle (1468)
1468:04f9/1468:12fe->VideoPlayer_DecodePackedRowsToWords_1468_04f9/VideoPlayer_DecodePackedRowsToWords_1468_12fe: decode packed alternating runs into word-width video rows.1468:0995->VideoPlayer_DecodePackedRowsToDwords_1468_0995: decodes packed alternating runs into dword-width rows.1468:0e51->VideoPlayer_DecodePackedRowsToBytes_1468_0e51: decodes packed runs and copies byte-width rows.1468:1d4d->VideoPlayer_ClearScaledRectAndResetFlag_1468_1d4d: clears a scaled viewport rectangle and resets the object's state field.1468:1da1->VideoPlayer_UpdateTimedMessage_1468_1da1: decrements the display timer and renders/blits the associated timed message; called byVideoPlayer_AdvanceFrameAndHandleSkip.1468:354a->VideoPlayer_BuildFadePalette_1468_354a: builds a playback palette ramp from the current video-card palette.1468:37c4->VideoPlayer_DrawGumpOverlayByHeight_1468_37c4: selects and draws a cached gump subentry based on the player's height.1468:3a3d->VideoPlayer_WaitForPlaybackCallbacks_1468_3a3d: registers timer events and waits for the pending playback callback counter; called by video/Flic run paths.1468:3c23->VideoPlayer_RestoreGameDisplayState_1468_3c23: restores viewport, camera, palette, animation, cycle, NPC, and cursor state.1468:3d36->VideoPlayer_StopAndDestroy_1468_3d36: conditionally releases playback resources and restores display state before invoking the base callback; called byVideoPlayer_StopAndDestroyWrapper.1468:3d7a->VideoPlayer_ReleasePlaybackResources_1468_3d7a: closes the file, stops audio, restores music, frees buffers/palette, releases selectors, and clears pending keyboard events.1468:4206/1468:4217->File_EnsureGlobalDescriptor_1468_4206/File_CloseGlobalDescriptor_1468_4217: initialize or close the shared file descriptor.
All 14 names were applied by address and verified. Exact-name search for FUN_1468_ now returns no remaining functions; a refreshed global exact-name count has not yet been run.
Batch 131: Video subtitle records (1470)
1470:0000/1470:005e->VideoSubtitle_InitTable_1470_0000/VideoSubtitle_InitAndLoad_1470_005e: initialize the 300-record table, optionally allocating it, and initialize/load the subtitle file.1470:00cc->VideoSubtitle_DestroyTable_1470_00cc: release the subtitle buffer and optionally free the table.1470:00fb/1470:01c6->VideoSubtitle_LoadFileBuffer_1470_00fb/VideoSubtitle_FreeFileBuffer_1470_01c6: read the file into a 4 KB buffer and free that buffer.1470:01ef->VideoSubtitle_GetNextTimedRecord_1470_01ef: advance through parsed timed records and return the next record when available.1470:0239->VideoSubtitle_ParseFile_1470_0239: parse line/frame-tag records and optionally measure rendered text through a callback.1470:0398,1470:04a0, and1470:04f8->VideoSubtitle_ReadNextDisplayLine_1470_0398,VideoSubtitle_AdvanceToNextLine_1470_04a0, andVideoSubtitle_FindLineDelimiter_1470_04f8: read valid display lines and advance/search the source buffer.1470:05cc->VideoSubtitle_ParseFrameTag_1470_05cc: parse the numeric frame value after an@tag.1470:0692->WaitForSystemTimerTicks_1470_0692: wait until the requested system-timer interval elapses; a computer-name gump calls it.
All 12 names were applied by address and verified. Exact-name search for FUN_1470_ now returns no remaining functions; a refreshed global exact-name count has not yet been run.
Batch 90: Runtime diagnostics and table lifecycle (12d0)
12d0:02eb->Runtime_FileOpenFailureBreakOrExit_12d0_02eb: emits the file-open failure diagnostic once, then executes a debug breakpoint or exits according to runtime state. File, cache, and process-symbol readers call this path.12d0:06ca->Runtime_InitializeVesaAndFileHandles_12d0_06ca: initializes the VESA mode-info allocation and DOS open-handle table.12d0:06e7->Runtime_CloseAllFileHandles_12d0_06e7: closes and releases the runtime open-handle table.
All three names were applied by address and verified. A refreshed global exact-name count has not yet been run.
Batch 91: String, distance, disk, and sound helpers (12d8)
12d8:00f5->strdup_far_12d8_00f5: allocates and copies a far NUL-terminated string.12d8:01cb->ascii_uppercase_string_far_12d8_01cb: uppercases ASCII characters in a far string in place.12d8:024e->DOS_GetFreeDiskSpaceBytes_12d8_024e: queries DOS free-space fields and returns their byte product; returns1for the observed error sentinel.12d8:02d3/12d8:0346->distance_chebyshev_3d_12d8_02d3/distance_chebyshev_2d_12d8_0346: return the maximum absolute coordinate delta across three or two axes respectively.12d8:04d0/12d8:050d/12d8:0560->Sound_PlaySfxIfInitialized_12d8_04d0/Sound_StopSfxByIdIfInitialized_12d8_050d/Sound_IsSfxPlaying_12d8_0560: guard sound-effect playback, stop, and active-state query on the SFX manager initialization flag. The stop helper has callers in the computer-name gump and FLIC playback paths.
All eight names were applied by address and verified. A refreshed global exact-name count has not yet been run.
Batch 94: Rectangle lists, camera process, and viewport regions (1300)
1300:0000->Rectangle_Intersects_1300_0000: tests two inclusive four-coordinate rectangles for overlap; used by sprite-manager and viewport-region routines.1300:0138->RectangleList_AnyIntersects_1300_0138: scans the linked rectangle records and returns whether any record intersects the supplied rectangle.1300:0264->ViewportRectNode_InitializeAndReplace_1300_0264: removes/releases the old viewport rectangle node and initializes the replacement bounds.1300:02e8->ViewportRectList_CoalesceOverlaps_1300_02e8: merges, removes, or splits overlapping viewport rectangles to maintain a non-overlapping region list used by sprite-manager and camera-overlay redraw.1300:08ad->BaseCameraProcess_Destroy_1300_08ad: clears the global base-camera pointer, destroys its embedded dispatch entries, and applies the termination assertion when requested.1300:0920/1300:0c6c->BaseCameraProcess_EnsureGlobal_1300_0920/BaseCameraProcess_EnsureCreated_1300_0c6c: lazily create and publish the global base-camera process; the latter is a thin wrapper.1300:0941/1300:0c75->NoOp_1300_0941/NoOp_1300_0c75: one-byte return and a thin wrapper to it.1300:0942/1300:0d44->Camera_RestoreSavedViewportRects_1300_0942/Camera_RestoreSavedViewportRects_1300_0d44: coalesce queued rectangles, redraw each saved viewport region, destroy the queue, and clear its pending state; the second entry is a wrapper.1300:0b5c/1300:0c55->Viewport_SaveCurrentRect_1300_0b5c/Viewport_ClearSavedRects_1300_0c55: push the current viewport bounds (or an empty rectangle) into the saved-region chain, or destroy the chain and reset its state.1300:0c7e->Camera_DebugDrawViewportRectsAndWait_1300_0c7e: clears/redraws fixed viewport test rectangles, restores queued regions, then waits for a key.1300:0d04/1300:0d2d->ViewportRectCallbackChain_Initialize_1300_0d04/ViewportRectCallbackChain_Destroy_1300_0d2d: initialize the saved-region callback-list state or destroy its nodes.
All 16 names were applied by address and verified. A refreshed global exact-name count has not yet been run.
Batch 95: Gump activation and pointer-state methods (1308)
1308:0000->Gump_InvokeVtableSlot8_1308_0000: dispatches the object's virtual slot at+8.1308:001d->Gump_HandleActivationEnterExit_1308_001d: on activation, publishes the active gump and calls the activation slot; on deactivation, clears active state and conditionally creates the follow-up gump when the pointer remains in bounds.1308:0151->Gump_UpdatePointerHoverState_1308_0151: compares pointer bounds with the hover flag, dispatches the enter/leave virtual slot, and marks the gump dirty.1308:0254->Gump_HandleActivationWithExitCleanup_1308_0254: wraps activation/deactivation handling and performs the extra leave callback when the shared active state has cleared.1308:0371->Gump_HandleTimedActivationEnterExit_1308_0371: activation/deactivation variant that records a timer deadline and includes the repeat-state flag.1308:04cd->Gump_UpdateHoverAndInvokeBaseEvent_1308_04cd: updates pointer hover state, then dispatches the base event slot at+4.1308:04fd->Gump_RepeatActivationAfterDelay_1308_04fd: when the repeat flag is set and its timer expires, advances the deadline and creates the follow-up gump.
All seven names were applied by address and verified. A refreshed global exact-name count has not yet been run.
Batch 93: VPort panel and UI text helpers (12f8)
12f8:0000->VPort_FillInsetRect_12f8_0000: fills the full rectangle with the base color and its inset with the requested fill color.12f8:004b->VPort_DrawBeveledRect_12f8_004b: draws the filled interior and contrasting top/left versus bottom/right bevel edges.12f8:01a5->VPort_DrawTopLeftBevel_12f8_01a5: draws the filled interior with the alternate top/left edge treatment used by adjacent gump classes.12f8:036b->UIObject_AttachCaFont_12f8_036b: creates the requestedCaFontand stores its pointer in the UI object.12f8:038a->UIObject_DrawPanelBackground_12f8_038a: selects the flat or beveled panel renderer from the object's style byte.12f8:044a->Gump_HandleViewportLifecycleEvent_12f8_044a: forwards the event to the gump viewport lifecycle handler, which creates/restores its offscreen viewports or tears them down and clears active-gump state.12f8:0463->Gump_PrintfClippedToRect_12f8_0463: formats into a scratch buffer, computes the available gump width, then writes through the width-limited text-output path. Source and watch debugger panes are callers.12f8:055f->SpriteTree_PointInBoundsWrapper_12f8_055f: forwards the supplied point/object fields to the sprite-tree bounds helper.
All eight names were applied by address and verified. A refreshed global exact-name count has not yet been run.
Batch 92: Sound-cache management and teardown (12f0)
12f0:0298->SndCache_SetResourceInterface_12f0_0298: stores the resource-interface pointer and resets its companion state; called during SFX manager initialization.12f0:0495->SndCache_ReleaseSlot_12f0_0495: stops a sound occupying the indexed cache slot, unlinks its record, restores the selector base/limit, and marks the slot unused.12f0:0a3e->SndCache_CompactFreeChunks_12f0_0a3e: copies data from adjacent unreferenced chunks, coalesces their ranges, repairs selector bases, and removes merged list records.12f0:0bc1/12f0:0bd7->SndCache_CallbackChain_ResetHead_12f0_0bc1/SndCache_CallbackChain_Clear_12f0_0bd7: reset the global callback-chain head or reset it and destroy its nodes.12f0:0bee->SndCache_CallbackChain_Destroy_12f0_0bee: installs the callback-chain vtable, destroys its nodes, and optionally frees the object.12f0:0c29->SndCache_Object_Destroy_12f0_0c29: restores the base object vtable through the shared helper and optionally frees the object.12f0:0c64->SndCache_List_Destroy_12f0_0c64: restores the sound-cache list vtable through its shared helper and optionally frees the list.
All eight names were applied by address and verified. A refreshed global exact-name count has not yet been run.
Batch 132: Configuration file load and save (1018)
1018:0000->LoadConfigFile: checks forCRUSADER.CFG, then uses the config token/line helpers to parse settings, including audio, controls, display, and path state. Its initialization caller isInit_Everythingat1048:03a1.1018:0ced->SaveOptionsToConfigFile: serializes current audio, control bindings, display, path, and custom-track settings through the config writer;MainMenuOptionsMenu_Destroycalls it at13c8:1770.
The segment contains exactly these two functions, both already named. Loader validation and malformed/unknown-option behavior remain incompletely characterized.
Batch 133: Collision masks and gravity item processes (1038)
1038:0000/1038:0072->AreaSearch_CheckCollisionwrapper/core: the wrapper optionally allocates the result byte and supplies the item's current point and shape; the core scans candidate items, filters by spatial/Z overlap and intersecting solid/damage flags, then accumulates directional collision bits. It returns0x1ffor the zero-Z case and sets a combined bit when opposing direction pairs are blocked.1038:0395->GravityProcess_CreateProcess: initializes a gravity process with item, velocity, and gravity state, clears the item's bouncing status, and records NPC falling state and starting Z.1038:04bc->GravityProcess_Finish_1038_04bc: handles NPC landing/death follow-up, destroys embedded dispatch entries, and optionally asserts termination.1038:06d2->GravityProcess_Run: drives per-tick gravity and item movement; its downward sweep, area cleanup, and finish helpers are separately identified below. Full tick-state transitions remain open.1038:1131/1038:11fd->GravityProcess_CheckDownwardSweep_1038_1131/GravityProcess_FastAreaCleanup: probe downward motion at adjusted Z, or settle the item through an area-search collision move before invoking the process callback when needed.1038:12a6/1038:1334->Item_Hurl/Item_Fall: hurl creates a gravity process or adds velocity to the existing one; fall starts downward motion only for non-floating shapes with nonzero weight.
All nine functions in selector 1038 are named; exact-name search for FUN_1038_ returned no matches. The complete gravity tick state machine and call-site interpretation of the collision mask remain open.
Batch 134: Extender calls and gravity trajectory adapters (1040)
1040:0000,1040:0035,1040:0041, and1040:005a->DosExtenderCallInterrupt_1040_0000,DosExtenderCallInterrupt_1040_0035,DosExtenderCallInterrupt_1040_0041, andDosExtenderCallInterrupt_1040_005a: call or chain through INT 21h/2Fh handlers, with carry-checked paths in the latter two. Exact service numbers and register contracts remain unresolved.1040:0290->Item_HurlWithParams: forwards gravity and XYZ velocity fields from the supplied parameter record toItem_Hurl.1040:02c0->Ensure_GravityProcess: ends an existing gravity process for the item, creates a replacement from the supplied motion parameters, marks it no-terminate, and returns whether the current point is within a Manhattan distance of0x32from the requested point.1040:0429->dos_free_disk_space: queries DOS free-space fields for the current directory and returns their product; the exact units and error contract remain open.
All ten functions in selector 1040 are named; exact-name search for FUN_1040_ returned no matches. The extender interrupt service/register contracts and gravity-proximity helper's caller-side purpose remain unresolved.
Batch 135: Game startup, teardown, and command-line options (1048)
1048:039b->Init_Everything: loads configuration and checks free space, initializes the kernel and presentation callbacks, performs a timer/process sanity check, creates viewport/cache state, then initializes item/usecode, NPC, display, savegame, audio, font, camera, mouse, gump, animation, and input systems before callingGame_Start. It prefers the static fixed-map archive when present.1048:081b->Uninitialize: stops audio and floating-point state, tears down gameplay/display/resource subsystems, releases viewports, fades the palette, and shuts down the kernel.1048:09b9->HandleCommandlineArgs: handles help/exit, usecode override (-u), debug, set-version exit, asylum, warp coordinates, skill, map offset, egg, and demo options; unrecognized tokens are passed toCheckForLaurieArg.1048:01dc/1048:025b->Runtime_InitializeAndHandleCommandLine_1048_01dc/Runtime_DrawStartupBanner_1048_025b: initialize and dispatch command-line processing, or set text video and print the startup banner.
All 15 functions in selector 1048 are named; exact-name search for FUN_1048_ returned no matches. Initialization/teardown dependency ordering and the behavior of the remaining weakly characterized helpers remain open.
Batch 136: Savegame slots, quick-save, and restore (1050)
1050:000d->Savegame_Init: allocates and clears the 13 slot-label buffers, then opens existing numbered save files to populate slot metadata.1050:00dc->Savegame_GetFilename: builds a numbered filename under the savegame directory.1050:0115->Savegame_QuickSave: only writes for controlled avatar 1; suspends audio and clears pending input, then serializes cache, NPC, RNG/callback, process, usecode, and music state before closing the file.1050:02f1->Savegame_LoadProbably: only loads for controlled avatar 1 and an existing save file; reinitializes kernel/entity VM state, restores cache/NPC/RNG/callback, sprite manager, YAMM, usecode, music, and process state, then rebuilds joystick/audio/spatial state. It restores blast-limit and frame-skip settings after the load.1050:051f/1050:0532->SavegameSlot_GetLabelPtr/SavegameSlot_SetLabel: retrieve a slot's label buffer or clear it and copy supplied text.1050:057e->File_CloseAndMaybeFree: closes a file object and frees it when the low-bit ownership flag is set.
All seven functions in selector 1050 are named; exact-name search for FUN_1050_ returned no matches. Save-file schema/versioning and malformed-file or partial-load behavior remain open.
Suggested Triage
- Code30's previously listed 18 candidates were all renamed in the duplicate batch. Ten more Code1 candidates through
1000:4007were subsequently named; the refreshed Code1 backlog now contains only1000:018aand1000:2bf2. - Cross-check each candidate against the segment coverage ledger and subsystem docs before decompiling. Prefer caller/callee role, strings, data references, or verified raw mappings as evidence.
- Rename only after confirming behavior. Keep a concise decompiler comment when a verified raw mapping or external evidence supports the name.
- Refresh this inventory from the live Ghidra database after rename batches; it is a snapshot, not a maintained source of truth.
Next Concrete Steps
- The address-ordered code-selector scan is complete through the final code segment
1470;1478and1480are data segments and1488is external memory. The refreshed globalFUN_search returns exactly1000:018aand1000:2bf2(the search at offset 2 is empty). - Identify
Ordinal_89for1000:018afrom an authoritative Phar Lap service table or a verified import map; the local extender notes, live import symbol, and inspected 1994 SDK header do not establish its service contract. - Revisit
1000:2bf2only when caller, raw-mapping, or boundary evidence can separate its entry from the malformedruntime_fatal_error_exit_1000_0240body. - Keep Ordinals 40 and 42 unnamed until their service contracts are independently verified.
- Resolve the two remaining exact auto-names only when authoritative ordinal evidence or reliable function-boundary/caller evidence becomes available; rerun the global
FUN_search after any such change. - Refresh the exact-name and per-block candidate inventory after each batch; the dated baseline was 381 functions across 46 code blocks, before Batches 87 and later.