{"type": "func", "start": 5373052944, "end": 5373053241, "name": "LevelInfoLayer::confirmMoveToBottom", "pseudocode": "// \n// LevelInfoLayer::confirmMoveToBottom from 0x140424810 to 0x140424939 (297 bytes)\n// \n// 2 xrefs:\n// > LevelInfoLayer::init @ 0x14041e05d\n// > <???> @ 0x140926978\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:32:10 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nvoid __fastcall LevelInfoLayer::confirmMoveToBottom(__int64 a1)\n{\n  int v1; // ebx\n  __int64 v2; // rax\n  cocos2d::CCObject *v3; // rbx\n  __int128 v4; // [rsp+50h] [rbp-48h] BYREF\n  __int64 v5; // [rsp+60h] [rbp-38h]\n  __int64 v6; // [rsp+68h] [rbp-30h]\n  _BYTE v7[40]; // [rsp+70h] [rbp-28h] BYREF\n\n  if ( !*(_BYTE *)(a1 + 488) )\n  {\n    v1 = a1 + 440;\n    if ( !a1 )\n      v1 = 0;\n    v4 = 0;\n    *(_QWORD *)&v4 = sub_14003D460(0x40u);\n    v5 = 49;\n    v6 = 63;\n    strcpy((char *)v4, \"Move this level to the bottom of the levels list?\");\n    v2 = sub_14003F4F0((__int64)v7, (__int64)&v4);\n    v3 = FLAlertLayer::create(\n           v1,\n           (int)\"Move to Bottom\",\n           v2,\n           (__int64)&unk_14073A058,\n           (__int64)\"YES\",\n           1133903872,\n           0,\n           0,\n           1065353216);\n    sub_14003D310((__int64)&v4);\n    (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v3 + 64LL))(v3, 12);\n    (*(void (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v3 + 1064LL))(v3);\n  }\n}", "assembly": "; \n; LevelInfoLayer::confirmMoveToBottom from 0x140424810 to 0x140424939 (297 bytes)\n; \n; 2 xrefs:\n; > LevelInfoLayer::init @ 0x14041e05d\n; > <???> @ 0x140926978\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:32:10 +0000\n; \npush    rbx                                                            ; +0x0, 0x140424810\nsub     rsp, 90h                                                       ; +0x2, 0x140424812\ncmp     byte ptr [rcx+1E8h], 0                                         ; +0x9, 0x140424819\njnz     loc_140424930                                                  ; +0x10, 0x140424820\nlea     rbx, [rcx+1B8h]                                                ; +0x16, 0x140424826\nxor     eax, eax                                                       ; +0x1d, 0x14042482d\ntest    rcx, rcx                                                       ; +0x1f, 0x14042482f\ncmovz   rbx, rax                                                       ; +0x22, 0x140424832\nxorps   xmm0, xmm0                                                     ; +0x26, 0x140424836\nmovups  [rsp+98h+var_48], xmm0                                         ; +0x29, 0x140424839\nmov     [rsp+98h+var_38], rax                                          ; +0x2e, 0x14042483e\nmov     [rsp+98h+var_30], rax                                          ; +0x33, 0x140424843\nmov     ecx, 40h ; '@'                                                 ; +0x38, 0x140424848\ncall    sub_14003D460                                                  ; +0x3d, 0x14042484d\nmov     qword ptr [rsp+98h+var_48], rax                                ; +0x42, 0x140424852\nmov     [rsp+98h+var_38], 31h ; '1'                                    ; +0x47, 0x140424857\nmov     [rsp+98h+var_30], 3Fh ; '?'                                    ; +0x50, 0x140424860\nmovups  xmm0, cs:xmmword_14078C490                                     ; +0x59, 0x140424869\nmovups  xmmword ptr [rax], xmm0                                        ; +0x60, 0x140424870\nmovups  xmm1, cs:xmmword_14078C4A0                                     ; +0x63, 0x140424873\nmovups  xmmword ptr [rax+10h], xmm1                                    ; +0x6a, 0x14042487a\nmovups  xmm0, cs:xmmword_14078C4B0                                     ; +0x6e, 0x14042487e\nmovups  xmmword ptr [rax+20h], xmm0                                    ; +0x75, 0x140424885\nmovzx   ecx, cs:byte_14078C4C0                                         ; +0x79, 0x140424889\nmov     [rax+30h], cl                                                  ; +0x80, 0x140424890\nmov     byte ptr [rax+31h], 0                                          ; +0x83, 0x140424893\nlea     rax, [rsp+98h+var_48]                                          ; +0x87, 0x140424897\nmov     [rsp+98h+arg_0], rax                                           ; +0x8c, 0x14042489c\nlea     rdx, [rsp+98h+var_48]                                          ; +0x94, 0x1404248a4\nlea     rcx, [rsp+98h+var_28]                                          ; +0x99, 0x1404248a9\ncall    sub_14003F4F0                                                  ; +0x9e, 0x1404248ae\nmovss   xmm0, cs:flt_140835080                                         ; +0xa3, 0x1404248b3\nmovss   [rsp+98h+var_58], xmm0                                         ; +0xab, 0x1404248bb\nxorps   xmm1, xmm1                                                     ; +0xb1, 0x1404248c1\nmovss   [rsp+98h+var_60], xmm1                                         ; +0xb4, 0x1404248c4\nmov     [rsp+98h+var_68], 0                                            ; +0xba, 0x1404248ca\nmovss   xmm0, cs:dword_1408359A4                                       ; +0xbf, 0x1404248cf\nmovss   [rsp+98h+var_70], xmm0                                         ; +0xc7, 0x1404248d7\nlea     rcx, aYes_0; \"YES\"                                             ; +0xcd, 0x1404248dd\nmov     [rsp+98h+var_78], rcx                                          ; +0xd4, 0x1404248e4\nlea     r9, unk_14073A058                                              ; +0xd9, 0x1404248e9\nmov     r8, rax                                                        ; +0xe0, 0x1404248f0\nlea     rdx, aMoveToBottom; \"Move to Bottom\"                           ; +0xe3, 0x1404248f3\nmov     rcx, rbx                                                       ; +0xea, 0x1404248fa\ncall    FLAlertLayer__create                                           ; +0xed, 0x1404248fd\nmov     rbx, rax                                                       ; +0xf2, 0x140424902\nlea     rcx, [rsp+98h+var_48]                                          ; +0xf5, 0x140424905\ncall    sub_14003D310                                                  ; +0xfa, 0x14042490a\nmov     rcx, [rbx]                                                     ; +0xff, 0x14042490f\nmov     r8, [rcx+40h]                                                  ; +0x102, 0x140424912\nmov     edx, 0Ch                                                       ; +0x106, 0x140424916\nmov     rcx, rbx                                                       ; +0x10b, 0x14042491b\ncall    r8                                                             ; +0x10e, 0x14042491e\nmov     rcx, [rbx]                                                     ; +0x111, 0x140424921\nmov     rdx, [rcx+428h]                                                ; +0x114, 0x140424924\nmov     rcx, rbx                                                       ; +0x11b, 0x14042492b\ncall    rdx                                                            ; +0x11e, 0x14042492e\nadd     rsp, 90h                                                       ; +0x120, 0x140424930\npop     rbx                                                            ; +0x127, 0x140424937\nretn                                                                   ; +0x128, 0x140424938", "xrefs": ["LevelInfoLayer::init @ 0x14041e05d", "<???> @ 0x140926978"], "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"}