// // cocos2d::unzCloseCurrentFile from 0xb2e0a8 to 0xb2e140 (152 bytes) // // 7 xrefs: // > cocos2d::extension::AssetsManager::uncompress @ 0xa97a68 // > cocos2d::extension::AssetsManager::uncompress @ 0xa97ab0 // > cocos2d::CCFileUtils::getFileDataFromZip @ 0xb04298 // > cocos2d::ZipFile::getFileData @ 0xb2b420 // > cocos2d::unzClose @ 0xb2e15c // > cocos2d::unzOpenCurrentFile3 @ 0xb2e1e4 // > @ 0x35fe8 // // 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 // __int64 __fastcall cocos2d::unzCloseCurrentFile(cocos2d *this, void *a2) { __int64 v2; // x19 unsigned int v3; // w21 __int64 v5; // x0 if ( !this ) return 4294967194LL; v2 = *((_QWORD *)this + 40); if ( !v2 ) return 4294967194LL; v3 = 0; if ( !*(_QWORD *)(v2 + 192) && !*(_DWORD *)(v2 + 312) ) { if ( *(_QWORD *)(v2 + 168) == *(_QWORD *)(v2 + 176) ) v3 = 0; else v3 = -105; } if ( *(_QWORD *)v2 ) free(*(void **)v2); v5 = *(_QWORD *)(v2 + 128); *(_QWORD *)v2 = 0; if ( v5 == 8 ) inflateEnd(v2 + 8); free((void *)v2); *((_QWORD *)this + 40) = 0; return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source