REDIVIVUS

Proposals / #1453

Mac SBIG_GrowToIndexNoZero: void __cdecl (BigBuffer* pDwordArray, int32_t nIndex)

checked · by KierTaylor · submitted 2026-11-08

The Mac body reads [EBP+8] (the buffer: +4 count, +0x10 base) and [EBP+0xc] (the index added to +0x10). If more room is needed it calls TSGrowableArray_Ui_Reserve 0x0000bc80, then stores the new count at +4. There are no register args. Plain RET, and nothing loads EAX. Same shape as Windows twin 0x004220d0 void (BigBuffer* pDwordArray, int32_t nIndex).

Changes 1, applied together

  1. Set prototype mac 0x0000bc46

    signatureundefined SBIG_GrowToIndexNoZero(void)→void SBIG_GrowToIndexNoZero(BigBuffer* pDwordArray, int32_t nIndex)
    conventionunknown→__cdecl