// // cocos2d::unzGetLocalExtrafield from 0x7fd52c to 0x7fd5a6 (122 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:01:17 +0000 // 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