REDIVIVUS

Proposals / #1323

Mac OOGUTIL_ProcessGameListEntry: int __cdecl (D2ControlStrc* pControl) form callback

checked · by KierTaylor · submitted 2026-11-06

The address is stored in the gaPredefinedForms table (DATA ref 0x003cd208 = form [47] +0x24 callback slot), like the Windows twin 0x004439f0 (int (D2ControlStrc* pControl)). The Mac body never reads the control arg (it works off the global game-list control), but the form-callback slot passes it, so the slot is kept. It returns EDI (0, or 1 at 0x002d85a6) via MOV EAX,EDI with a plain RET. It is also called directly from OOGUTIL_HandleGameCreation 0x002d828e.

Changes 1, applied together

  1. Set prototype mac 0x002d83ea

    signatureundefined OOGUTIL_ProcessGameListEntry(void)→int OOGUTIL_ProcessGameListEntry(D2ControlStrc* pControl)
    conventionunknown→__cdecl