{"type": "func", "start": 5369354736, "end": 5369354933, "name": "CreatorLayer::onTopLists", "pseudocode": "// \n// CreatorLayer::onTopLists from 0x14009d9f0 to 0x14009dab5 (197 bytes)\n// \n// 2 xrefs:\n// > CreatorLayer::init @ 0x14009c870\n// > <???> @ 0x1406c75b4\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\n// Hidden C++ exception states: #wind=4\nvoid CreatorLayer::onTopLists(CreatorLayer *a1, cocos2d::CCObject *a2)\n{\n  GJSearchObject *v2; // rbx\n  __int64 v3; // rdx\n  __int64 v4; // rcx\n  struct cocos2d::CCScene *v5; // rdi\n  __int64 v6; // rdx\n  __int64 v7; // rcx\n  LevelBrowserLayer *v8; // rax\n  struct cocos2d::CCTransitionFade *v9; // rbx\n  __int64 v10; // rcx\n  cocos2d::CCDirector *v11; // rax\n  __int64 v12; // rax\n  void *v13; // [rsp+20h] [rbp-18h]\n\n  v2 = GJSearchObject::create_2(Recent|MostLiked);\n  v2->m_searchMode = 1;\n  v5 = (struct cocos2d::CCScene *)cocos2d::CCScene::create(v4, v3);\n  *(_QWORD *)(cocos2d::CCApplication::sharedApplication(v7, v6) + 224) = v5;\n  v8 = LevelBrowserLayer::create(v2);\n  v5->addChild_1(v5, v8);\n  v9 = cocos2d::CCTransitionFade::create(0.5, v5);\n  v11 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v10);\n  cocos2d::CCDirector::pushScene(v11, v9);\n  v12 = qword_1406C2ED8;\n  if ( !qword_1406C2ED8 )\n  {\n    v13 = operator new(0x668u);\n    qword_1406C2ED8 = sub_14017AB00(v13);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n    v12 = qword_1406C2ED8;\n  }\n  *(_DWORD *)(v12 + 700) = 1;\n}", "assembly": "; \n; CreatorLayer::onTopLists from 0x14009d9f0 to 0x14009dab5 (197 bytes)\n; \n; 2 xrefs:\n; > CreatorLayer::init @ 0x14009c870\n; > <???> @ 0x1406c75b4\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_0], rbx                                               ; +0x0, 0x14009d9f0\npush    rdi                                                            ; +0x5, 0x14009d9f5\nsub     rsp, 30h                                                       ; +0x6, 0x14009d9f6\nmov     ecx, 6                                                         ; +0xa, 0x14009d9fa\ncall    GJSearchObject__create_2                                       ; +0xf, 0x14009d9ff\nmov     rbx, rax                                                       ; +0x14, 0x14009da04\nmov     dword ptr [rax+1D0h], 1                                        ; +0x17, 0x14009da07\ncall    cs:?create@CCScene@cocos2d@@SAPEAV12@XZ; cocos2d::CCScene::create(void) ; +0x21, 0x14009da11\nmov     rdi, rax                                                       ; +0x27, 0x14009da17\ncall    cs:?sharedApplication@CCApplication@cocos2d@@SAPEAV12@XZ; cocos2d::CCApplication::sharedApplication(void) ; +0x2a, 0x14009da1a\nmov     [rax+0E0h], rdi                                                ; +0x30, 0x14009da20\nmov     rcx, rbx                                                       ; +0x37, 0x14009da27\ncall    LevelBrowserLayer__create                                      ; +0x3a, 0x14009da2a\nmov     r8, [rdi]                                                      ; +0x3f, 0x14009da2f\nmov     rdx, rax                                                       ; +0x42, 0x14009da32\nmov     rcx, rdi                                                       ; +0x45, 0x14009da35\ncall    qword ptr [r8+1C0h]                                            ; +0x48, 0x14009da38\nmov     rdx, rdi                                                       ; +0x4f, 0x14009da3f\nmovss   xmm0, cs:dword_140622B08                                       ; +0x52, 0x14009da42\ncall    cs:?create@CCTransitionFade@cocos2d@@SAPEAV12@MPEAVCCScene@2@@Z; cocos2d::CCTransitionFade::create(float,cocos2d::CCScene *) ; +0x5a, 0x14009da4a\nmov     rbx, rax                                                       ; +0x60, 0x14009da50\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x63, 0x14009da53\nmov     rcx, rax                                                       ; +0x69, 0x14009da59\nmov     rdx, rbx                                                       ; +0x6c, 0x14009da5c\ncall    cs:?pushScene@CCDirector@cocos2d@@QEAA_NPEAVCCScene@2@@Z; cocos2d::CCDirector::pushScene(cocos2d::CCScene *) ; +0x6f, 0x14009da5f\nmov     rax, cs:qword_1406C2ED8                                        ; +0x75, 0x14009da65\ntest    rax, rax                                                       ; +0x7c, 0x14009da6c\njnz     short loc_14009DAA0                                            ; +0x7f, 0x14009da6f\nmov     ecx, 668h; Size                                                ; +0x81, 0x14009da71\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x86, 0x14009da76\nmov     [rsp+38h+var_18], rax                                          ; +0x8b, 0x14009da7b\nmov     rcx, rax                                                       ; +0x90, 0x14009da80\ncall    sub_14017AB00                                                  ; +0x93, 0x14009da83\nnop                                                                    ; +0x98, 0x14009da88\nmov     cs:qword_1406C2ED8, rax                                        ; +0x99, 0x14009da89\nmov     rdx, [rax]                                                     ; +0xa0, 0x14009da90\nmov     rcx, rax                                                       ; +0xa3, 0x14009da93\ncall    qword ptr [rdx+48h]                                            ; +0xa6, 0x14009da96\nmov     rax, cs:qword_1406C2ED8                                        ; +0xa9, 0x14009da99\nmov     dword ptr [rax+2BCh], 1                                        ; +0xb0, 0x14009daa0\nmov     rbx, [rsp+38h+arg_0]                                           ; +0xba, 0x14009daaa\nadd     rsp, 30h                                                       ; +0xbf, 0x14009daaf\npop     rdi                                                            ; +0xc3, 0x14009dab3\nretn                                                                   ; +0xc4, 0x14009dab4", "xrefs": ["CreatorLayer::init @ 0x14009c870", "<???> @ 0x1406c75b4"], "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"}