{"type": "func", "start": 5369354512, "end": 5369354699, "name": "CreatorLayer::onFeaturedLevels", "pseudocode": "// \n// CreatorLayer::onFeaturedLevels from 0x14009d910 to 0x14009d9cb (187 bytes)\n// \n// 2 xrefs:\n// > CreatorLayer::init @ 0x14009c7d8\n// > <???> @ 0x1406c759c\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::onFeaturedLevels(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  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::onFeaturedLevels from 0x14009d910 to 0x14009d9cb (187 bytes)\n; \n; 2 xrefs:\n; > CreatorLayer::init @ 0x14009c7d8\n; > <???> @ 0x1406c759c\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, 0x14009d910\npush    rdi                                                            ; +0x5, 0x14009d915\nsub     rsp, 30h                                                       ; +0x6, 0x14009d916\nmov     ecx, 6                                                         ; +0xa, 0x14009d91a\ncall    GJSearchObject__create_2                                       ; +0xf, 0x14009d91f\nmov     rbx, rax                                                       ; +0x14, 0x14009d924\ncall    cs:?create@CCScene@cocos2d@@SAPEAV12@XZ; cocos2d::CCScene::create(void) ; +0x17, 0x14009d927\nmov     rdi, rax                                                       ; +0x1d, 0x14009d92d\ncall    cs:?sharedApplication@CCApplication@cocos2d@@SAPEAV12@XZ; cocos2d::CCApplication::sharedApplication(void) ; +0x20, 0x14009d930\nmov     [rax+0E0h], rdi                                                ; +0x26, 0x14009d936\nmov     rcx, rbx                                                       ; +0x2d, 0x14009d93d\ncall    LevelBrowserLayer__create                                      ; +0x30, 0x14009d940\nmov     r8, [rdi]                                                      ; +0x35, 0x14009d945\nmov     rdx, rax                                                       ; +0x38, 0x14009d948\nmov     rcx, rdi                                                       ; +0x3b, 0x14009d94b\ncall    qword ptr [r8+1C0h]                                            ; +0x3e, 0x14009d94e\nmov     rdx, rdi                                                       ; +0x45, 0x14009d955\nmovss   xmm0, cs:dword_140622B08                                       ; +0x48, 0x14009d958\ncall    cs:?create@CCTransitionFade@cocos2d@@SAPEAV12@MPEAVCCScene@2@@Z; cocos2d::CCTransitionFade::create(float,cocos2d::CCScene *) ; +0x50, 0x14009d960\nmov     rbx, rax                                                       ; +0x56, 0x14009d966\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x59, 0x14009d969\nmov     rcx, rax                                                       ; +0x5f, 0x14009d96f\nmov     rdx, rbx                                                       ; +0x62, 0x14009d972\ncall    cs:?pushScene@CCDirector@cocos2d@@QEAA_NPEAVCCScene@2@@Z; cocos2d::CCDirector::pushScene(cocos2d::CCScene *) ; +0x65, 0x14009d975\nmov     rax, cs:qword_1406C2ED8                                        ; +0x6b, 0x14009d97b\ntest    rax, rax                                                       ; +0x72, 0x14009d982\njnz     short loc_14009D9B6                                            ; +0x75, 0x14009d985\nmov     ecx, 668h; Size                                                ; +0x77, 0x14009d987\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x7c, 0x14009d98c\nmov     [rsp+38h+var_18], rax                                          ; +0x81, 0x14009d991\nmov     rcx, rax                                                       ; +0x86, 0x14009d996\ncall    sub_14017AB00                                                  ; +0x89, 0x14009d999\nnop                                                                    ; +0x8e, 0x14009d99e\nmov     cs:qword_1406C2ED8, rax                                        ; +0x8f, 0x14009d99f\nmov     rdx, [rax]                                                     ; +0x96, 0x14009d9a6\nmov     rcx, rax                                                       ; +0x99, 0x14009d9a9\ncall    qword ptr [rdx+48h]                                            ; +0x9c, 0x14009d9ac\nmov     rax, cs:qword_1406C2ED8                                        ; +0x9f, 0x14009d9af\nmov     dword ptr [rax+2BCh], 1                                        ; +0xa6, 0x14009d9b6\nmov     rbx, [rsp+38h+arg_0]                                           ; +0xb0, 0x14009d9c0\nadd     rsp, 30h                                                       ; +0xb5, 0x14009d9c5\npop     rdi                                                            ; +0xb9, 0x14009d9c9\nretn                                                                   ; +0xba, 0x14009d9ca", "xrefs": ["CreatorLayer::init @ 0x14009c7d8", "<???> @ 0x1406c759c"], "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"}