{"type": "func", "start": 5370266048, "end": 5370267505, "name": "EditLevelLayer::FLAlert_Clicked", "pseudocode": "// \n// EditLevelLayer::FLAlert_Clicked from 0x14017c1c0 to 0x14017c771 (1457 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1407482c0\n// > <???> @ 0x140918794\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:35 +0000\n// \n\n// Hidden C++ exception states: #wind=7\nchar __fastcall EditLevelLayer::FLAlert_Clicked(__int64 a1, __int64 a2, char a3)\n{\n  __int64 v6; // rcx\n  __int64 v7; // rax\n  __int64 v8; // rcx\n  __int64 v9; // rbx\n  __int64 v10; // rax\n  _DWORD *NewLevel; // rdi\n  int v12; // ebx\n  float v13; // xmm0_4\n  __int64 v14; // rdx\n  __int64 v15; // r8\n  __int64 v16; // r9\n  struct cocos2d::CCScene *v17; // rax\n  struct cocos2d::CCScene *v18; // rbx\n  __int64 v19; // rcx\n  cocos2d::CCDirector *v20; // rax\n  __int64 v21; // rcx\n  struct cocos2d::CCObject *v22; // rbx\n  __int64 v23; // rdi\n  __int64 v24; // rcx\n  __int64 v25; // rcx\n  __int64 v26; // rax\n  __int64 v27; // rax\n  __int64 v28; // rdi\n  __int64 v29; // rax\n  unsigned int v30; // edi\n  __int64 v31; // rcx\n  __int64 v32; // rax\n  __int64 v33; // rcx\n  __int64 v34; // rax\n  __int128 v36; // [rsp+20h] [rbp-38h] BYREF\n  __int64 v37; // [rsp+30h] [rbp-28h]\n  __int64 v38; // [rsp+38h] [rbp-20h]\n  void *v39; // [rsp+68h] [rbp+10h]\n  void *v40; // [rsp+68h] [rbp+10h]\n  void *v41; // [rsp+68h] [rbp+10h]\n  void *v42; // [rsp+68h] [rbp+10h]\n  void *v43; // [rsp+68h] [rbp+10h]\n  void *v44; // [rsp+78h] [rbp+20h]\n\n  if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2) == 4 && a3 )\n  {\n    (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 48) + 1040LL))(*(_QWORD *)(a1 + 48), 0);\n    v6 = *(_QWORD *)&qword_14090BFB0;\n    if ( !*(_QWORD *)&qword_14090BFB0 )\n    {\n      v39 = operator new(0x690u);\n      *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v39);\n      (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);\n      v6 = *(_QWORD *)&qword_14090BFB0;\n    }\n    GameLevelManager::deleteLevel(v6, *(_QWORD *)(a1 + 56));\n    LOBYTE(v7) = EditLevelLayer::onBack(a1 - 416, 0);\n    return v7;\n  }\n  if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2) == 7 && a3 )\n  {\n    v9 = a1 - 416;\n    v7 = cocos2d::CCDirector::sharedDirector(v8);\n    if ( !*(_BYTE *)(v7 + 176) && !*(_BYTE *)(v9 + 496) )\n    {\n      (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v9 + 992LL))(v9, 0);\n      *(_BYTE *)(v9 + 496) = 1;\n      v10 = qword_14090BFD0;\n      if ( !qword_14090BFD0 )\n      {\n        v40 = operator new(0x6E8u);\n        qword_14090BFD0 = GameManager::GameManager(v40);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n        v10 = qword_14090BFD0;\n      }\n      *(_DWORD *)(v10 + 740) = 2;\n      if ( !*(_QWORD *)&qword_14090BFB0 )\n      {\n        v41 = operator new(0x690u);\n        *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v41);\n        (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);\n      }\n      NewLevel = (_DWORD *)GameLevelManager::createNewLevel();\n      GJGameLevel::copyLevelInfo(NewLevel, *(_QWORD *)(v9 + 472));\n      EditLevelLayer::verifyLevelName(v9);\n      v12 = *(_DWORD *)(*(_QWORD *)(v9 + 472) + 1060LL) - *(_DWORD *)(*(_QWORD *)(v9 + 472) + 1064LL);\n      NewLevel[267] = v12;\n      v13 = (float)((float)rand() / 32767.0) * 1000.0;\n      NewLevel[266] = (int)v13;\n      NewLevel[265] = v12 + (int)v13;\n      v17 = (struct cocos2d::CCScene *)EditLevelLayer::scene((__int64)NewLevel, v14, v15, v16);\n      v18 = cocos2d::CCTransitionFade::create(0.5, v17);\n      v20 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v19);\n      LOBYTE(v7) = cocos2d::CCDirector::replaceScene(v20, v18);\n    }\n    return v7;\n  }\n  if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2) == 8 && a3 )\n  {\n    v22 = *(struct cocos2d::CCObject **)(a1 + 56);\n    v7 = LocalLevelManager::sharedState(v21);\n    v23 = v7;\n    if ( !v22 )\n      return v7;\n    LOBYTE(v7) = cocos2d::CCArray::containsObject(*(cocos2d::CCArray **)(v7 + 368), v22);\n    if ( !(_BYTE)v7 )\n      return v7;\n    cocos2d::CCObject::retain(v22);\n    cocos2d::CCArray::removeObject(*(cocos2d::CCArray **)(v23 + 368), v22, 1);\n    cocos2d::CCArray::insertObject(*(cocos2d::CCArray **)(v23 + 368), v22, 0);\n    goto LABEL_25;\n  }\n  if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2) == 12 && a3 )\n  {\n    v22 = *(struct cocos2d::CCObject **)(a1 + 56);\n    v7 = LocalLevelManager::sharedState(v24);\n    v23 = v7;\n    if ( !v22 )\n      return v7;\n    LOBYTE(v7) = cocos2d::CCArray::containsObject(*(cocos2d::CCArray **)(v7 + 368), v22);\n    if ( !(_BYTE)v7 )\n      return v7;\n    cocos2d::CCObject::retain(v22);\n    cocos2d::CCArray::removeObject(*(cocos2d::CCArray **)(v23 + 368), v22, 1);\n    cocos2d::CCArray::addObject(*(cocos2d::CCArray **)(v23 + 368), v22);\nLABEL_25:\n    cocos2d::CCObject::release(v22);\n    LOBYTE(v7) = LocalLevelManager::updateLevelOrder(v23);\n    return v7;\n  }\n  if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2) == 10 )\n  {\n    LOBYTE(v7) = EditLevelLayer::onShare(a1 - 416);\n  }\n  else if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2) == 5 )\n  {\n    if ( a3 )\n    {\n      v26 = qword_14090BFD0;\n      if ( !qword_14090BFD0 )\n      {\n        v42 = operator new(0x6E8u);\n        qword_14090BFD0 = GameManager::GameManager(v42);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n        v26 = qword_14090BFD0;\n      }\n      *(_BYTE *)(v26 + 963) = 1;\n      v27 = cocos2d::CCApplication::sharedApplication(v25);\n      LOBYTE(v7) = (*(__int64 (__fastcall **)(__int64, const char *))(*(_QWORD *)v27 + 96LL))(\n                     v27,\n                     \"https://www.boomlings.com/GDEditor\");\n    }\n    else\n    {\n      LOBYTE(v7) = EditLevelLayer::onEdit(a1 - 416);\n    }\n  }\n  else if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2) == 9 && a3 )\n  {\n    EditLevelLayer::closeTextInputs(a1 - 416);\n    v28 = a1 + 8;\n    if ( a1 == 416 )\n      v28 = 0;\n    v29 = *(_QWORD *)&qword_14090BFB0;\n    if ( !*(_QWORD *)&qword_14090BFB0 )\n    {\n      v43 = operator new(0x690u);\n      *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v43);\n      (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);\n      v29 = *(_QWORD *)&qword_14090BFB0;\n    }\n    *(_QWORD *)(v29 + 1488) = v28;\n    sub_14003F4F0((__int64)&v36, *(_QWORD *)(a1 + 56) + 376LL);\n    v30 = *(_DWORD *)(*(_QWORD *)(a1 + 56) + 328LL) - *(_DWORD *)(*(_QWORD *)(a1 + 56) + 332LL);\n    v31 = *(_QWORD *)&qword_14090BFB0;\n    if ( !*(_QWORD *)&qword_14090BFB0 )\n    {\n      v44 = operator new(0x690u);\n      *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v44);\n      (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);\n      v31 = *(_QWORD *)&qword_14090BFB0;\n    }\n    LOBYTE(v7) = GameLevelManager::updateDescription(v31, v30, &v36);\n    if ( (_BYTE)v7 )\n    {\n      v32 = *(_QWORD *)(a1 + 120);\n      if ( v32 )\n      {\n        *(_QWORD *)(v32 + 664) = 0;\n        *(_QWORD *)(a1 + 120) = 0;\n      }\n      v36 = 0;\n      v37 = 0;\n      v38 = 0;\n      *(_QWORD *)&v36 = sub_14003D460(0x20u);\n      v37 = 23;\n      v38 = 31;\n      strcpy((char *)v36, \"Updating description...\");\n      v33 = a1 + 16;\n      if ( a1 == 416 )\n        v33 = 0;\n      v34 = UploadActionPopup::create(v33, &v36);\n      *(_QWORD *)(a1 + 120) = v34;\n      LOBYTE(v7) = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v34 + 1064LL))(v34);\n    }\n  }\n  else\n  {\n    LODWORD(v7) = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2);\n    if ( (_DWORD)v7 == 11 )\n    {\n      if ( a3 )\n        *(_BYTE *)(a1 + 128) = 1;\n      else\n        GJGameLevel::clearPlatformerSave(*(_QWORD *)(a1 + 56));\n      LOBYTE(v7) = (unsigned __int8)EditLevelLayer::onPlay(a1 - 416);\n    }\n  }\n  return v7;\n}", "assembly": "; \n; EditLevelLayer::FLAlert_Clicked from 0x14017c1c0 to 0x14017c771 (1457 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1407482c0\n; > <???> @ 0x140918794\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:35 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x14017c1c0\npush    rbp                                                            ; +0x5, 0x14017c1c5\npush    rsi                                                            ; +0x6, 0x14017c1c6\npush    rdi                                                            ; +0x7, 0x14017c1c7\nsub     rsp, 40h                                                       ; +0x8, 0x14017c1c8\nmovzx   esi, r8b                                                       ; +0xc, 0x14017c1cc\nmov     rdi, rdx                                                       ; +0x10, 0x14017c1d0\nmov     rbx, rcx                                                       ; +0x13, 0x14017c1d3\nxor     ebp, ebp                                                       ; +0x16, 0x14017c1d6\nmov     rax, [rdx]                                                     ; +0x18, 0x14017c1d8\nmov     rcx, rdx                                                       ; +0x1b, 0x14017c1db\ncall    qword ptr [rax+38h]                                            ; +0x1e, 0x14017c1de\ncmp     eax, 4                                                         ; +0x21, 0x14017c1e1\njnz     short loc_14017C258                                            ; +0x24, 0x14017c1e4\ntest    sil, sil                                                       ; +0x26, 0x14017c1e6\njz      short loc_14017C258                                            ; +0x29, 0x14017c1e9\nmov     rcx, [rbx+30h]                                                 ; +0x2b, 0x14017c1eb\nmov     rax, [rcx]                                                     ; +0x2f, 0x14017c1ef\nxor     edx, edx                                                       ; +0x32, 0x14017c1f2\ncall    qword ptr [rax+410h]                                           ; +0x34, 0x14017c1f4\nmov     rcx, cs:qword_14090BFB0                                        ; +0x3a, 0x14017c1fa\ntest    rcx, rcx                                                       ; +0x41, 0x14017c201\njnz     short loc_14017C235                                            ; +0x44, 0x14017c204\nmov     ecx, 690h; Size                                                ; +0x46, 0x14017c206\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x4b, 0x14017c20b\nmov     [rsp+58h+arg_8], rax                                           ; +0x50, 0x14017c210\nmov     rcx, rax                                                       ; +0x55, 0x14017c215\ncall    GameLevelManager__GameLevelManager                             ; +0x58, 0x14017c218\nnop                                                                    ; +0x5d, 0x14017c21d\nmov     cs:qword_14090BFB0, rax                                        ; +0x5e, 0x14017c21e\nmov     rdx, [rax]                                                     ; +0x65, 0x14017c225\nmov     rcx, rax                                                       ; +0x68, 0x14017c228\ncall    qword ptr [rdx+48h]                                            ; +0x6b, 0x14017c22b\nmov     rcx, cs:qword_14090BFB0                                        ; +0x6e, 0x14017c22e\nmov     rdx, [rbx+38h]                                                 ; +0x75, 0x14017c235\ncall    GameLevelManager__deleteLevel                                  ; +0x79, 0x14017c239\nxor     edx, edx                                                       ; +0x7e, 0x14017c23e\nlea     rcx, [rbx-1A0h]                                                ; +0x80, 0x14017c240\nmov     rbx, [rsp+58h+arg_0]                                           ; +0x87, 0x14017c247\nadd     rsp, 40h                                                       ; +0x8c, 0x14017c24c\npop     rdi                                                            ; +0x90, 0x14017c250\npop     rsi                                                            ; +0x91, 0x14017c251\npop     rbp                                                            ; +0x92, 0x14017c252\njmp     EditLevelLayer__onBack                                         ; +0x93, 0x14017c253\nmov     rax, [rdi]                                                     ; +0x98, 0x14017c258\nmov     rcx, rdi                                                       ; +0x9b, 0x14017c25b\ncall    qword ptr [rax+38h]                                            ; +0x9e, 0x14017c25e\ncmp     eax, 7                                                         ; +0xa1, 0x14017c261\njnz     loc_14017C3CE                                                  ; +0xa4, 0x14017c264\ntest    sil, sil                                                       ; +0xaa, 0x14017c26a\njz      loc_14017C3CE                                                  ; +0xad, 0x14017c26d\nadd     rbx, 0FFFFFFFFFFFFFE60h                                        ; +0xb3, 0x14017c273\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0xba, 0x14017c27a\ncmp     [rax+0B0h], bpl                                                ; +0xc0, 0x14017c280\njnz     loc_14017C764                                                  ; +0xc7, 0x14017c287\ncmp     [rbx+1F0h], bpl                                                ; +0xcd, 0x14017c28d\njnz     loc_14017C764                                                  ; +0xd4, 0x14017c294\nmov     rax, [rbx]                                                     ; +0xda, 0x14017c29a\nxor     edx, edx                                                       ; +0xdd, 0x14017c29d\nmov     rcx, rbx                                                       ; +0xdf, 0x14017c29f\ncall    qword ptr [rax+3E0h]                                           ; +0xe2, 0x14017c2a2\nmov     byte ptr [rbx+1F0h], 1                                         ; +0xe8, 0x14017c2a8\nmov     rax, cs:qword_14090BFD0                                        ; +0xef, 0x14017c2af\ntest    rax, rax                                                       ; +0xf6, 0x14017c2b6\njnz     short loc_14017C2ED                                            ; +0xf9, 0x14017c2b9\nmov     ecx, 6E8h; Size                                                ; +0xfb, 0x14017c2bb\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x100, 0x14017c2c0\nmov     [rsp+58h+arg_8], rax                                           ; +0x105, 0x14017c2c5\nmov     rcx, rax                                                       ; +0x10a, 0x14017c2ca\ncall    GameManager__GameManager                                       ; +0x10d, 0x14017c2cd\nnop                                                                    ; +0x112, 0x14017c2d2\nmov     cs:qword_14090BFD0, rax                                        ; +0x113, 0x14017c2d3\nmov     rcx, [rax]                                                     ; +0x11a, 0x14017c2da\nmov     rdx, [rcx+48h]                                                 ; +0x11d, 0x14017c2dd\nmov     rcx, rax                                                       ; +0x121, 0x14017c2e1\ncall    rdx                                                            ; +0x124, 0x14017c2e4\nmov     rax, cs:qword_14090BFD0                                        ; +0x126, 0x14017c2e6\nmov     dword ptr [rax+2E4h], 2                                        ; +0x12d, 0x14017c2ed\ncmp     cs:qword_14090BFB0, 0                                          ; +0x137, 0x14017c2f7\njnz     short loc_14017C32C                                            ; +0x13f, 0x14017c2ff\nmov     ecx, 690h; Size                                                ; +0x141, 0x14017c301\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x146, 0x14017c306\nmov     [rsp+58h+arg_8], rax                                           ; +0x14b, 0x14017c30b\nmov     rcx, rax                                                       ; +0x150, 0x14017c310\ncall    GameLevelManager__GameLevelManager                             ; +0x153, 0x14017c313\nnop                                                                    ; +0x158, 0x14017c318\nmov     cs:qword_14090BFB0, rax                                        ; +0x159, 0x14017c319\nmov     rcx, [rax]                                                     ; +0x160, 0x14017c320\nmov     rdx, [rcx+48h]                                                 ; +0x163, 0x14017c323\nmov     rcx, rax                                                       ; +0x167, 0x14017c327\ncall    rdx                                                            ; +0x16a, 0x14017c32a\ncall    GameLevelManager__createNewLevel                               ; +0x16c, 0x14017c32c\nmov     rdi, rax                                                       ; +0x171, 0x14017c331\nmov     rdx, [rbx+1D8h]                                                ; +0x174, 0x14017c334\nmov     rcx, rax                                                       ; +0x17b, 0x14017c33b\ncall    GJGameLevel__copyLevelInfo                                     ; +0x17e, 0x14017c33e\nmov     rcx, rbx                                                       ; +0x183, 0x14017c343\ncall    EditLevelLayer__verifyLevelName                                ; +0x186, 0x14017c346\nmov     rcx, [rbx+1D8h]                                                ; +0x18b, 0x14017c34b\nmov     ebx, [rcx+424h]                                                ; +0x192, 0x14017c352\nsub     ebx, [rcx+428h]                                                ; +0x198, 0x14017c358\nmov     [rdi+42Ch], ebx                                                ; +0x19e, 0x14017c35e\ncall    cs:rand                                                        ; +0x1a4, 0x14017c364\nmovd    xmm0, eax                                                      ; +0x1aa, 0x14017c36a\ncvtdq2ps xmm0, xmm0                                                    ; +0x1ae, 0x14017c36e\ndivss   xmm0, cs:dword_140835BDC                                       ; +0x1b1, 0x14017c371\nmulss   xmm0, cs:dword_140835AA4                                       ; +0x1b9, 0x14017c379\ncvttss2si eax, xmm0                                                    ; +0x1c1, 0x14017c381\nmov     [rdi+428h], eax                                                ; +0x1c5, 0x14017c385\nadd     eax, ebx                                                       ; +0x1cb, 0x14017c38b\nmov     [rdi+424h], eax                                                ; +0x1cd, 0x14017c38d\nmov     rcx, rdi                                                       ; +0x1d3, 0x14017c393\ncall    EditLevelLayer__scene                                          ; +0x1d6, 0x14017c396\nmov     rdx, rax                                                       ; +0x1db, 0x14017c39b\nmovss   xmm0, cs:dword_140834F20                                       ; +0x1de, 0x14017c39e\ncall    cs:?create@CCTransitionFade@cocos2d@@SAPEAV12@MPEAVCCScene@2@@Z; cocos2d::CCTransitionFade::create(float,cocos2d::CCScene *) ; +0x1e6, 0x14017c3a6\nmov     rbx, rax                                                       ; +0x1ec, 0x14017c3ac\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x1ef, 0x14017c3af\nmov     rcx, rax                                                       ; +0x1f5, 0x14017c3b5\nmov     rdx, rbx                                                       ; +0x1f8, 0x14017c3b8\nmov     rbx, [rsp+58h+arg_0]                                           ; +0x1fb, 0x14017c3bb\nadd     rsp, 40h                                                       ; +0x200, 0x14017c3c0\npop     rdi                                                            ; +0x204, 0x14017c3c4\npop     rsi                                                            ; +0x205, 0x14017c3c5\npop     rbp                                                            ; +0x206, 0x14017c3c6\njmp     cs:?replaceScene@CCDirector@cocos2d@@QEAA_NPEAVCCScene@2@@Z; cocos2d::CCDirector::replaceScene(cocos2d::CCScene *) ; +0x207, 0x14017c3c7\nmov     rax, [rdi]                                                     ; +0x20e, 0x14017c3ce\nmov     rcx, rdi                                                       ; +0x211, 0x14017c3d1\ncall    qword ptr [rax+38h]                                            ; +0x214, 0x14017c3d4\ncmp     eax, 8                                                         ; +0x217, 0x14017c3d7\njnz     short loc_14017C43F                                            ; +0x21a, 0x14017c3da\ntest    sil, sil                                                       ; +0x21c, 0x14017c3dc\njz      short loc_14017C43F                                            ; +0x21f, 0x14017c3df\nmov     rbx, [rbx+38h]                                                 ; +0x221, 0x14017c3e1\ncall    LocalLevelManager__sharedState                                 ; +0x225, 0x14017c3e5\nmov     rdi, rax                                                       ; +0x22a, 0x14017c3ea\ntest    rbx, rbx                                                       ; +0x22d, 0x14017c3ed\njz      loc_14017C764                                                  ; +0x230, 0x14017c3f0\nmov     rdx, rbx                                                       ; +0x236, 0x14017c3f6\nmov     rcx, [rax+170h]                                                ; +0x239, 0x14017c3f9\ncall    cs:?containsObject@CCArray@cocos2d@@QEBA_NPEAVCCObject@2@@Z; cocos2d::CCArray::containsObject(cocos2d::CCObject *) ; +0x240, 0x14017c400\ntest    al, al                                                         ; +0x246, 0x14017c406\njz      loc_14017C764                                                  ; +0x248, 0x14017c408\nmov     rcx, rbx                                                       ; +0x24e, 0x14017c40e\ncall    cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x251, 0x14017c411\nmov     r8b, 1                                                         ; +0x257, 0x14017c417\nmov     rdx, rbx                                                       ; +0x25a, 0x14017c41a\nmov     rcx, [rdi+170h]                                                ; +0x25d, 0x14017c41d\ncall    cs:?removeObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@_N@Z; cocos2d::CCArray::removeObject(cocos2d::CCObject *,bool) ; +0x264, 0x14017c424\nxor     r8d, r8d                                                       ; +0x26a, 0x14017c42a\nmov     rdx, rbx                                                       ; +0x26d, 0x14017c42d\nmov     rcx, [rdi+170h]                                                ; +0x270, 0x14017c430\ncall    cs:?insertObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@I@Z; cocos2d::CCArray::insertObject(cocos2d::CCObject *,uint) ; +0x277, 0x14017c437\njmp     short loc_14017C4AB                                            ; +0x27d, 0x14017c43d\nmov     rax, [rdi]                                                     ; +0x27f, 0x14017c43f\nmov     rcx, rdi                                                       ; +0x282, 0x14017c442\ncall    qword ptr [rax+38h]                                            ; +0x285, 0x14017c445\ncmp     eax, 0Ch                                                       ; +0x288, 0x14017c448\njnz     short loc_14017C4C8                                            ; +0x28b, 0x14017c44b\ntest    sil, sil                                                       ; +0x28d, 0x14017c44d\njz      short loc_14017C4C8                                            ; +0x290, 0x14017c450\nmov     rbx, [rbx+38h]                                                 ; +0x292, 0x14017c452\ncall    LocalLevelManager__sharedState                                 ; +0x296, 0x14017c456\nmov     rdi, rax                                                       ; +0x29b, 0x14017c45b\ntest    rbx, rbx                                                       ; +0x29e, 0x14017c45e\njz      loc_14017C764                                                  ; +0x2a1, 0x14017c461\nmov     rdx, rbx                                                       ; +0x2a7, 0x14017c467\nmov     rcx, [rax+170h]                                                ; +0x2aa, 0x14017c46a\ncall    cs:?containsObject@CCArray@cocos2d@@QEBA_NPEAVCCObject@2@@Z; cocos2d::CCArray::containsObject(cocos2d::CCObject *) ; +0x2b1, 0x14017c471\ntest    al, al                                                         ; +0x2b7, 0x14017c477\njz      loc_14017C764                                                  ; +0x2b9, 0x14017c479\nmov     rcx, rbx                                                       ; +0x2bf, 0x14017c47f\ncall    cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x2c2, 0x14017c482\nmov     r8b, 1                                                         ; +0x2c8, 0x14017c488\nmov     rdx, rbx                                                       ; +0x2cb, 0x14017c48b\nmov     rcx, [rdi+170h]                                                ; +0x2ce, 0x14017c48e\ncall    cs:?removeObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@_N@Z; cocos2d::CCArray::removeObject(cocos2d::CCObject *,bool) ; +0x2d5, 0x14017c495\nmov     rdx, rbx                                                       ; +0x2db, 0x14017c49b\nmov     rcx, [rdi+170h]                                                ; +0x2de, 0x14017c49e\ncall    cs:?addObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x2e5, 0x14017c4a5\nmov     rcx, rbx                                                       ; +0x2eb, 0x14017c4ab\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x2ee, 0x14017c4ae\nmov     rcx, rdi                                                       ; +0x2f4, 0x14017c4b4\nmov     rbx, [rsp+58h+arg_0]                                           ; +0x2f7, 0x14017c4b7\nadd     rsp, 40h                                                       ; +0x2fc, 0x14017c4bc\npop     rdi                                                            ; +0x300, 0x14017c4c0\npop     rsi                                                            ; +0x301, 0x14017c4c1\npop     rbp                                                            ; +0x302, 0x14017c4c2\njmp     LocalLevelManager__updateLevelOrder                            ; +0x303, 0x14017c4c3\nmov     rax, [rdi]                                                     ; +0x308, 0x14017c4c8\nmov     rcx, rdi                                                       ; +0x30b, 0x14017c4cb\ncall    qword ptr [rax+38h]                                            ; +0x30e, 0x14017c4ce\ncmp     eax, 0Ah                                                       ; +0x311, 0x14017c4d1\njnz     short loc_14017C4F0                                            ; +0x314, 0x14017c4d4\nlea     rcx, [rbx-1A0h]                                                ; +0x316, 0x14017c4d6\nxor     edx, edx                                                       ; +0x31d, 0x14017c4dd\nmov     rbx, [rsp+58h+arg_0]                                           ; +0x31f, 0x14017c4df\nadd     rsp, 40h                                                       ; +0x324, 0x14017c4e4\npop     rdi                                                            ; +0x328, 0x14017c4e8\npop     rsi                                                            ; +0x329, 0x14017c4e9\npop     rbp                                                            ; +0x32a, 0x14017c4ea\njmp     EditLevelLayer__onShare                                        ; +0x32b, 0x14017c4eb\nmov     rax, [rdi]                                                     ; +0x330, 0x14017c4f0\nmov     rcx, rdi                                                       ; +0x333, 0x14017c4f3\ncall    qword ptr [rax+38h]                                            ; +0x336, 0x14017c4f6\ncmp     eax, 5                                                         ; +0x339, 0x14017c4f9\njnz     loc_14017C58C                                                  ; +0x33c, 0x14017c4fc\ntest    sil, sil                                                       ; +0x342, 0x14017c502\njz      short loc_14017C572                                            ; +0x345, 0x14017c505\nmov     rax, cs:qword_14090BFD0                                        ; +0x347, 0x14017c507\ntest    rax, rax                                                       ; +0x34e, 0x14017c50e\njnz     short loc_14017C545                                            ; +0x351, 0x14017c511\nmov     ecx, 6E8h; Size                                                ; +0x353, 0x14017c513\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x358, 0x14017c518\nmov     [rsp+58h+arg_8], rax                                           ; +0x35d, 0x14017c51d\nmov     rcx, rax                                                       ; +0x362, 0x14017c522\ncall    GameManager__GameManager                                       ; +0x365, 0x14017c525\nnop                                                                    ; +0x36a, 0x14017c52a\nmov     cs:qword_14090BFD0, rax                                        ; +0x36b, 0x14017c52b\nmov     rcx, [rax]                                                     ; +0x372, 0x14017c532\nmov     rdx, [rcx+48h]                                                 ; +0x375, 0x14017c535\nmov     rcx, rax                                                       ; +0x379, 0x14017c539\ncall    rdx                                                            ; +0x37c, 0x14017c53c\nmov     rax, cs:qword_14090BFD0                                        ; +0x37e, 0x14017c53e\nmov     byte ptr [rax+3C3h], 1                                         ; +0x385, 0x14017c545\ncall    cs:?sharedApplication@CCApplication@cocos2d@@SAPEAV12@XZ; cocos2d::CCApplication::sharedApplication(void) ; +0x38c, 0x14017c54c\nmov     rcx, [rax]                                                     ; +0x392, 0x14017c552\nmov     r8, [rcx+60h]                                                  ; +0x395, 0x14017c555\nlea     rdx, aHttpsWwwBoomli_17; \"https://www.boomlings.com/GDEditor\"  ; +0x399, 0x14017c559\nmov     rcx, rax                                                       ; +0x3a0, 0x14017c560\nmov     rbx, [rsp+58h+arg_0]                                           ; +0x3a3, 0x14017c563\nadd     rsp, 40h                                                       ; +0x3a8, 0x14017c568\npop     rdi                                                            ; +0x3ac, 0x14017c56c\npop     rsi                                                            ; +0x3ad, 0x14017c56d\npop     rbp                                                            ; +0x3ae, 0x14017c56e\njmp     r8                                                             ; +0x3af, 0x14017c56f\nlea     rcx, [rbx-1A0h]                                                ; +0x3b2, 0x14017c572\nxor     edx, edx                                                       ; +0x3b9, 0x14017c579\nmov     rbx, [rsp+58h+arg_0]                                           ; +0x3bb, 0x14017c57b\nadd     rsp, 40h                                                       ; +0x3c0, 0x14017c580\npop     rdi                                                            ; +0x3c4, 0x14017c584\npop     rsi                                                            ; +0x3c5, 0x14017c585\npop     rbp                                                            ; +0x3c6, 0x14017c586\njmp     EditLevelLayer__onEdit                                         ; +0x3c7, 0x14017c587\nmov     rax, [rdi]                                                     ; +0x3cc, 0x14017c58c\nmov     rcx, rdi                                                       ; +0x3cf, 0x14017c58f\ncall    qword ptr [rax+38h]                                            ; +0x3d2, 0x14017c592\ncmp     eax, 9                                                         ; +0x3d5, 0x14017c595\njnz     loc_14017C731                                                  ; +0x3d8, 0x14017c598\ntest    sil, sil                                                       ; +0x3de, 0x14017c59e\njz      loc_14017C731                                                  ; +0x3e1, 0x14017c5a1\nlea     rsi, [rbx-1A0h]                                                ; +0x3e7, 0x14017c5a7\nmov     rcx, rsi                                                       ; +0x3ee, 0x14017c5ae\ncall    EditLevelLayer__closeTextInputs                                ; +0x3f1, 0x14017c5b1\nlea     rdi, [rbx+8]                                                   ; +0x3f6, 0x14017c5b6\ntest    rsi, rsi                                                       ; +0x3fa, 0x14017c5ba\ncmovz   rdi, rbp                                                       ; +0x3fd, 0x14017c5bd\nmov     rax, cs:qword_14090BFB0                                        ; +0x401, 0x14017c5c1\ntest    rax, rax                                                       ; +0x408, 0x14017c5c8\njnz     short loc_14017C5FF                                            ; +0x40b, 0x14017c5cb\nmov     ecx, 690h; Size                                                ; +0x40d, 0x14017c5cd\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x412, 0x14017c5d2\nmov     [rsp+58h+arg_8], rax                                           ; +0x417, 0x14017c5d7\nmov     rcx, rax                                                       ; +0x41c, 0x14017c5dc\ncall    GameLevelManager__GameLevelManager                             ; +0x41f, 0x14017c5df\nnop                                                                    ; +0x424, 0x14017c5e4\nmov     cs:qword_14090BFB0, rax                                        ; +0x425, 0x14017c5e5\nmov     rcx, [rax]                                                     ; +0x42c, 0x14017c5ec\nmov     rdx, [rcx+48h]                                                 ; +0x42f, 0x14017c5ef\nmov     rcx, rax                                                       ; +0x433, 0x14017c5f3\ncall    rdx                                                            ; +0x436, 0x14017c5f6\nmov     rax, cs:qword_14090BFB0                                        ; +0x438, 0x14017c5f8\nmov     [rax+5D0h], rdi                                                ; +0x43f, 0x14017c5ff\nlea     rax, [rsp+58h+var_38]                                          ; +0x446, 0x14017c606\nmov     [rsp+58h+arg_8], rax                                           ; +0x44b, 0x14017c60b\nmov     rdx, [rbx+38h]                                                 ; +0x450, 0x14017c610\nadd     rdx, 178h                                                      ; +0x454, 0x14017c614\nlea     rcx, [rsp+58h+var_38]                                          ; +0x45b, 0x14017c61b\ncall    sub_14003F4F0                                                  ; +0x460, 0x14017c620\nnop                                                                    ; +0x465, 0x14017c625\nmov     rax, [rbx+38h]                                                 ; +0x466, 0x14017c626\nmov     edi, [rax+148h]                                                ; +0x46a, 0x14017c62a\nsub     edi, [rax+14Ch]                                                ; +0x470, 0x14017c630\nmov     rcx, cs:qword_14090BFB0                                        ; +0x476, 0x14017c636\ntest    rcx, rcx                                                       ; +0x47d, 0x14017c63d\njnz     short loc_14017C675                                            ; +0x480, 0x14017c640\nmov     ecx, 690h; Size                                                ; +0x482, 0x14017c642\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x487, 0x14017c647\nmov     [rsp+58h+arg_18], rax                                          ; +0x48c, 0x14017c64c\nmov     rcx, rax                                                       ; +0x491, 0x14017c651\ncall    GameLevelManager__GameLevelManager                             ; +0x494, 0x14017c654\nnop                                                                    ; +0x499, 0x14017c659\nmov     cs:qword_14090BFB0, rax                                        ; +0x49a, 0x14017c65a\nmov     rcx, [rax]                                                     ; +0x4a1, 0x14017c661\nmov     r8, [rcx+48h]                                                  ; +0x4a4, 0x14017c664\nmov     rcx, rax                                                       ; +0x4a8, 0x14017c668\ncall    r8                                                             ; +0x4ab, 0x14017c66b\nmov     rcx, cs:qword_14090BFB0                                        ; +0x4ae, 0x14017c66e\nlea     r8, [rsp+58h+var_38]                                           ; +0x4b5, 0x14017c675\nmov     edx, edi                                                       ; +0x4ba, 0x14017c67a\ncall    GameLevelManager__updateDescription                            ; +0x4bc, 0x14017c67c\ntest    al, al                                                         ; +0x4c1, 0x14017c681\njz      loc_14017C764                                                  ; +0x4c3, 0x14017c683\nmov     rax, [rbx+78h]                                                 ; +0x4c9, 0x14017c689\ntest    rax, rax                                                       ; +0x4cd, 0x14017c68d\njz      short loc_14017C69D                                            ; +0x4d0, 0x14017c690\nmov     [rax+298h], rbp                                                ; +0x4d2, 0x14017c692\nmov     [rbx+78h], rbp                                                 ; +0x4d9, 0x14017c699\nxorps   xmm0, xmm0                                                     ; +0x4dd, 0x14017c69d\nmovups  [rsp+58h+var_38], xmm0                                         ; +0x4e0, 0x14017c6a0\nmov     [rsp+58h+var_28], rbp                                          ; +0x4e5, 0x14017c6a5\nmov     [rsp+58h+var_20], rbp                                          ; +0x4ea, 0x14017c6aa\nmov     ecx, 20h ; ' '                                                 ; +0x4ef, 0x14017c6af\ncall    sub_14003D460                                                  ; +0x4f4, 0x14017c6b4\nmov     qword ptr [rsp+58h+var_38], rax                                ; +0x4f9, 0x14017c6b9\nmov     [rsp+58h+var_28], 17h                                          ; +0x4fe, 0x14017c6be\nmov     [rsp+58h+var_20], 1Fh                                          ; +0x507, 0x14017c6c7\nmovups  xmm0, cs:xmmword_140747EF8                                     ; +0x510, 0x14017c6d0\nmovups  xmmword ptr [rax], xmm0                                        ; +0x517, 0x14017c6d7\nmov     ecx, cs:dword_140747F08                                        ; +0x51a, 0x14017c6da\nmov     [rax+10h], ecx                                                 ; +0x520, 0x14017c6e0\nmovzx   ecx, cs:word_140747F0C                                         ; +0x523, 0x14017c6e3\nmov     [rax+14h], cx                                                  ; +0x52a, 0x14017c6ea\nmovzx   ecx, cs:byte_140747F0E                                         ; +0x52e, 0x14017c6ee\nmov     [rax+16h], cl                                                  ; +0x535, 0x14017c6f5\nmov     byte ptr [rax+17h], 0                                          ; +0x538, 0x14017c6f8\nlea     rcx, [rbx+10h]                                                 ; +0x53c, 0x14017c6fc\ntest    rsi, rsi                                                       ; +0x540, 0x14017c700\ncmovz   rcx, rbp                                                       ; +0x543, 0x14017c703\nlea     rdx, [rsp+58h+var_38]                                          ; +0x547, 0x14017c707\ncall    UploadActionPopup__create                                      ; +0x54c, 0x14017c70c\nmov     [rbx+78h], rax                                                 ; +0x551, 0x14017c711\nmov     rcx, [rax]                                                     ; +0x555, 0x14017c715\nmov     rdx, [rcx+428h]                                                ; +0x558, 0x14017c718\nmov     rcx, rax                                                       ; +0x55f, 0x14017c71f\nmov     rbx, [rsp+58h+arg_0]                                           ; +0x562, 0x14017c722\nadd     rsp, 40h                                                       ; +0x567, 0x14017c727\npop     rdi                                                            ; +0x56b, 0x14017c72b\npop     rsi                                                            ; +0x56c, 0x14017c72c\npop     rbp                                                            ; +0x56d, 0x14017c72d\njmp     rdx                                                            ; +0x56e, 0x14017c72e\nmov     rax, [rdi]                                                     ; +0x571, 0x14017c731\nmov     rcx, rdi                                                       ; +0x574, 0x14017c734\ncall    qword ptr [rax+38h]                                            ; +0x577, 0x14017c737\ncmp     eax, 0Bh                                                       ; +0x57a, 0x14017c73a\njnz     short loc_14017C764                                            ; +0x57d, 0x14017c73d\ntest    sil, sil                                                       ; +0x57f, 0x14017c73f\njz      short loc_14017C74D                                            ; +0x582, 0x14017c742\nmov     byte ptr [rbx+80h], 1                                          ; +0x584, 0x14017c744\njmp     short loc_14017C756                                            ; +0x58b, 0x14017c74b\nmov     rcx, [rbx+38h]                                                 ; +0x58d, 0x14017c74d\ncall    GJGameLevel__clearPlatformerSave                               ; +0x591, 0x14017c751\nxor     edx, edx                                                       ; +0x596, 0x14017c756\nlea     rcx, [rbx-1A0h]                                                ; +0x598, 0x14017c758\ncall    EditLevelLayer__onPlay                                         ; +0x59f, 0x14017c75f\nmov     rbx, [rsp+58h+arg_0]                                           ; +0x5a4, 0x14017c764\nadd     rsp, 40h                                                       ; +0x5a9, 0x14017c769\npop     rdi                                                            ; +0x5ad, 0x14017c76d\npop     rsi                                                            ; +0x5ae, 0x14017c76e\npop     rbp                                                            ; +0x5af, 0x14017c76f\nretn                                                                   ; +0x5b0, 0x14017c770", "xrefs": ["<???> @ 0x1407482c0", "<???> @ 0x140918794"], "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"}