// // cocos2d::extension::assetsManagerDownloadAndUncompress from 0xa98408 to 0xa984d4 (204 bytes) // // 3 xrefs: // > @ 0x3f1c8 // > cocos2d::extension::AssetsManager::update @ 0xa9772c // > @ 0x122a010 // // 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::extension::assetsManagerDownloadAndUncompress(cocos2d::extension *this, void *a2) { _QWORD *v3; // x0 _QWORD *v4; // x1 size_t v5; // x2 void *v6; // x0 __int64 v8; // x2 __int64 v9; // x0 __int64 v10; // x2 __int64 v11; // x0 v3 = *((_QWORD **)this + 5); v4 = *((_QWORD **)this + 2); v5 = *(v3 - 3); if ( v5 != *(v4 - 3) || memcmp(v3, v4, v5) ) { if ( !(unsigned __int8)cocos2d::extension::AssetsManager::downLoad(this) ) goto LABEL_3; v10 = operator new(0x10u); v11 = *((_QWORD *)this + 7); *(_DWORD *)v10 = 1; *(_QWORD *)(v10 + 8) = this; cocos2d::extension::AssetsManager::Helper::sendMessage(v11, v10); } if ( (unsigned __int8)cocos2d::extension::AssetsManager::uncompress(this) ) { v8 = operator new(0x10u); v9 = *((_QWORD *)this + 7); *(_DWORD *)v8 = 0; *(_QWORD *)(v8 + 8) = this; cocos2d::extension::AssetsManager::Helper::sendMessage(v9, v8); } else { cocos2d::extension::AssetsManager::sendErrorMessage((__int64)this, 3); } LABEL_3: v6 = *((void **)this + 8); if ( v6 ) { operator delete(v6); *((_QWORD *)this + 8) = 0; } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source