// // LevelListCell::onClick from 0x14015f850 to 0x14015fa41 (497 bytes) // // 2 xrefs: // > LevelListCell::loadFromList @ 0x14015ea83 // > @ 0x140917c78 // // This function is hookable on this platform (idp: pc, 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:27:24 +0000 // // Hidden C++ exception states: #wind=3 char __fastcall LevelListCell::onClick(__int64 a1) { __int64 v2; // rax __int64 (__fastcall ***v3)(_QWORD, __int64, __int64, __int64, _QWORD); // rcx __int64 v4; // r8 __int64 v5; // rdi __int64 v6; // rcx struct cocos2d::CCScene *v7; // rax struct cocos2d::CCScene *v8; // rbx __int64 v9; // rcx cocos2d::CCDirector *v10; // rax struct cocos2d::CCScene *v11; // rax struct cocos2d::CCScene *v12; // rbx __int64 v13; // rcx cocos2d::CCDirector *v14; // rax void *v16; // [rsp+40h] [rbp+8h] void *v17; // [rsp+40h] [rbp+8h] void *v18; // [rsp+40h] [rbp+8h] if ( *(_BYTE *)(a1 + 568) ) { v2 = *(_QWORD *)(a1 + 416); v3 = *(__int64 (__fastcall ****)(_QWORD, __int64, __int64, __int64, _QWORD))(v2 + 624); if ( v3 ) { v4 = 28; if ( *(_BYTE *)(a1 + 569) ) v4 = 39; LOBYTE(v2) = (**v3)(v3, a1, v4, 1, 0); } } else { v5 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v16 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager(v16); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v5 = qword_14090BFD0; } if ( (unsigned __int8)GameManager::getGameVariable(v5, "0218") || (unsigned __int8)GameManager::getGameVariable(v5, "0219") || (unsigned __int8)GameManager::getGameVariable(v5, "0077") ) { if ( !qword_14090BFD0 ) { v18 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager(v18); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); } LOBYTE(v2) = GameManager::showParentalRestrictedAlert(); } else { v6 = *(_QWORD *)(a1 + 560); if ( *(_DWORD *)(v6 + 584) == 2 ) { v7 = (struct cocos2d::CCScene *)LevelListLayer::scene(v6); v8 = cocos2d::CCTransitionFade::create(0.5, v7); v10 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v9); LOBYTE(v2) = cocos2d::CCDirector::replaceScene(v10, v8); } else { if ( !*(_QWORD *)&qword_14090BFB0 ) { v17 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v17); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); } GameLevelManager::updateSavedLevelList(v6, *(_QWORD *)(a1 + 560)); v11 = (struct cocos2d::CCScene *)LevelListLayer::scene(*(_QWORD *)(a1 + 560)); v12 = cocos2d::CCTransitionFade::create(0.5, v11); v14 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v13); LOBYTE(v2) = cocos2d::CCDirector::pushScene(v14, v12); } } } return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source