{"type": "func", "start": 5372656432, "end": 5372656773, "name": "ProfilePage::onMyLists", "pseudocode": "// \n// ProfilePage::onMyLists from 0x1403c3b30 to 0x1403c3c85 (341 bytes)\n// \n// 2 xrefs:\n// > ProfilePage::loadPageFromUserInfo @ 0x1403c273b\n// > <???> @ 0x1406d7784\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid ProfilePage::onMyLists(ProfilePage *a1, cocos2d::CCObject *a2)\n{\n  __int64 v3; // rax\n  __int64 v4; // rcx\n  __int64 v5; // rcx\n  __int64 v6; // rcx\n  __int64 v7; // rcx\n  __int64 v8; // rbx\n  __int64 v9; // rcx\n  struct cocos2d::CCScene *v10; // rbx\n  __int64 v11; // rcx\n  cocos2d::CCDirector *v12; // rax\n  cocos2d::CCString *v13; // rax\n  const char *CString; // rax\n  size_t v15; // r8\n  GJSearchObject *v16; // rbx\n  struct cocos2d::CCScene *v17; // rdi\n  __int64 v18; // rcx\n  LevelBrowserLayer *v19; // rax\n  struct cocos2d::CCTransitionFade *v20; // rbx\n  __int64 v21; // rcx\n  cocos2d::CCDirector *v22; // rax\n  __int128 v23; // [rsp+20h] [rbp-28h] BYREF\n  __int64 v24; // [rsp+30h] [rbp-18h]\n  __int64 v25; // [rsp+38h] [rbp-10h]\n\n  if ( a1->m_ownProfile )\n  {\n    v3 = (__int64)GJSearchObject::create_2(MyLists);\n  }\n  else\n  {\n    if ( *(_BYTE *)(cocos2d::CCDirector::sharedDirector(a1) + 168) )\n      return;\n    v6 = *(_QWORD *)(cocos2d::CCDirector::sharedDirector(v5) + 264);\n    if ( *(_DWORD *)(v6 + 28) != 15 )\n    {\n      if ( *(_QWORD *)(cocos2d::CCDirector::sharedDirector(v6) + 96) )\n      {\n        v10 = *(struct cocos2d::CCScene **)(cocos2d::CCDirector::sharedDirector(v7) + 96);\n        v12 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v11);\n        cocos2d::CCDirector::popToSceneInStack(v12, v10);\n      }\n      else\n      {\n        v8 = *(_QWORD *)(cocos2d::CCDirector::sharedDirector(v7) + 264);\n        *(_QWORD *)(cocos2d::CCDirector::sharedDirector(v9) + 96) = v8;\n      }\n    }\n    v13 = cocos2d::CCString::createWithFormat(\"%i\", a1->m_accountID);\n    CString = cocos2d::CCString::getCString(v13);\n    v23 = 0;\n    v24 = 0;\n    v15 = -1;\n    v25 = 0;\n    do\n      ++v15;\n    while ( CString[v15] );\n    sub_14003A930(&v23, CString, v15);\n    v3 = GJSearchObject::create_1(5, (__int64)&v23);\n  }\n  v16 = (GJSearchObject *)v3;\n  *(_DWORD *)(v3 + 464) = 1;\n  v17 = (struct cocos2d::CCScene *)cocos2d::CCScene::create(v4);\n  *(_QWORD *)(cocos2d::CCApplication::sharedApplication(v18) + 224) = v17;\n  v19 = LevelBrowserLayer::create(v16);\n  v17->addChild_1(v17, v19);\n  v20 = cocos2d::CCTransitionFade::create(0.5, v17);\n  v22 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v21);\n  cocos2d::CCDirector::pushScene(v22, v20);\n}", "assembly": "; \n; ProfilePage::onMyLists from 0x1403c3b30 to 0x1403c3c85 (341 bytes)\n; \n; 2 xrefs:\n; > ProfilePage::loadPageFromUserInfo @ 0x1403c273b\n; > <???> @ 0x1406d7784\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x1403c3b30\npush    rdi                                                            ; +0x5, 0x1403c3b35\nsub     rsp, 40h                                                       ; +0x6, 0x1403c3b36\ncmp     byte ptr [rcx+2BCh], 0                                         ; +0xa, 0x1403c3b3a\nmov     rdi, rcx                                                       ; +0x11, 0x1403c3b41\njz      short loc_1403C3B55                                            ; +0x14, 0x1403c3b44\nmov     ecx, 66h ; 'f'                                                 ; +0x16, 0x1403c3b46\ncall    GJSearchObject__create_2                                       ; +0x1b, 0x1403c3b4b\njmp     loc_1403C3C19                                                  ; +0x20, 0x1403c3b50\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x25, 0x1403c3b55\ncmp     byte ptr [rax+0A8h], 0                                         ; +0x2b, 0x1403c3b5b\njnz     loc_1403C3C7A                                                  ; +0x32, 0x1403c3b62\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x38, 0x1403c3b68\nmov     rcx, [rax+108h]                                                ; +0x3e, 0x1403c3b6e\ncmp     dword ptr [rcx+1Ch], 0Fh                                       ; +0x45, 0x1403c3b75\njz      short loc_1403C3BBD                                            ; +0x49, 0x1403c3b79\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x4b, 0x1403c3b7b\ncmp     qword ptr [rax+60h], 0                                         ; +0x51, 0x1403c3b81\njnz     short loc_1403C3BA1                                            ; +0x56, 0x1403c3b86\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x58, 0x1403c3b88\nmov     rbx, [rax+108h]                                                ; +0x5e, 0x1403c3b8e\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x65, 0x1403c3b95\nmov     [rax+60h], rbx                                                 ; +0x6b, 0x1403c3b9b\njmp     short loc_1403C3BBD                                            ; +0x6f, 0x1403c3b9f\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x71, 0x1403c3ba1\nmov     rbx, [rax+60h]                                                 ; +0x77, 0x1403c3ba7\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x7b, 0x1403c3bab\nmov     rcx, rax                                                       ; +0x81, 0x1403c3bb1\nmov     rdx, rbx                                                       ; +0x84, 0x1403c3bb4\ncall    cs:?popToSceneInStack@CCDirector@cocos2d@@QEAAXPEAVCCScene@2@@Z; cocos2d::CCDirector::popToSceneInStack(cocos2d::CCScene *) ; +0x87, 0x1403c3bb7\nmov     edx, [rdi+2B8h]                                                ; +0x8d, 0x1403c3bbd\nlea     rcx, aI_11; \"%i\"                                               ; +0x93, 0x1403c3bc3\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x9a, 0x1403c3bca\nmov     rcx, rax                                                       ; +0xa0, 0x1403c3bd0\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0xa3, 0x1403c3bd3\nxor     ecx, ecx                                                       ; +0xa9, 0x1403c3bd9\nxorps   xmm0, xmm0                                                     ; +0xab, 0x1403c3bdb\nmovups  [rsp+48h+var_28], xmm0                                         ; +0xae, 0x1403c3bde\nmov     [rsp+48h+var_18], rcx                                          ; +0xb3, 0x1403c3be3\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0xb8, 0x1403c3be8\nmov     [rsp+48h+var_10], rcx                                          ; +0xbf, 0x1403c3bef\ninc     r8                                                             ; +0xc4, 0x1403c3bf4\ncmp     [rax+r8], cl                                                   ; +0xc7, 0x1403c3bf7\njnz     short loc_1403C3BF4                                            ; +0xcb, 0x1403c3bfb\nmov     rdx, rax                                                       ; +0xcd, 0x1403c3bfd\nlea     rcx, [rsp+48h+var_28]                                          ; +0xd0, 0x1403c3c00\ncall    sub_14003A930                                                  ; +0xd5, 0x1403c3c05\nlea     rdx, [rsp+48h+var_28]                                          ; +0xda, 0x1403c3c0a\nmov     ecx, 5                                                         ; +0xdf, 0x1403c3c0f\ncall    GJSearchObject__create_1                                       ; +0xe4, 0x1403c3c14\nmov     rbx, rax                                                       ; +0xe9, 0x1403c3c19\nmov     dword ptr [rax+1D0h], 1                                        ; +0xec, 0x1403c3c1c\ncall    cs:?create@CCScene@cocos2d@@SAPEAV12@XZ; cocos2d::CCScene::create(void) ; +0xf6, 0x1403c3c26\nmov     rdi, rax                                                       ; +0xfc, 0x1403c3c2c\ncall    cs:?sharedApplication@CCApplication@cocos2d@@SAPEAV12@XZ; cocos2d::CCApplication::sharedApplication(void) ; +0xff, 0x1403c3c2f\nmov     rcx, rbx                                                       ; +0x105, 0x1403c3c35\nmov     [rax+0E0h], rdi                                                ; +0x108, 0x1403c3c38\ncall    LevelBrowserLayer__create                                      ; +0x10f, 0x1403c3c3f\nmov     r8, [rdi]                                                      ; +0x114, 0x1403c3c44\nmov     rdx, rax                                                       ; +0x117, 0x1403c3c47\nmov     rcx, rdi                                                       ; +0x11a, 0x1403c3c4a\ncall    qword ptr [r8+1C0h]                                            ; +0x11d, 0x1403c3c4d\nmovss   xmm0, cs:dword_140622B08                                       ; +0x124, 0x1403c3c54\nmov     rdx, rdi                                                       ; +0x12c, 0x1403c3c5c\ncall    cs:?create@CCTransitionFade@cocos2d@@SAPEAV12@MPEAVCCScene@2@@Z; cocos2d::CCTransitionFade::create(float,cocos2d::CCScene *) ; +0x12f, 0x1403c3c5f\nmov     rbx, rax                                                       ; +0x135, 0x1403c3c65\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x138, 0x1403c3c68\nmov     rcx, rax                                                       ; +0x13e, 0x1403c3c6e\nmov     rdx, rbx                                                       ; +0x141, 0x1403c3c71\ncall    cs:?pushScene@CCDirector@cocos2d@@QEAA_NPEAVCCScene@2@@Z; cocos2d::CCDirector::pushScene(cocos2d::CCScene *) ; +0x144, 0x1403c3c74\nmov     rbx, [rsp+48h+arg_8]                                           ; +0x14a, 0x1403c3c7a\nadd     rsp, 40h                                                       ; +0x14f, 0x1403c3c7f\npop     rdi                                                            ; +0x153, 0x1403c3c83\nretn                                                                   ; +0x154, 0x1403c3c84", "xrefs": ["ProfilePage::loadPageFromUserInfo @ 0x1403c273b", "<???> @ 0x1406d7784"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}