{"type": "func", "start": 5370322864, "end": 5370323808, "name": "GameManager::returnToLastScene", "pseudocode": "// \n// GameManager::returnToLastScene from 0x140189fb0 to 0x14018a360 (944 bytes)\n// \n// 3 xrefs:\n// > EditorPauseLayer::onExitEditor @ 0x1400de369\n// > PlayLayer::onQuit @ 0x1403bad5e\n// > <???> @ 0x1406cb6ac\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=6\nvoid GameManager::returnToLastScene(GameManager *a1, GJGameLevel *a2)\n{\n  cocos2d::CCScene *v3; // rbx\n  cocos2d::CCScene *v4; // rax\n  SearchType v5; // ecx\n  GJSearchObject *v6; // rax\n  struct cocos2d::CCScene *v7; // rax\n  struct cocos2d::CCTransitionFade *v8; // rbx\n  __int64 v9; // rcx\n  cocos2d::CCDirector *v10; // rax\n  int v11; // eax\n  struct cocos2d::CCScene *v12; // rax\n  struct cocos2d::CCTransitionFade *v13; // rbx\n  __int64 v14; // rcx\n  cocos2d::CCDirector *v15; // rax\n  struct cocos2d::CCScene *v16; // rdx\n  __int64 v17; // rbx\n  __int64 v18; // rdx\n  __int64 v19; // rcx\n  LevelInfoLayer *v20; // rax\n  __int64 v21; // rdx\n  const char *v22; // rdi\n  GJSearchObject *v23; // rax\n  __int64 v24; // rdx\n  const char *v25; // rcx\n  GJSearchObject *v26; // rax\n  struct cocos2d::CCTransitionFade *v27; // rbx\n  __int64 v28; // rcx\n  cocos2d::CCDirector *v29; // rax\n  GameManager *v30; // rcx\n  void *v31; // [rsp+20h] [rbp-38h]\n  void *v32; // [rsp+20h] [rbp-38h]\n  void *v33; // [rsp+20h] [rbp-38h]\n  void *v34; // [rsp+20h] [rbp-38h]\n  void *v35; // [rsp+20h] [rbp-38h]\n  _QWORD v36[3]; // [rsp+28h] [rbp-30h] BYREF\n  unsigned __int64 v37; // [rsp+40h] [rbp-18h]\n\n  v3 = nullptr;\n  switch ( a1->m_sceneEnum )\n  {\n    case 1:\n      v4 = CreatorLayer::scene();\n      goto LABEL_40;\n    case 2:\n      v5 = MyLevels;\n      goto LABEL_4;\n    case 3:\n      if ( a2 )\n      {\n        if ( a2->m_levelType == Editor )\n        {\n          v16 = EditLevelLayer::scene(a2);\n        }\n        else\n        {\n          v17 = cocos2d::CCScene::create(a1);\n          *(_QWORD *)(cocos2d::CCApplication::sharedApplication(v19, v18) + 224) = v17;\n          v20 = LevelInfoLayer::create(a2, 0);\n          (*(void (__fastcall **)(__int64, LevelInfoLayer *))(*(_QWORD *)v17 + 448LL))(v17, v20);\n          v16 = (struct cocos2d::CCScene *)v17;\n        }\n      }\n      else\n      {\n        if ( !a1->m_searchObjectBool )\n          goto LABEL_27;\n        a1->m_searchObjectBool = 0;\n        v21 = qword_1406C2EC0;\n        if ( !qword_1406C2EC0 )\n        {\n          v31 = operator new(0x3D0u);\n          qword_1406C2EC0 = sub_140141280((__int64)v31);\n          (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0);\n          v21 = qword_1406C2EC0;\n        }\n        sub_14003BDB0((__int64)v36, v21 + 640);\n        v22 = (const char *)v36;\n        if ( v37 > 0xF )\n          v22 = (const char *)v36[0];\n        if ( !qword_1406C2EC0 )\n        {\n          v32 = operator new(0x3D0u);\n          qword_1406C2EC0 = sub_140141280((__int64)v32);\n          (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0);\n        }\n        v23 = GJSearchObject::createFromKey(v22);\n        if ( v23 )\n          v3 = LevelBrowserLayer::scene(v23);\n        sub_14003A830((__int64)v36);\n        if ( !v3 )\nLABEL_27:\n          v3 = CreatorLayer::scene();\nLABEL_28:\n        v16 = v3;\n      }\n      goto LABEL_41;\n    case 7:\n      v24 = qword_1406C2EC0;\n      if ( !qword_1406C2EC0 )\n      {\n        v33 = operator new(0x3D0u);\n        qword_1406C2EC0 = sub_140141280((__int64)v33);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0);\n        v24 = qword_1406C2EC0;\n      }\n      sub_14003BDB0((__int64)v36, v24 + 640);\n      if ( !qword_1406C2EC0 )\n      {\n        v34 = operator new(0x3D0u);\n        qword_1406C2EC0 = sub_140141280((__int64)v34);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0);\n      }\n      v25 = (const char *)v36;\n      if ( v37 > 0xF )\n        v25 = (const char *)v36[0];\n      v26 = GJSearchObject::createFromKey(v25);\n      if ( v26 )\n        v3 = LevelBrowserLayer::scene(v26);\n      sub_14003A830((__int64)v36);\n      if ( v3 )\n        goto LABEL_28;\n      v16 = MenuLayer::scene(0);\n      goto LABEL_41;\n    case 9:\n      if ( a2 )\n      {\n        v11 = a2->m_levelID.random - a2->m_levelID.seed - 1;\n        if ( v11 < 0 )\n          v11 = 0;\n        LODWORD(v3) = v11;\n      }\n      v4 = LevelSelectLayer::scene((int)v3);\n      goto LABEL_40;\n    case 0xC:\n      v12 = SecretLayer2::scene();\n      v13 = cocos2d::CCTransitionFade::create(0.5, v12);\n      v15 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v14);\n      cocos2d::CCDirector::replaceScene(v15, v13);\n      return;\n    case 0xE:\n      v5 = MyLists;\nLABEL_4:\n      v6 = GJSearchObject::create_2(v5);\n      v7 = LevelBrowserLayer::scene(v6);\n      v8 = cocos2d::CCTransitionFade::create(0.5, v7);\n      v10 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v9);\n      cocos2d::CCDirector::pushScene(v10, v8);\n      goto LABEL_42;\n    case 0xF:\n      v4 = LevelAreaInnerLayer::scene(1);\n      goto LABEL_40;\n    default:\n      v4 = MenuLayer::scene(0);\nLABEL_40:\n      v16 = v4;\nLABEL_41:\n      v27 = cocos2d::CCTransitionFade::create(0.5, v16);\n      v29 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v28);\n      cocos2d::CCDirector::replaceScene(v29, v27);\nLABEL_42:\n      v30 = (GameManager *)qword_1406C2ED8;\n      if ( !qword_1406C2ED8 )\n      {\n        v35 = operator new(0x668u);\n        qword_1406C2ED8 = sub_14017AB00((__int64)v35);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n        v30 = (GameManager *)qword_1406C2ED8;\n      }\n      GameManager::fadeInMenuMusic(v30);\n      return;\n  }\n}", "assembly": "; \n; GameManager::returnToLastScene from 0x140189fb0 to 0x14018a360 (944 bytes)\n; \n; 3 xrefs:\n; > EditorPauseLayer::onExitEditor @ 0x1400de369\n; > PlayLayer::onQuit @ 0x1403bad5e\n; > <???> @ 0x1406cb6ac\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_10], rbx                                              ; +0x0, 0x140189fb0\npush    rdi                                                            ; +0x5, 0x140189fb5\nsub     rsp, 50h                                                       ; +0x6, 0x140189fb6\nmov     rax, cs:__security_cookie                                      ; +0xa, 0x140189fba\nxor     rax, rsp                                                       ; +0x11, 0x140189fc1\nmov     [rsp+58h+var_10], rax                                          ; +0x14, 0x140189fc4\nmov     rdi, rdx                                                       ; +0x19, 0x140189fc9\nxor     ebx, ebx                                                       ; +0x1c, 0x140189fcc\nmov     eax, [rcx+2BCh]                                                ; +0x1e, 0x140189fce\ndec     eax; switch 15 cases                                           ; +0x24, 0x140189fd4\ncmp     eax, 0Eh                                                       ; +0x26, 0x140189fd6\nja      def_140189FF3; jumptable 0000000140189FF3 default case, cases 4-6,8,10,11,13 ; +0x29, 0x140189fd9\ncdqe                                                                   ; +0x2f, 0x140189fdf\nlea     r8, cs:140000000h                                              ; +0x31, 0x140189fe1\nmov     edx, ds:(jpt_140189FF3 - 140000000h)[r8+rax*4]                 ; +0x38, 0x140189fe8\nadd     rdx, r8                                                        ; +0x40, 0x140189ff0\njmp     rdx; switch jump                                               ; +0x43, 0x140189ff3\ncall    CreatorLayer__scene; jumptable 0000000140189FF3 case 1         ; +0x45, 0x140189ff5\njmp     loc_14018A2A4                                                  ; +0x4a, 0x140189ffa\nmov     ecx, 62h ; 'b'; jumptable 0000000140189FF3 case 2              ; +0x4f, 0x140189fff\ncall    GJSearchObject__create_2                                       ; +0x54, 0x14018a004\nmov     rcx, rax                                                       ; +0x59, 0x14018a009\ncall    LevelBrowserLayer__scene                                       ; +0x5c, 0x14018a00c\nmov     rdx, rax                                                       ; +0x61, 0x14018a011\nmovss   xmm0, cs:dword_140622B08                                       ; +0x64, 0x14018a014\ncall    cs:?create@CCTransitionFade@cocos2d@@SAPEAV12@MPEAVCCScene@2@@Z; cocos2d::CCTransitionFade::create(float,cocos2d::CCScene *) ; +0x6c, 0x14018a01c\nmov     rbx, rax                                                       ; +0x72, 0x14018a022\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x75, 0x14018a025\nmov     rcx, rax                                                       ; +0x7b, 0x14018a02b\nmov     rdx, rbx                                                       ; +0x7e, 0x14018a02e\ncall    cs:?pushScene@CCDirector@cocos2d@@QEAA_NPEAVCCScene@2@@Z; cocos2d::CCDirector::pushScene(cocos2d::CCScene *) ; +0x81, 0x14018a031\njmp     loc_14018A2CA                                                  ; +0x87, 0x14018a037\nmov     ecx, 66h ; 'f'; jumptable 0000000140189FF3 case 14             ; +0x8c, 0x14018a03c\njmp     short loc_14018A004                                            ; +0x91, 0x14018a041\ntest    rdi, rdi; jumptable 0000000140189FF3 case 9                    ; +0x93, 0x14018a043\njz      short loc_14018A05C                                            ; +0x96, 0x14018a046\nmov     eax, [rdi+148h]                                                ; +0x98, 0x14018a048\nsub     eax, [rdi+14Ch]                                                ; +0x9e, 0x14018a04e\nsub     eax, 1                                                         ; +0xa4, 0x14018a054\ncmovs   eax, ebx                                                       ; +0xa7, 0x14018a057\nmov     ebx, eax                                                       ; +0xaa, 0x14018a05a\nmov     ecx, ebx                                                       ; +0xac, 0x14018a05c\ncall    LevelSelectLayer__scene                                        ; +0xae, 0x14018a05e\njmp     loc_14018A2A4                                                  ; +0xb3, 0x14018a063\nmov     cl, 1; jumptable 0000000140189FF3 case 15                      ; +0xb8, 0x14018a068\ncall    LevelAreaInnerLayer__scene                                     ; +0xba, 0x14018a06a\njmp     loc_14018A2A4                                                  ; +0xbf, 0x14018a06f\ncall    SecretLayer2__scene; jumptable 0000000140189FF3 case 12        ; +0xc4, 0x14018a074\nmov     rdx, rax                                                       ; +0xc9, 0x14018a079\nmovss   xmm0, cs:dword_140622B08                                       ; +0xcc, 0x14018a07c\ncall    cs:?create@CCTransitionFade@cocos2d@@SAPEAV12@MPEAVCCScene@2@@Z; cocos2d::CCTransitionFade::create(float,cocos2d::CCScene *) ; +0xd4, 0x14018a084\nmov     rbx, rax                                                       ; +0xda, 0x14018a08a\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0xdd, 0x14018a08d\nmov     rcx, rax                                                       ; +0xe3, 0x14018a093\nmov     rdx, rbx                                                       ; +0xe6, 0x14018a096\ncall    cs:?replaceScene@CCDirector@cocos2d@@QEAA_NPEAVCCScene@2@@Z; cocos2d::CCDirector::replaceScene(cocos2d::CCScene *) ; +0xe9, 0x14018a099\njmp     loc_14018A30A                                                  ; +0xef, 0x14018a09f\ntest    rdi, rdi; jumptable 0000000140189FF3 case 3                    ; +0xf4, 0x14018a0a4\njz      short loc_14018A0FD                                            ; +0xf7, 0x14018a0a7\ncmp     dword ptr [rdi+454h], 2                                        ; +0xf9, 0x14018a0a9\njnz     short loc_14018A0C5                                            ; +0x100, 0x14018a0b0\nmov     rcx, rdi                                                       ; +0x102, 0x14018a0b2\ncall    EditLevelLayer__scene                                          ; +0x105, 0x14018a0b5\nmov     rbx, rax                                                       ; +0x10a, 0x14018a0ba\nmov     rdx, rax                                                       ; +0x10d, 0x14018a0bd\njmp     loc_14018A2A7                                                  ; +0x110, 0x14018a0c0\ncall    cs:?create@CCScene@cocos2d@@SAPEAV12@XZ; cocos2d::CCScene::create(void) ; +0x115, 0x14018a0c5\nmov     rbx, rax                                                       ; +0x11b, 0x14018a0cb\ncall    cs:?sharedApplication@CCApplication@cocos2d@@SAPEAV12@XZ; cocos2d::CCApplication::sharedApplication(void) ; +0x11e, 0x14018a0ce\nmov     [rax+0E0h], rbx                                                ; +0x124, 0x14018a0d4\nxor     edx, edx                                                       ; +0x12b, 0x14018a0db\nmov     rcx, rdi                                                       ; +0x12d, 0x14018a0dd\ncall    LevelInfoLayer__create                                         ; +0x130, 0x14018a0e0\nmov     r8, [rbx]                                                      ; +0x135, 0x14018a0e5\nmov     rdx, rax                                                       ; +0x138, 0x14018a0e8\nmov     rcx, rbx                                                       ; +0x13b, 0x14018a0eb\ncall    qword ptr [r8+1C0h]                                            ; +0x13e, 0x14018a0ee\nmov     rdx, rbx                                                       ; +0x145, 0x14018a0f5\njmp     loc_14018A2A7                                                  ; +0x148, 0x14018a0f8\ncmp     [rcx+2C0h], bl                                                 ; +0x14d, 0x14018a0fd\njz      loc_14018A1C6                                                  ; +0x153, 0x14018a103\nmov     [rcx+2C0h], bl                                                 ; +0x159, 0x14018a109\nmov     rdx, cs:qword_1406C2EC0                                        ; +0x15f, 0x14018a10f\ntest    rdx, rdx                                                       ; +0x166, 0x14018a116\njnz     short loc_14018A14A                                            ; +0x169, 0x14018a119\nmov     ecx, 3D0h; Size                                                ; +0x16b, 0x14018a11b\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x170, 0x14018a120\nmov     [rsp+58h+var_38], rax                                          ; +0x175, 0x14018a125\nmov     rcx, rax                                                       ; +0x17a, 0x14018a12a\ncall    sub_140141280                                                  ; +0x17d, 0x14018a12d\nnop                                                                    ; +0x182, 0x14018a132\nmov     cs:qword_1406C2EC0, rax                                        ; +0x183, 0x14018a133\nmov     rdx, [rax]                                                     ; +0x18a, 0x14018a13a\nmov     rcx, rax                                                       ; +0x18d, 0x14018a13d\ncall    qword ptr [rdx+48h]                                            ; +0x190, 0x14018a140\nmov     rdx, cs:qword_1406C2EC0                                        ; +0x193, 0x14018a143\nadd     rdx, 280h                                                      ; +0x19a, 0x14018a14a\nlea     rcx, [rsp+58h+var_30]                                          ; +0x1a1, 0x14018a151\ncall    sub_14003BDB0                                                  ; +0x1a6, 0x14018a156\nnop                                                                    ; +0x1ab, 0x14018a15b\nlea     rdi, [rsp+58h+var_30]                                          ; +0x1ac, 0x14018a15c\ncmp     [rsp+58h+var_18], 0Fh                                          ; +0x1b1, 0x14018a161\ncmova   rdi, [rsp+58h+var_30]                                          ; +0x1b7, 0x14018a167\ncmp     cs:qword_1406C2EC0, 0                                          ; +0x1bd, 0x14018a16d\njnz     short loc_14018A19F                                            ; +0x1c5, 0x14018a175\nmov     ecx, 3D0h; Size                                                ; +0x1c7, 0x14018a177\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1cc, 0x14018a17c\nmov     [rsp+58h+var_38], rax                                          ; +0x1d1, 0x14018a181\nmov     rcx, rax                                                       ; +0x1d6, 0x14018a186\ncall    sub_140141280                                                  ; +0x1d9, 0x14018a189\nnop                                                                    ; +0x1de, 0x14018a18e\nmov     cs:qword_1406C2EC0, rax                                        ; +0x1df, 0x14018a18f\nmov     rdx, [rax]                                                     ; +0x1e6, 0x14018a196\nmov     rcx, rax                                                       ; +0x1e9, 0x14018a199\ncall    qword ptr [rdx+48h]                                            ; +0x1ec, 0x14018a19c\nmov     rcx, rdi                                                       ; +0x1ef, 0x14018a19f\ncall    GJSearchObject__createFromKey                                  ; +0x1f2, 0x14018a1a2\ntest    rax, rax                                                       ; +0x1f7, 0x14018a1a7\njz      short loc_14018A1B7                                            ; +0x1fa, 0x14018a1aa\nmov     rcx, rax                                                       ; +0x1fc, 0x14018a1ac\ncall    LevelBrowserLayer__scene                                       ; +0x1ff, 0x14018a1af\nmov     rbx, rax                                                       ; +0x204, 0x14018a1b4\nlea     rcx, [rsp+58h+var_30]                                          ; +0x207, 0x14018a1b7\ncall    sub_14003A830                                                  ; +0x20c, 0x14018a1bc\ntest    rbx, rbx                                                       ; +0x211, 0x14018a1c1\njnz     short loc_14018A1CE                                            ; +0x214, 0x14018a1c4\ncall    CreatorLayer__scene                                            ; +0x216, 0x14018a1c6\nmov     rbx, rax                                                       ; +0x21b, 0x14018a1cb\nmov     rdx, rbx                                                       ; +0x21e, 0x14018a1ce\njmp     loc_14018A2A7                                                  ; +0x221, 0x14018a1d1\nmov     rdx, cs:qword_1406C2EC0; jumptable 0000000140189FF3 case 7     ; +0x226, 0x14018a1d6\ntest    rdx, rdx                                                       ; +0x22d, 0x14018a1dd\njnz     short loc_14018A211                                            ; +0x230, 0x14018a1e0\nmov     ecx, 3D0h; Size                                                ; +0x232, 0x14018a1e2\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x237, 0x14018a1e7\nmov     [rsp+58h+var_38], rax                                          ; +0x23c, 0x14018a1ec\nmov     rcx, rax                                                       ; +0x241, 0x14018a1f1\ncall    sub_140141280                                                  ; +0x244, 0x14018a1f4\nnop                                                                    ; +0x249, 0x14018a1f9\nmov     cs:qword_1406C2EC0, rax                                        ; +0x24a, 0x14018a1fa\nmov     rdx, [rax]                                                     ; +0x251, 0x14018a201\nmov     rcx, rax                                                       ; +0x254, 0x14018a204\ncall    qword ptr [rdx+48h]                                            ; +0x257, 0x14018a207\nmov     rdx, cs:qword_1406C2EC0                                        ; +0x25a, 0x14018a20a\nadd     rdx, 280h                                                      ; +0x261, 0x14018a211\nlea     rcx, [rsp+58h+var_30]                                          ; +0x268, 0x14018a218\ncall    sub_14003BDB0                                                  ; +0x26d, 0x14018a21d\nnop                                                                    ; +0x272, 0x14018a222\ncmp     cs:qword_1406C2EC0, 0                                          ; +0x273, 0x14018a223\njnz     short loc_14018A255                                            ; +0x27b, 0x14018a22b\nmov     ecx, 3D0h; Size                                                ; +0x27d, 0x14018a22d\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x282, 0x14018a232\nmov     [rsp+58h+var_38], rax                                          ; +0x287, 0x14018a237\nmov     rcx, rax                                                       ; +0x28c, 0x14018a23c\ncall    sub_140141280                                                  ; +0x28f, 0x14018a23f\nnop                                                                    ; +0x294, 0x14018a244\nmov     cs:qword_1406C2EC0, rax                                        ; +0x295, 0x14018a245\nmov     rdx, [rax]                                                     ; +0x29c, 0x14018a24c\nmov     rcx, rax                                                       ; +0x29f, 0x14018a24f\ncall    qword ptr [rdx+48h]                                            ; +0x2a2, 0x14018a252\nlea     rcx, [rsp+58h+var_30]                                          ; +0x2a5, 0x14018a255\ncmp     [rsp+58h+var_18], 0Fh                                          ; +0x2aa, 0x14018a25a\ncmova   rcx, [rsp+58h+var_30]                                          ; +0x2b0, 0x14018a260\ncall    GJSearchObject__createFromKey                                  ; +0x2b6, 0x14018a266\ntest    rax, rax                                                       ; +0x2bb, 0x14018a26b\njz      short loc_14018A27B                                            ; +0x2be, 0x14018a26e\nmov     rcx, rax                                                       ; +0x2c0, 0x14018a270\ncall    LevelBrowserLayer__scene                                       ; +0x2c3, 0x14018a273\nmov     rbx, rax                                                       ; +0x2c8, 0x14018a278\nlea     rcx, [rsp+58h+var_30]                                          ; +0x2cb, 0x14018a27b\ncall    sub_14003A830                                                  ; +0x2d0, 0x14018a280\ntest    rbx, rbx                                                       ; +0x2d5, 0x14018a285\njnz     loc_14018A1CE                                                  ; +0x2d8, 0x14018a288\nxor     ecx, ecx                                                       ; +0x2de, 0x14018a28e\ncall    MenuLayer__scene                                               ; +0x2e0, 0x14018a290\nmov     rbx, rax                                                       ; +0x2e5, 0x14018a295\nmov     rdx, rax                                                       ; +0x2e8, 0x14018a298\njmp     short loc_14018A2A7                                            ; +0x2eb, 0x14018a29b\nxor     ecx, ecx; jumptable 0000000140189FF3 default case, cases 4-6,8,10,11,13 ; +0x2ed, 0x14018a29d\ncall    MenuLayer__scene                                               ; +0x2ef, 0x14018a29f\nmov     rdx, rax                                                       ; +0x2f4, 0x14018a2a4\nmovss   xmm0, cs:dword_140622B08                                       ; +0x2f7, 0x14018a2a7\ncall    cs:?create@CCTransitionFade@cocos2d@@SAPEAV12@MPEAVCCScene@2@@Z; cocos2d::CCTransitionFade::create(float,cocos2d::CCScene *) ; +0x2ff, 0x14018a2af\nmov     rbx, rax                                                       ; +0x305, 0x14018a2b5\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x308, 0x14018a2b8\nmov     rdx, rbx                                                       ; +0x30e, 0x14018a2be\nmov     rcx, rax                                                       ; +0x311, 0x14018a2c1\ncall    cs:?replaceScene@CCDirector@cocos2d@@QEAA_NPEAVCCScene@2@@Z; cocos2d::CCDirector::replaceScene(cocos2d::CCScene *) ; +0x314, 0x14018a2c4\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x31a, 0x14018a2ca\ntest    rcx, rcx                                                       ; +0x321, 0x14018a2d1\njnz     short loc_14018A305                                            ; +0x324, 0x14018a2d4\nmov     ecx, 668h; Size                                                ; +0x326, 0x14018a2d6\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x32b, 0x14018a2db\nmov     [rsp+58h+var_38], rax                                          ; +0x330, 0x14018a2e0\nmov     rcx, rax                                                       ; +0x335, 0x14018a2e5\ncall    sub_14017AB00                                                  ; +0x338, 0x14018a2e8\nnop                                                                    ; +0x33d, 0x14018a2ed\nmov     cs:qword_1406C2ED8, rax                                        ; +0x33e, 0x14018a2ee\nmov     rdx, [rax]                                                     ; +0x345, 0x14018a2f5\nmov     rcx, rax                                                       ; +0x348, 0x14018a2f8\ncall    qword ptr [rdx+48h]                                            ; +0x34b, 0x14018a2fb\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x34e, 0x14018a2fe\ncall    GameManager__fadeInMenuMusic                                   ; +0x355, 0x14018a305\nmov     rcx, [rsp+58h+var_10]                                          ; +0x35a, 0x14018a30a\nxor     rcx, rsp; StackCookie                                          ; +0x35f, 0x14018a30f\ncall    __security_check_cookie                                        ; +0x362, 0x14018a312\nmov     rbx, [rsp+58h+arg_10]                                          ; +0x367, 0x14018a317\nadd     rsp, 50h                                                       ; +0x36c, 0x14018a31c\npop     rdi                                                            ; +0x370, 0x14018a320\nretn                                                                   ; +0x371, 0x14018a321\nalign 4                                                                ; +0x372, 0x14018a322\ndd offset loc_140189FF5 - 140000000h; jump table for switch statement  ; +0x374, 0x14018a324", "xrefs": ["EditorPauseLayer::onExitEditor @ 0x1400de369", "PlayLayer::onQuit @ 0x1403bad5e", "<???> @ 0x1406cb6ac"], "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"}