REDIVIVUS

Proposals / #798

Type CUNIT_IterateServerUnitsWithCallback's parameter as a pointer to the callback

applied · by dtchitt · submitted 2026-11-02, applied 2026-11-02

Ghidra v1809 · 41c2819

Resubmit of #672 with the type the review asked for. The parameter is a callback, not an int. The function halts if it is null, moves it to EBX and calls CUNIT_IterateHashTableWithCallback, whose parameter in that register is typed fnUnitIterCallback *. Same width, so only the type and name change.

Changes 2, applied together

  1. Rename variable win 0x00464950 ECX

    namenParam→pfnCallback
  2. Retype variable win 0x00464950 ECX

    typeint32_t→fnUnitIterCallback *