{"type": "func", "start": 5371851504, "end": 5371851800, "name": "LevelInfoLayer::confirmMoveToBottom", "pseudocode": "// \n// LevelInfoLayer::confirmMoveToBottom from 0x1402ff2f0 to 0x1402ff418 (296 bytes)\n// \n// 2 xrefs:\n// > LevelInfoLayer::init @ 0x1402f922f\n// > <???> @ 0x1406d431c\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=1\nvoid LevelInfoLayer::confirmMoveToBottom(LevelInfoLayer *a1, cocos2d::CCObject *a2)\n{\n  int v2; // ebx\n  __int64 v3; // rax\n  FLAlertLayer *v4; // rbx\n  __int128 v5; // [rsp+50h] [rbp-48h] BYREF\n  __int64 v6; // [rsp+60h] [rbp-38h]\n  __int64 v7; // [rsp+68h] [rbp-30h]\n  _BYTE v8[40]; // [rsp+70h] [rbp-28h] BYREF\n\n  if ( !a1->m_isBusy )\n  {\n    v2 = (_DWORD)a1 + 440;\n    if ( !a1 )\n      v2 = 0;\n    v5 = 0;\n    *(_QWORD *)&v5 = sub_14003AA10(0x40u);\n    v6 = 49;\n    v7 = 63;\n    strcpy((char *)v5, \"Move this level to the bottom of the levels list?\");\n    v3 = sub_14003BDB0((__int64)v8, (__int64)&v5);\n    v4 = FLAlertLayer::create(\n           v2,\n           (int)\"Move to Bottom\",\n           v3,\n           (__int64)&unk_140547160,\n           (__int64)\"YES\",\n           1133903872,\n           0,\n           0,\n           1065353216);\n    sub_14003A830((__int64)&v5);\n    v4->setTag(v4, 12);\n    v4->show(v4);\n  }\n}", "assembly": "; \n; LevelInfoLayer::confirmMoveToBottom from 0x1402ff2f0 to 0x1402ff418 (296 bytes)\n; \n; 2 xrefs:\n; > LevelInfoLayer::init @ 0x1402f922f\n; > <???> @ 0x1406d431c\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\npush    rbx                                                            ; +0x0, 0x1402ff2f0\nsub     rsp, 90h                                                       ; +0x2, 0x1402ff2f2\ncmp     byte ptr [rcx+1E0h], 0                                         ; +0x9, 0x1402ff2f9\njnz     loc_1402FF40F                                                  ; +0x10, 0x1402ff300\nlea     rbx, [rcx+1B8h]                                                ; +0x16, 0x1402ff306\nxor     eax, eax                                                       ; +0x1d, 0x1402ff30d\ntest    rcx, rcx                                                       ; +0x1f, 0x1402ff30f\ncmovz   rbx, rax                                                       ; +0x22, 0x1402ff312\nxorps   xmm0, xmm0                                                     ; +0x26, 0x1402ff316\nmovups  [rsp+98h+var_48], xmm0                                         ; +0x29, 0x1402ff319\nmov     [rsp+98h+var_38], rax                                          ; +0x2e, 0x1402ff31e\nmov     [rsp+98h+var_30], 0Fh                                          ; +0x33, 0x1402ff323\nlea     ecx, [rax+40h]                                                 ; +0x3c, 0x1402ff32c\ncall    sub_14003AA10                                                  ; +0x3f, 0x1402ff32f\nmov     rcx, rax                                                       ; +0x44, 0x1402ff334\nmov     qword ptr [rsp+98h+var_48], rax                                ; +0x47, 0x1402ff337\nmov     [rsp+98h+var_38], 31h ; '1'                                    ; +0x4c, 0x1402ff33c\nmov     [rsp+98h+var_30], 3Fh ; '?'                                    ; +0x55, 0x1402ff345\nmovups  xmm0, cs:xmmword_140587828                                     ; +0x5e, 0x1402ff34e\nmovups  xmmword ptr [rax], xmm0                                        ; +0x65, 0x1402ff355\nmovups  xmm1, cs:xmmword_140587838                                     ; +0x68, 0x1402ff358\nmovups  xmmword ptr [rax+10h], xmm1                                    ; +0x6f, 0x1402ff35f\nmovups  xmm0, cs:xmmword_140587848                                     ; +0x73, 0x1402ff363\nmovups  xmmword ptr [rax+20h], xmm0                                    ; +0x7a, 0x1402ff36a\nmovzx   eax, cs:byte_140587858                                         ; +0x7e, 0x1402ff36e\nmov     [rcx+30h], al                                                  ; +0x85, 0x1402ff375\nmov     byte ptr [rcx+31h], 0                                          ; +0x88, 0x1402ff378\nlea     rax, [rsp+98h+var_48]                                          ; +0x8c, 0x1402ff37c\nmov     [rsp+98h+arg_0], rax                                           ; +0x91, 0x1402ff381\nlea     rdx, [rsp+98h+var_48]                                          ; +0x99, 0x1402ff389\nlea     rcx, [rsp+98h+var_28]                                          ; +0x9e, 0x1402ff38e\ncall    sub_14003BDB0                                                  ; +0xa3, 0x1402ff393\nmovss   xmm0, cs:flt_140622C24                                         ; +0xa8, 0x1402ff398\nmovss   [rsp+98h+var_58], xmm0                                         ; +0xb0, 0x1402ff3a0\nxorps   xmm1, xmm1                                                     ; +0xb6, 0x1402ff3a6\nmovss   [rsp+98h+var_60], xmm1                                         ; +0xb9, 0x1402ff3a9\nmov     [rsp+98h+var_68], 0                                            ; +0xbf, 0x1402ff3af\nmovss   xmm0, cs:dword_14062343C                                       ; +0xc4, 0x1402ff3b4\nmovss   [rsp+98h+var_70], xmm0                                         ; +0xcc, 0x1402ff3bc\nlea     rcx, aYes_0; \"YES\"                                             ; +0xd2, 0x1402ff3c2\nmov     [rsp+98h+var_78], rcx                                          ; +0xd9, 0x1402ff3c9\nlea     r9, unk_140547160                                              ; +0xde, 0x1402ff3ce\nmov     r8, rax                                                        ; +0xe5, 0x1402ff3d5\nlea     rdx, aMoveToBottom; \"Move to Bottom\"                           ; +0xe8, 0x1402ff3d8\nmov     rcx, rbx                                                       ; +0xef, 0x1402ff3df\ncall    FLAlertLayer__create                                           ; +0xf2, 0x1402ff3e2\nmov     rbx, rax                                                       ; +0xf7, 0x1402ff3e7\nlea     rcx, [rsp+98h+var_48]                                          ; +0xfa, 0x1402ff3ea\ncall    sub_14003A830                                                  ; +0xff, 0x1402ff3ef\nmov     r8, [rbx]                                                      ; +0x104, 0x1402ff3f4\nmov     edx, 0Ch                                                       ; +0x107, 0x1402ff3f7\nmov     rcx, rbx                                                       ; +0x10c, 0x1402ff3fc\ncall    qword ptr [r8+40h]                                             ; +0x10f, 0x1402ff3ff\nmov     rdx, [rbx]                                                     ; +0x113, 0x1402ff403\nmov     rcx, rbx                                                       ; +0x116, 0x1402ff406\ncall    qword ptr [rdx+410h]                                           ; +0x119, 0x1402ff409\nadd     rsp, 90h                                                       ; +0x11f, 0x1402ff40f\npop     rbx                                                            ; +0x126, 0x1402ff416\nretn                                                                   ; +0x127, 0x1402ff417", "xrefs": ["LevelInfoLayer::init @ 0x1402f922f", "<???> @ 0x1406d431c"], "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"}