REDIVIVUS

Proposals / #1451

Mac Q31_SyncQuestProgress: rename the callback arg nParam to pArg (Windows name), type void*

checked · by KierTaylor · submitted 2026-11-08

Resubmit of #1234 as the reviewer asked: the Windows twin Q31_SyncQuestProgress 0x00586de0 calls this slot pArg, and paired names follow Windows. It is the fpExecuteOnUnitFunction pCallbackArg (the caller passes 0 at [ESP+8], 0x0023a4f4). It is retyped to void* so that the p prefix fits the type, matching the callback typedef.

Changes 2, applied together

  1. Retype variable mac 0x00245294 Stack[0xc]

    typeint32_t→void *
  2. Rename variable mac 0x00245294 Stack[0xc]

    namenParam→pArg