// // cocos2d::extension::AssetsManager::update from 0x59fc04 to 0x59fc98 (148 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 // _DWORD *__fastcall cocos2d::extension::AssetsManager::update(_DWORD *this, int a2) { _DWORD *v2; // r4 cocos2d::CCUserDefault *v3; // r0 pthread_t *v4; // r0 _DWORD v5[2]; // [sp+0h] [bp-8h] BYREF v5[0] = this; v5[1] = a2; v2 = this; if ( !*(this + 8) ) { if ( *(_DWORD *)(*(this + 4) - 12) ) { if ( *(_DWORD *)(*(this + 3) - 12) ) { this = (_DWORD *)(sub_7748A0((int)(this + 3), ".zip") + 1); if ( this ) { this = (_DWORD *)(*(int (__fastcall **)(_DWORD *))(*v2 + 8))(v2); if ( this ) { v3 = cocos2d::CCUserDefault::sharedUserDefault(); cocos2d::CCUserDefault::getStringForKey((cocos2d::CCUserDefault *)v5, (const char *)v3); sub_774794(v2 + 5, v5); sub_774008(v5); v4 = (pthread_t *)operator new(4u); *v4 = 0; v2[8] = v4; return (_DWORD *)pthread_create( v4, nullptr, (void *(*)(void *))cocos2d::extension::assetsManagerDownloadAndUncompress, v2); } } } } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source