{"type": "func", "start": 5369985072, "end": 5369985275, "name": "CreatorLayer::onTopLists", "pseudocode": "// \n// CreatorLayer::onTopLists from 0x140137830 to 0x1401378fb (203 bytes)\n// \n// 2 xrefs:\n// > CreatorLayer::init @ 0x140135ded\n// > <???> @ 0x140917150\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:27:05 +0000\n// \n\n// Hidden C++ exception states: #wind=4\n__int64 CreatorLayer::onTopLists()\n{\n  __int64 v0; // rbx\n  struct cocos2d::CCScene *v1; // rdi\n  __int64 v2; // rcx\n  __int64 v3; // rax\n  struct cocos2d::CCScene *v4; // rbx\n  __int64 v5; // rcx\n  cocos2d::CCDirector *v6; // rax\n  __int64 result; // rax\n  void *v8; // [rsp+20h] [rbp-18h]\n\n  v0 = GJSearchObject::create_2(6);\n  *(_DWORD *)(v0 + 464) = 1;\n  v1 = (struct cocos2d::CCScene *)cocos2d::CCScene::create();\n  *(_QWORD *)(cocos2d::CCApplication::sharedApplication(v2) + 232) = v1;\n  v3 = LevelBrowserLayer::create(v0);\n  (*(void (__fastcall **)(struct cocos2d::CCScene *, __int64))(*(_QWORD *)v1 + 464LL))(v1, v3);\n  v4 = cocos2d::CCTransitionFade::create(0.5, v1);\n  v6 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v5);\n  cocos2d::CCDirector::pushScene(v6, v4);\n  result = qword_14090BFD0;\n  if ( !qword_14090BFD0 )\n  {\n    v8 = operator new(0x6E8u);\n    qword_14090BFD0 = GameManager::GameManager(v8);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n    result = qword_14090BFD0;\n  }\n  *(_DWORD *)(result + 740) = 1;\n  return result;\n}", "assembly": "; \n; CreatorLayer::onTopLists from 0x140137830 to 0x1401378fb (203 bytes)\n; \n; 2 xrefs:\n; > CreatorLayer::init @ 0x140135ded\n; > <???> @ 0x140917150\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:27:05 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140137830\npush    rdi                                                            ; +0x5, 0x140137835\nsub     rsp, 30h                                                       ; +0x6, 0x140137836\nmov     ecx, 6                                                         ; +0xa, 0x14013783a\ncall    GJSearchObject__create_2                                       ; +0xf, 0x14013783f\nmov     rbx, rax                                                       ; +0x14, 0x140137844\nmov     dword ptr [rax+1D0h], 1                                        ; +0x17, 0x140137847\ncall    cs:?create@CCScene@cocos2d@@SAPEAV12@XZ; cocos2d::CCScene::create(void) ; +0x21, 0x140137851\nmov     rdi, rax                                                       ; +0x27, 0x140137857\ncall    cs:?sharedApplication@CCApplication@cocos2d@@SAPEAV12@XZ; cocos2d::CCApplication::sharedApplication(void) ; +0x2a, 0x14013785a\nmov     [rax+0E8h], rdi                                                ; +0x30, 0x140137860\nmov     rcx, rbx                                                       ; +0x37, 0x140137867\ncall    LevelBrowserLayer__create                                      ; +0x3a, 0x14013786a\nmov     rcx, [rdi]                                                     ; +0x3f, 0x14013786f\nmov     r8, [rcx+1D0h]                                                 ; +0x42, 0x140137872\nmov     rdx, rax                                                       ; +0x49, 0x140137879\nmov     rcx, rdi                                                       ; +0x4c, 0x14013787c\ncall    r8                                                             ; +0x4f, 0x14013787f\nmov     rdx, rdi                                                       ; +0x52, 0x140137882\nmovss   xmm0, cs:dword_140834F20                                       ; +0x55, 0x140137885\ncall    cs:?create@CCTransitionFade@cocos2d@@SAPEAV12@MPEAVCCScene@2@@Z; cocos2d::CCTransitionFade::create(float,cocos2d::CCScene *) ; +0x5d, 0x14013788d\nmov     rbx, rax                                                       ; +0x63, 0x140137893\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x66, 0x140137896\nmov     rcx, rax                                                       ; +0x6c, 0x14013789c\nmov     rdx, rbx                                                       ; +0x6f, 0x14013789f\ncall    cs:?pushScene@CCDirector@cocos2d@@QEAA_NPEAVCCScene@2@@Z; cocos2d::CCDirector::pushScene(cocos2d::CCScene *) ; +0x72, 0x1401378a2\nmov     rax, cs:qword_14090BFD0                                        ; +0x78, 0x1401378a8\ntest    rax, rax                                                       ; +0x7f, 0x1401378af\njnz     short loc_1401378E6                                            ; +0x82, 0x1401378b2\nmov     ecx, 6E8h; Size                                                ; +0x84, 0x1401378b4\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x89, 0x1401378b9\nmov     [rsp+38h+var_18], rax                                          ; +0x8e, 0x1401378be\nmov     rcx, rax                                                       ; +0x93, 0x1401378c3\ncall    GameManager__GameManager                                       ; +0x96, 0x1401378c6\nnop                                                                    ; +0x9b, 0x1401378cb\nmov     cs:qword_14090BFD0, rax                                        ; +0x9c, 0x1401378cc\nmov     rcx, [rax]                                                     ; +0xa3, 0x1401378d3\nmov     rdx, [rcx+48h]                                                 ; +0xa6, 0x1401378d6\nmov     rcx, rax                                                       ; +0xaa, 0x1401378da\ncall    rdx                                                            ; +0xad, 0x1401378dd\nmov     rax, cs:qword_14090BFD0                                        ; +0xaf, 0x1401378df\nmov     dword ptr [rax+2E4h], 1                                        ; +0xb6, 0x1401378e6\nmov     rbx, [rsp+38h+arg_0]                                           ; +0xc0, 0x1401378f0\nadd     rsp, 30h                                                       ; +0xc5, 0x1401378f5\npop     rdi                                                            ; +0xc9, 0x1401378f9\nretn                                                                   ; +0xca, 0x1401378fa", "xrefs": ["CreatorLayer::init @ 0x140135ded", "<???> @ 0x140917150"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}