// // LevelBrowserLayer::onSavedMode from 0x1004978b8 to 0x100497960 (168 bytes) // // 1 xrefs: // > LevelBrowserLayer::init @ 0x1004961a0 // // 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 11:05:57 +0000 // _QWORD *__fastcall LevelBrowserLayer::onSavedMode(_QWORD *result) { _QWORD *v1; // x19 int v2; // w20 __int64 v3; // x19 char *v4; // x0 __int64 v5; // x19 __int64 v6; // x20 _QWORD *v7; // x0 char *v8; // x1 if ( result[83] ) { v1 = result; (*(void (__fastcall **)(_QWORD *, _QWORD))(*result + 1072LL))(result, 0); (*(void (__fastcall **)(_QWORD *, _QWORD))(*v1 + 1088LL))(v1, 0); v2 = *(_DWORD *)(v1[83] + 316LL); if ( v2 == 99 ) v3 = 103; else v3 = 99; *(_DWORD *)(GameManager::sharedState() + 1308) = v3; v4 = GJSearchObject::create_2(v3); v5 = (__int64)v4; if ( v2 == 99 ) *((_DWORD *)v4 + 108) = 1; v6 = cocos2d::CCDirector::sharedDirector(); v7 = LevelBrowserLayer::scene(v5); v8 = cocos2d::CCTransitionFade::create_1((__int64)v7, 0.5); return (_QWORD *)cocos2d::CCDirector::replaceScene(v6, v8); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source