REDIVIVUS

Proposals / #1454

Mac SBIG_TrimLeadingZeros: void __cdecl (BigBuffer* pDwordArray)

checked · by KierTaylor · submitted 2026-11-08

The Mac body reads only [EBP+8] (the buffer: +4 count, +8 data, +0x10 base). It decrements the count while the top dword is zero, calling TSGrowableArray_Ui_Reserve 0x0000bc80 with -1 on underflow. There are no register args. Plain RET with no return value. Same shape as Windows twin 0x00422140 void (BigBuffer* pDwordArray).

Changes 1, applied together

  1. Set prototype mac 0x0000be34

    signatureundefined SBIG_TrimLeadingZeros(void)→void SBIG_TrimLeadingZeros(BigBuffer* pDwordArray)
    conventionunknown→__cdecl