REDIVIVUS

Proposals / #855

Type nullable Mac game-name and password getter results

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

Ghidra vmac 111 · 3cfe190

Both Mac WINMAIN game-name/password getters have undefined return metadata. Complete bodies explicitly return NULL or the address of a byte string in current client state; sole AUTOMAP caller null-checks and passes each unchanged to imported strlen, then copies strlen+1 bytes. Return existing char*, preserving selected names, current zero formals and unknown conventions verbatim. Every native return, own PIC/byte-field producer, sole incoming call and full-EAX-to-string-argument path verified; no outer structure identity or ABI recovery. Six complete original Mac code regions6041bytes match separate assembly, plus16 switch bytes close full5912-byte caller paths. IP sibling is evidence only for EBX preservation and held from string typing because its use is null-only. No shared global/layout/helper/receiver edits, Windows pairing/runtime/build claim, or held-contract workaround.

Changes 2, applied together

  1. Set prototype mac 0x0005db93

    signatureundefined WINMAIN_GetGameName(void)→char * WINMAIN_GetGameName(void)
    conventionunknown
  2. Set prototype mac 0x0005dbb8

    signatureundefined WINMAIN_GetGamePassword(void)→char * WINMAIN_GetGamePassword(void)
    conventionunknown