// // cocos2d::unzGetGlobalComment from 0x5f230a to 0x5f236c (98 bytes) // // 0 xrefs: // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // int __fastcall cocos2d::unzGetGlobalComment(cocos2d *this, _BYTE *a2, char *a3, unsigned int a4) { char *v7; // r4 unsigned int v9; // r3 if ( this ) { v7 = *((char **)this + 16); if ( v7 >= a3 ) v7 = a3; if ( cocos2d::call_zseek64( (int)this, *((_DWORD *)this + 12), *((_DWORD *)this + 26) + 22, (unsigned __int64)(*((_QWORD *)this + 13) + 22LL) >> 32, 0) ) { return -1; } if ( v7 ) { *a2 = 0; if ( (char *)(*((int (__fastcall **)(_DWORD, _DWORD, _BYTE *, char *))this + 1))( *((_DWORD *)this + 7), *((_DWORD *)this + 12), a2, v7) != v7 ) return -1; } else if ( !a2 ) { return (int)v7; } v9 = *((_DWORD *)this + 16); if ( (unsigned int)a3 > v9 ) a2[v9] = 0; return (int)v7; } return -102; }
GD Web Decomp Icon

GD Web Decomp

Raw Source