//
// ProfilePage::onMyLists from 0x10019b37c to 0x10019b4bc (320 bytes)
//
// 1 xrefs:
// > ProfilePage::loadPageFromUserInfo @ 0x100199c50
//
// 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)
{
GJSearchObject *v2; // x19
cocos2d::CCDirector *v3; // x20
cocos2d::CCScene *v4; // x0
cocos2d::CCTransitionFade *v5; // x0
cocos2d::CCScene *m_pSceneReference; // x21
cocos2d::CCDirector *v8; // x20
cocos2d::CCDirector *v9; // x0
cocos2d::CCString *v10; // x0
char *CString; // x0
GJSearchObject *v12; // x19
cocos2d::CCDirector *v13; // x20
cocos2d::CCScene *v14; // x0
cocos2d::CCTransitionFade *v15; // x0
void *__p[2]; // [xsp+8h] [xbp-38h] BYREF
char v17; // [xsp+1Fh] [xbp-21h]
if ( a1->m_ownProfile )
{
v2 = GJSearchObject::create_2(MyLists);
v2->m_searchMode = 1;
v3 = cocos2d::CCDirector::sharedDirector();
v4 = LevelBrowserLayer::scene(v2);
v5 = cocos2d::CCTransitionFade::create_1(0.5, v4);
cocos2d::CCDirector::pushScene(v3, v5);
}
else 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 = (cocos2d::CCString *)sub_100268F4C("%i", a1->m_accountID);
CString = (char *)cocos2d::CCString::getCString(v10);
sub_100009900(__p, CString);
v12 = (GJSearchObject *)GJSearchObject::create_1(5, (__int128 *)__p);
if ( v17 < 0 )
operator delete(__p[0]);
v12->m_searchMode = 1;
v13 = cocos2d::CCDirector::sharedDirector();
v14 = LevelBrowserLayer::scene(v12);
v15 = cocos2d::CCTransitionFade::create_1(0.5, v14);
cocos2d::CCDirector::pushScene(v13, v15);
}
}