// // LevelListLayer::onRefreshLevelList from 0x14042e4e0 to 0x14042e6af (463 bytes) // // 2 xrefs: // > LevelListLayer::init @ 0x14042c250 // > @ 0x140926b58 // // 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:32:14 +0000 // // Hidden C++ exception states: #wind=4 void __fastcall LevelListLayer::onRefreshLevelList(__int64 a1, __int64 a2) { __int64 v3; // rbx __int64 v4; // rax __int64 v5; // rcx __int64 v6; // rsi void **v7; // rax __int64 v8; // rbx void *v9; // rdx _BYTE *Key; // rax size_t v11; // r8 _BYTE *v12; // rbx __int64 v13; // rcx cocos2d::CCActionManager **v14; // rcx _QWORD v15[5]; // [rsp+20h] [rbp-28h] BYREF void *v16; // [rsp+50h] [rbp+8h] void *v17; // [rsp+50h] [rbp+8h] void *v18; // [rsp+50h] [rbp+8h] v3 = a1 + 544; if ( !a1 ) v3 = 0; v4 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v16 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v16); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v4 = *(_QWORD *)&qword_14090BFB0; } *(_QWORD *)(v4 + 1352) = v3; v5 = *(_QWORD *)(a1 + 648); if ( v5 ) (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v5 + 336LL))(v5, 0); LOBYTE(a2) = 1; (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 736) + 336LL))(*(_QWORD *)(a1 + 736), a2); LevelBrowserLayer::setupLevelBrowser(a1, nullptr); v6 = GJSearchObject::create_2(0); v7 = (void **)GameToolbox::intToString(v15, *(_DWORD *)(*(_QWORD *)(a1 + 920) + 344LL)); v8 = (__int64)v7; if ( (void **)(v6 + 328) != v7 ) { v9 = v7; if ( (unsigned __int64)v7[3] > 0xF ) v9 = *v7; sub_1400405A0((void **)(v6 + 328), v9, (size_t)v7[2]); } sub_14003D310(v8); *(_DWORD *)(v6 + 464) = 1; Key = (_BYTE *)GJSearchObject::getKey(v6); v11 = -1; do ++v11; while ( Key[v11] ); v12 = (_BYTE *)(a1 + 928); sub_1400405A0((void **)(a1 + 928), Key, v11); if ( *(_QWORD *)(a1 + 952) > 0xFu ) v12 = *(_BYTE **)v12; v13 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v17 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v17); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v13 = *(_QWORD *)&qword_14090BFB0; } GameLevelManager::resetTimerForKey(v13, v12); v14 = *(cocos2d::CCActionManager ***)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v18 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v18); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v14 = *(cocos2d::CCActionManager ***)&qword_14090BFB0; } GameLevelManager::getLevelLists(v14, v6); }
GD Web Decomp Icon

GD Web Decomp

Raw Source