REDIVIVUS

Proposals / #1041

Recover the Mac current-act helper result as the existing act enum

applied · by Commit-Will · submitted 2026-11-02, applied 2026-11-02

Ghidra vmac 111 · 3cfe190

Mac 0x00076e4c currently has an undefined result. Every normal return deliberately produces the byte from the existing act producer, or zero IF the diagnostic call returns. Use the existing one-byte eAct enum (ACT_I..ACT_V, values 0..4). Keep the selected name, unknown calling-convention label, zero formals and no-varargs model exactly; this claim does not recover ABI or hidden inputs. Nine recorded bodies total 507 code bytes plus 20 bounded threshold bytes. Native room/level/act code and the actual caller's AL projection support the semantic enum. The downstream GFX function has no local argument read, while its inner implicit register use remains unqualified; no GFX formal or global used/discarded claim follows. Global pointer contents were not captured and are not counted. No helper, caller, global, shared type, name or convention edit, numeric fallback, execution, original Mac-file hash or build-gain claim.

Changes 1, applied together

  1. Set prototype mac 0x00076e4c

    signatureundefined SCMD_GetCurrentAct(void)→eAct SCMD_GetCurrentAct(void)
    conventionunknown