// // cocos2d::extension::assetsManagerDownloadAndUncompress from 0x5a0290 to 0x5a02fc (108 bytes) // // 0 xrefs: // // 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 // int __fastcall cocos2d::extension::assetsManagerDownloadAndUncompress(cocos2d::extension *this, void *a2) { char *v3; // r1 _DWORD *v4; // r0 size_t v5; // r2 _DWORD *v6; // r0 _DWORD *v7; // r0 void *v8; // r0 v3 = *((char **)this + 2); v4 = *((_DWORD **)this + 5); v5 = *(v4 - 3); if ( v5 != *((_DWORD *)v3 - 3) || memcmp(v4, v3, v5) ) { if ( !cocos2d::extension::AssetsManager::downLoad(this, v3) ) goto LABEL_8; v6 = (_DWORD *)operator new(8u); *v6 = 1; v6[1] = this; cocos2d::extension::AssetsManager::Helper::sendMessage(*((_DWORD *)this + 7), (int)v6); } if ( cocos2d::extension::AssetsManager::uncompress(this) ) { v7 = (_DWORD *)operator new(8u); *v7 = 0; v7[1] = this; cocos2d::extension::AssetsManager::Helper::sendMessage(*((_DWORD *)this + 7), (int)v7); } else { cocos2d::extension::AssetsManager::sendErrorMessage((int)this, 3); } LABEL_8: v8 = *((void **)this + 8); if ( v8 ) { operator delete(v8); *((_DWORD *)this + 8) = 0; } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source