// // LevelInfoLayer::loadReplay from 0x49a38c to 0x49a45c (208 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:49:44 +0000 // int __fastcall LevelInfoLayer::loadReplay(LevelInfoLayer *this, int a2, int a3, int a4) { _BYTE *v5; // r4 cocos2d::CCDirector *v6; // r0 cocos2d::CCDirector *v7; // r4 cocos2d::CCScene *v8; // r2 cocos2d::CCScene *v9; // r0 int result; // r0 _DWORD v11[4]; // [sp+0h] [bp-10h] BYREF v11[0] = this; v11[1] = a2; v11[2] = a3; v11[3] = a4; v5 = *(_BYTE **)(GameManager::sharedState(this) + 404); v5[10728] = 1; v5[10936] = 1; cocos2d::ZipUtils::decompressString(v11, *((_DWORD *)this + 91) + 1148, 0, 11); GJBaseGameLayer::setupReplay(v5, v11); std::string::~string((int)v11); v6 = (cocos2d::CCDirector *)(*(int (__fastcall **)(_BYTE *))(*(_DWORD *)v5 + 804))(v5); v5[10880] = 1; v5[10730] = 1; while ( *((_DWORD *)v5 + 2762) != *((_DWORD *)v5 + 2763) ) v6 = (cocos2d::CCDirector *)(*(int (__fastcall **)(_BYTE *, int))(*(_DWORD *)v5 + 20))(v5, 998803593); v5[10730] = 0; v5[10728] = 0; v5[10880] = 0; v7 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v6); v9 = (cocos2d::CCScene *)cocos2d::CCTransitionFade::create( (cocos2d::CCTransitionFade *)0x3F000000, *((float *)this + 120), v8); cocos2d::CCDirector::replaceScene(v7, v9); result = cocos2d::CCObject::release(*((cocos2d::CCObject **)this + 120)); *((_DWORD *)this + 120) = 0; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source