// // ProfilePage::onMyLists from 0x1007be420 to 0x1007be5d9 (441 bytes) // // 1 xrefs: // > ProfilePage::loadPageFromUserInfo @ 0x1007bc129 // // 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 // void __fastcall ProfilePage::onMyLists(ProfilePage *a1, cocos2d::CCObject *a2) { double v2; // xmm0_8 GJSearchObject *v3; // rbx cocos2d::CCDirector *v4; // r14 cocos2d::CCScene *v5; // rax cocos2d::CCTransitionFade *v6; // rax cocos2d::CCScene *m_pSceneReference; // r15 cocos2d::CCDirector *v8; // r14 cocos2d::CCDirector *v9; // rax char *v10; // rax const char *CString; // r14 size_t v12; // rax size_t v13; // rbx char *v14; // r15 size_t v15; // r12 GJSearchObject *v16; // rbx cocos2d::CCDirector *v17; // r14 cocos2d::CCScene *v18; // rax cocos2d::CCTransitionFade *v19; // rax _QWORD __dst[2]; // [rsp+8h] [rbp-38h] BYREF void *__p; // [rsp+18h] [rbp-28h] if ( a1->m_ownProfile ) { v3 = GJSearchObject::create_2(MyLists); v3->m_searchMode = 1; v4 = cocos2d::CCDirector::sharedDirector(); v5 = LevelBrowserLayer::scene(v3); v6 = cocos2d::CCTransitionFade::create_1(0.5, v5); cocos2d::CCDirector::pushScene(v4, v6); return; } if ( !cocos2d::CCDirector::sharedDirector()->m_bIsTransitioning ) { if ( cocos2d::CCDirector::sharedDirector()->m_pRunningScene->m_eObjType != MenuLayerObjectType ) { m_pSceneReference = cocos2d::CCDirector::sharedDirector()->m_pSceneReference; v8 = cocos2d::CCDirector::sharedDirector(); v9 = cocos2d::CCDirector::sharedDirector(); if ( m_pSceneReference ) cocos2d::CCDirector::popToSceneInStack(v8, v9->m_pSceneReference); else v8->m_pSceneReference = v9->m_pRunningScene; } v10 = sub_1007AB580("%i", a1->m_accountID); CString = cocos2d::CCString::getCString((cocos2d::CCString *)v10); v12 = strlen(CString); if ( v12 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100006BF0(v2); v13 = v12; if ( v12 >= 0x17 ) { v15 = 26; if ( (v12 | 7) != 0x17 ) v15 = (v12 | 7) + 1; v14 = (char *)operator new(v15); __p = v14; __dst[0] = v15 + 1; __dst[1] = v13; } else { LOBYTE(__dst[0]) = 2 * v12; v14 = (char *)__dst + 1; if ( !v12 ) goto LABEL_16; } memmove(v14, CString, v13); LABEL_16: v14[v13] = 0; v16 = (GJSearchObject *)GJSearchObject::create_1(5, (__int64)__dst, v2); if ( (__dst[0] & 1) != 0 ) operator delete(__p); v16->m_searchMode = 1; v17 = cocos2d::CCDirector::sharedDirector(); v18 = LevelBrowserLayer::scene(v16); v19 = cocos2d::CCTransitionFade::create_1(0.5, v18); cocos2d::CCDirector::pushScene(v17, v19); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source