// // cocos2d::ZipFile::getFileData from 0xd9b2c0 to 0xd9b3c4 (260 bytes) // // 3 xrefs: // > cocos2d::CCFileUtilsAndroid::doGetFileData @ 0xd7c2c0 // > cocos2d::ZipFile::getFileData @ 0xd9b3c8 // > @ 0xf3328 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 13:08:26 +0000 // void *__fastcall cocos2d::ZipFile::getFileData(__int64 a1, __int64 a2, _QWORD *a3, cocos2d **a4) { __int64 v6; // x2 __int64 *v7; // x0 __int64 *v8; // x2 cocos2d *v9; // x0 __int64 v10; // x4 __int64 v11; // x5 void *v12; // x1 void *v13; // x23 unsigned int v14; // w3 void *v15; // x1 _QWORD v17[2]; // [xsp+40h] [xbp+40h] BYREF unsigned __int64 v18; // [xsp+50h] [xbp+50h] if ( a3 ) *a3 = 0; if ( !*a4 ) return nullptr; v6 = *(_BYTE *)a2 >> 1; if ( (*(_BYTE *)a2 & 1) != 0 ) v6 = *(_QWORD *)(a2 + 8); if ( !v6 ) return nullptr; v7 = std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::find( (__int64)(a4 + 1), a2); if ( v7 == (__int64 *)(a4 + 2) ) return nullptr; v8 = v7 + 7; v9 = *a4; v10 = *v8; v11 = v8[1]; v18 = v8[2]; v17[0] = v10; v17[1] = v11; if ( (unsigned int)cocos2d::unzGoToFilePos(v9, v17) || (unsigned int)cocos2d::unzOpenCurrentFile(*a4, v12) ) return nullptr; v13 = (void *)operator new[](v18); cocos2d::unzReadCurrentFile(*a4, v13, (void *)(unsigned int)v18, v14); if ( a3 ) *a3 = v18; cocos2d::unzCloseCurrentFile(*a4, v15); return v13; }
GD Web Decomp Icon

GD Web Decomp

Raw Source