REDIVIVUS

Proposals / #1299

Mac MAINMENU_ResetSelectedCharGameState: void __cdecl (void)

checked · by KierTaylor · submitted 2026-11-06

The Mac body has no argument reads: it stores 0 into one global and does a plain RET (EAX is only the PIC base). Its address is taken in MAINMENU_RunFrontEnd (LEA at 0x002c8b00) and passed as [ESP] to the callback registrar 0x0004a5dd, a no-argument callback slot. There is no Windows symbol with this name; the prototype follows the body.

Changes 1, applied together

  1. Set prototype mac 0x002c7a8e

    signatureundefined MAINMENU_ResetSelectedCharGameState(void)→void MAINMENU_ResetSelectedCharGameState(void)
    conventionunknown→__cdecl