REDIVIVUS

Proposals / #1178

Mac GetTickCount (Storm Win32Mac shim): uint32_t __cdecl (void) prototype

approved · by KierTaylor · submitted 2026-11-05, approved 2026-11-05

Mac 0x0002c0ee is "undefined (void)", convention unknown. Its whole body is PUSH EBP; MOV EBP,ESP; POP EBP; JMP 0x0001eade, a tail call to FPMilliseconds, which takes no arguments and returns a dword in EAX. Caller TASK_GetCurrentTime calls it with no argument setup (0x001b4e95) and returns its EAX. So it is a no-argument function returning uint32_t, matching the Win32 GetTickCount it stands in for (DWORD GetTickCount(void)).

Changes 1, applied together

  1. Set prototype mac 0x0002c0ee

    signatureundefined GetTickCount(void)→uint32_t GetTickCount(void)
    conventionunknown→__cdecl