// // ProfilePage::onMyLevels from 0x1403c3980 to 0x1403c3b27 (423 bytes) // // 2 xrefs: // > ProfilePage::loadPageFromUserInfo @ 0x1403c25b0 // > @ 0x1406d7778 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // // Hidden C++ exception states: #wind=1 void ProfilePage::onMyLevels(ProfilePage *a1, cocos2d::CCObject *a2) { __int64 v3; // rax __int64 v4; // rcx __int64 v5; // rcx __int64 v6; // rcx __int64 v7; // rcx __int64 v8; // rbx __int64 v9; // rcx struct cocos2d::CCScene *v10; // rbx __int64 v11; // rcx cocos2d::CCDirector *v12; // rax __int64 v13; // rcx cocos2d::CCString *v14; // rax int v15; // eax cocos2d::CCString *v16; // rax const char *CString; // rax size_t v18; // r8 GJSearchObject *v19; // rbx struct cocos2d::CCScene *v20; // rdi __int64 v21; // rcx LevelBrowserLayer *v22; // rax struct cocos2d::CCTransitionFade *v23; // rbx __int64 v24; // rcx cocos2d::CCDirector *v25; // rax __int128 v26; // [rsp+20h] [rbp-28h] BYREF __int64 v27; // [rsp+30h] [rbp-18h] __int64 v28; // [rsp+38h] [rbp-10h] void *v29; // [rsp+50h] [rbp+8h] if ( a1->m_ownProfile ) { v3 = (__int64)GJSearchObject::create_2(MyLevels); } else { if ( *(_BYTE *)(cocos2d::CCDirector::sharedDirector(a1) + 168) ) return; v6 = *(_QWORD *)(cocos2d::CCDirector::sharedDirector(v5) + 264); if ( *(_DWORD *)(v6 + 28) != 15 ) { if ( *(_QWORD *)(cocos2d::CCDirector::sharedDirector(v6) + 96) ) { v10 = *(struct cocos2d::CCScene **)(cocos2d::CCDirector::sharedDirector(v7) + 96); v12 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v11); cocos2d::CCDirector::popToSceneInStack(v12, v10); } else { v8 = *(_QWORD *)(cocos2d::CCDirector::sharedDirector(v7) + 264); *(_QWORD *)(cocos2d::CCDirector::sharedDirector(v9) + 96) = v8; } } v13 = qword_1406C2EC0; if ( !qword_1406C2EC0 ) { v29 = operator new(0x3D0u); qword_1406C2EC0 = sub_140141280((__int64)v29); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0); v13 = qword_1406C2EC0; } v14 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey( *(cocos2d::CCDictionary **)(v13 + 528), a1->m_accountID); v15 = cocos2d::CCString::intValue(v14); v16 = cocos2d::CCString::createWithFormat("%i", v15); CString = cocos2d::CCString::getCString(v16); v26 = 0; v27 = 0; v28 = 0; v18 = -1; do ++v18; while ( CString[v18] ); sub_14003A930(&v26, CString, v18); v3 = GJSearchObject::create_1(5, (__int64)&v26); } v19 = (GJSearchObject *)v3; v20 = (struct cocos2d::CCScene *)cocos2d::CCScene::create(v4); *(_QWORD *)(cocos2d::CCApplication::sharedApplication(v21) + 224) = v20; v22 = LevelBrowserLayer::create(v19); v20->addChild_1(v20, v22); v23 = cocos2d::CCTransitionFade::create(0.5, v20); v25 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v24); cocos2d::CCDirector::pushScene(v25, v23); }
GD Web Decomp Icon

GD Web Decomp

Raw Source