// // cocos2d::unzGetLocalExtrafield from 0x5f1e88 to 0x5f1f02 (122 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::unzGetLocalExtrafield(cocos2d *this, void *a2, void *a3, unsigned int a4) { int v6; // r5 __int64 v7; // r2 unsigned __int64 v8; // r0 if ( this && (v6 = *((_DWORD *)this + 56)) != 0 ) { v7 = *(_QWORD *)(v6 + 96); v8 = *(unsigned int *)(v6 + 88) - v7; if ( a2 ) { if ( v8 < (unsigned int)a3 ) a3 = (void *)(*(_DWORD *)(v6 + 88) - v7); if ( a3 ) { if ( cocos2d::call_zseek64( v6 + 136, *(_DWORD *)(v6 + 180), v7 + *(_DWORD *)(v6 + 80), (unsigned __int64)(v7 + *(_QWORD *)(v6 + 80)) >> 32, 0) || (LODWORD(v8) = (*(int (__fastcall **)(_DWORD, _DWORD, void *, void *))(v6 + 140))( *(_DWORD *)(v6 + 164), *(_DWORD *)(v6 + 180), a2, a3), (void *)v8 != a3) ) { LODWORD(v8) = -1; } } else { LODWORD(v8) = 0; } } } else { LODWORD(v8) = -102; } return v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source