Mac SBIG_TrimLeadingZeros: void __cdecl (BigBuffer* pDwordArray)
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
Set prototype
mac 0x0000be34signatureundefined SBIG_TrimLeadingZeros(void)→void SBIG_TrimLeadingZeros(BigBuffer* pDwordArray)conventionunknown→__cdecl