// // cocos2d::ZipFile::ZipFile from 0xb2be34 to 0xb2bf14 (224 bytes) // // 3 xrefs: // > cocos2d::CCFileUtils::sharedFileUtils @ 0xb0b500 // > @ 0x5de10 // > @ 0xb5920 // // 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 // // Alternative name is '_ZN7cocos2d7ZipFileC2ERKSsS2_' __int64 __fastcall cocos2d::ZipFile::ZipFile(_QWORD *a1, cocos2d **a2, const void **a3) { __int64 v5; // x0 __int64 v6; // x4 _QWORD *v7; // x21 cocos2d *v8; // x0 const char *v9; // x1 cocos2d *v10; // x0 __int64 *v11; // x20 const char *v12; // x1 __int64 v13; // x0 __int64 *v14; // x1 __int64 result; // x0 *a1 = off_1219940; v5 = operator new(0x38u); *(_QWORD *)(v5 + 32) = v5 + 16; *(_QWORD *)(v5 + 40) = v5 + 16; *(_DWORD *)(v5 + 16) = 0; *(_QWORD *)(v5 + 24) = 0; *(_QWORD *)(v5 + 48) = 0; a1[1] = v5; v6 = operator new(0x38u); v7 = (_QWORD *)a1[1]; v8 = *a2; *(_DWORD *)(v6 + 16) = 0; *(_QWORD *)(v6 + 24) = 0; *(_QWORD *)(v6 + 48) = 0; *(_QWORD *)(v6 + 32) = v6 + 16; *(_QWORD *)(v6 + 40) = v6 + 16; a1[2] = v6; *v7 = cocos2d::unzOpen(v8, v9); v10 = *a2; v11 = (__int64 *)a1[2]; v13 = cocos2d::unzOpen(v10, v12); v14 = (__int64 *)a1[1]; *v11 = v13; result = *v14; if ( *v14 ) { result = *(_QWORD *)a1[2]; if ( result ) return cocos2d::ZipFile::setFilter((__int64)a1, a3); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source