REDIVIVUS

Proposals / #1602

Mac StormGetInstance: void* __cdecl (void)

checked · by KierTaylor · submitted 2026-11-08

It reads no register or stack args. It returns GetModuleHandle(NULL) (0x0002a16f with [ESP]=0, the current-process module handle) unchanged in EAX. Callers use it as the HINSTANCE: SERR_GetString 0x0001084d passes EAX as [ESP] to LoadString with the string id and a 0x100-byte buffer. This is the Storm instance getter; HINSTANCE is not in the Mac DB, so it is typed void*.

Changes 1, applied together

  1. Set prototype mac 0x00035545

    signatureundefined StormGetInstance(void)→void* StormGetInstance(void)
    conventionunknown→__cdecl