//
// ProfilePage::onMyLists from 0x1405569a0 to 0x140556acc (300 bytes)
//
// 2 xrefs:
// > ProfilePage::loadPageFromUserInfo @ 0x140554fa6
// > ??> @ 0x14092be8c
//
// 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:34:11 +0000
//
char __fastcall ProfilePage::onMyLists(__int64 a1)
{
__int64 v2; // rax
__int64 v3; // rdx
__int64 v4; // r8
__int64 v5; // r9
__int64 v6; // rax
__int64 v7; // rcx
__int64 v8; // rcx
__int64 v9; // rcx
__int64 v10; // rbx
__int64 v11; // rcx
struct cocos2d::CCScene *v12; // rbx
__int64 v13; // rcx
cocos2d::CCDirector *v14; // rax
cocos2d::CCString *v15; // rax
const char *CString; // rax
size_t v17; // r8
struct cocos2d::CCScene *v18; // rax
struct cocos2d::CCScene *v19; // rbx
__int64 v20; // rcx
cocos2d::CCDirector *v21; // rax
__int128 v23; // [rsp+20h] [rbp-28h] BYREF
__int64 v24; // [rsp+30h] [rbp-18h]
__int64 v25; // [rsp+38h] [rbp-10h]
if ( *(_BYTE *)(a1 + 740) )
{
v2 = GJSearchObject::create_2(102);
LABEL_11:
*(_DWORD *)(v2 + 464) = 1;
v18 = (struct cocos2d::CCScene *)LevelBrowserLayer::scene(v2, v3, v4, v5);
v19 = cocos2d::CCTransitionFade::create(0.5, v18);
v21 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v20);
LOBYTE(v6) = cocos2d::CCDirector::pushScene(v21, v19);
return v6;
}
v6 = cocos2d::CCDirector::sharedDirector(a1);
if ( !*(_BYTE *)(v6 + 176) )
{
v8 = *(_QWORD *)(cocos2d::CCDirector::sharedDirector(v7) + 272);
if ( *(_DWORD *)(v8 + 28) != 15 )
{
if ( *(_QWORD *)(cocos2d::CCDirector::sharedDirector(v8) + 96) )
{
v12 = *(struct cocos2d::CCScene **)(cocos2d::CCDirector::sharedDirector(v9) + 96);
v14 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v13);
cocos2d::CCDirector::popToSceneInStack(v14, v12);
}
else
{
v10 = *(_QWORD *)(cocos2d::CCDirector::sharedDirector(v9) + 272);
*(_QWORD *)(cocos2d::CCDirector::sharedDirector(v11) + 96) = v10;
}
}
v15 = cocos2d::CCString::createWithFormat((const char *)&word_1406ED6F8, *(unsigned int *)(a1 + 736));
CString = cocos2d::CCString::getCString(v15);
v23 = 0;
v24 = 0;
v17 = -1;
v25 = 0;
do
++v17;
while ( CString[v17] );
sub_14003D230(&v23, CString, v17);
v2 = GJSearchObject::create_1(5, (__int64)&v23);
goto LABEL_11;
}
return v6;
}