// // LevelInfoLayer::loadReplay from 0x7e6200 to 0x7e6358 (344 bytes) // // 1 xrefs: // > @ 0xee648 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 12:54:29 +0000 // __int64 __fastcall LevelInfoLayer::loadReplay(LevelInfoLayer *this) { __int64 v2; // x19 cocos2d::CCDirector *i; // x0 cocos2d::CCDirector *v4; // x19 cocos2d::CCScene *v5; // x1 cocos2d::CCScene *v6; // x0 void *v8[3]; // [xsp+40h] [xbp+40h] BYREF v2 = *(_QWORD *)(GameManager::sharedState(_stack_chk_guard) + 544); *(_BYTE *)(v2 + 12448) = 1; *(_BYTE *)(v2 + 12744) = 1; cocos2d::ZipUtils::decompressString(v8, *((_QWORD *)this + 63) + 1472LL, 0, 11); GJBaseGameLayer::setupReplay(v2, v8); if ( ((__int64)v8[0] & 1) != 0 ) operator delete(v8[2]); (*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 1608LL))(v2); *(_BYTE *)(v2 + 12664) = 1; *(_BYTE *)(v2 + 12450) = 1; for ( i = *(cocos2d::CCDirector **)(v2 + 12928); *(cocos2d::CCDirector **)(v2 + 12920) != i; i = *(cocos2d::CCDirector **)(v2 + 12928) ) { (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v2 + 40LL))(v2, 0.0041667); } *(_BYTE *)(v2 + 12450) = 0; *(_BYTE *)(v2 + 12448) = 0; *(_BYTE *)(v2 + 12664) = 0; v4 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(i); v6 = (cocos2d::CCScene *)cocos2d::CCTransitionFade::create(*((cocos2d::CCTransitionFade **)this + 89), 0.5, v5); cocos2d::CCDirector::replaceScene(v4, v6); cocos2d::CCObject::release(*((cocos2d::CCObject **)this + 89)); *((_QWORD *)this + 89) = 0; return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source