// // LevelBrowserLayer::onMyOnlineLevels from 0x1403e8420 to 0x1403e85ec (460 bytes) // // 2 xrefs: // > LevelBrowserLayer::init @ 0x1403e364f // > @ 0x140924ff8 // // 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:31:44 +0000 // // Hidden C++ exception states: #wind=3 bool __fastcall LevelBrowserLayer::onMyOnlineLevels(_QWORD *a1) { __int64 v2; // rax _QWORD *v3; // rax size_t v4; // r8 __int64 v5; // rbx __int64 v6; // rdx __int64 v7; // r8 __int64 v8; // r9 __int64 v9; // rax _QWORD *v10; // rax size_t v11; // r8 struct cocos2d::CCScene *v12; // rax struct cocos2d::CCScene *v13; // rbx __int64 v14; // rcx cocos2d::CCDirector *v15; // rax void *v17; // [rsp+20h] [rbp-98h] __int128 v18; // [rsp+28h] [rbp-90h] BYREF __int64 v19; // [rsp+38h] [rbp-80h] __int64 v20; // [rsp+40h] [rbp-78h] __int128 v21; // [rsp+48h] [rbp-70h] BYREF __int64 v22; // [rsp+58h] [rbp-60h] __int64 v23; // [rsp+60h] [rbp-58h] _QWORD v24[4]; // [rsp+68h] [rbp-50h] BYREF _QWORD v25[4]; // [rsp+88h] [rbp-30h] BYREF (*(void (__fastcall **)(_QWORD *, _QWORD))(*a1 + 992LL))(a1, 0); (*(void (__fastcall **)(_QWORD *, _QWORD))(*a1 + 1008LL))(a1, 0); if ( *(_DWORD *)(a1[83] + 320LL) == 102 ) { v2 = GJAccountManager::sharedState(); v3 = GameToolbox::intToString(v24, *(_DWORD *)(v2 + 360) - *(_DWORD *)(v2 + 364)); if ( v3[3] > 0xFu ) v3 = (_QWORD *)*v3; v18 = 0; v19 = 0; v20 = 0; v4 = -1; do ++v4; while ( *((_BYTE *)v3 + v4) ); sub_14003D230(&v18, v3, v4); v5 = GJSearchObject::create_1(5, (__int64)&v18); sub_14003D310((__int64)v24); *(_DWORD *)(v5 + 464) = 1; } else { v9 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v17 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v17); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v9 = qword_14090BFD0; } v10 = GameToolbox::intToString(v25, *(_DWORD *)(v9 + 692) - *(_DWORD *)(v9 + 696)); if ( v10[3] > 0xFu ) v10 = (_QWORD *)*v10; v21 = 0; v22 = 0; v23 = 0; v11 = -1; do ++v11; while ( *((_BYTE *)v10 + v11) ); sub_14003D230(&v21, v10, v11); v5 = GJSearchObject::create_1(5, (__int64)&v21); sub_14003D310((__int64)v25); } v12 = (struct cocos2d::CCScene *)LevelBrowserLayer::scene(v5, v6, v7, v8); v13 = cocos2d::CCTransitionFade::create(0.5, v12); v15 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v14); return cocos2d::CCDirector::replaceScene(v15, v13); }
GD Web Decomp Icon

GD Web Decomp

Raw Source