{"type": "func", "start": 5369598912, "end": 5369599205, "name": "EditLevelLayer::confirmMoveToTop", "pseudocode": "// \n// EditLevelLayer::confirmMoveToTop from 0x1400d93c0 to 0x1400d94e5 (293 bytes)\n// \n// 2 xrefs:\n// > EditLevelLayer::init @ 0x1400d6262\n// > <???> @ 0x1406c885c\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 EditLevelLayer::confirmMoveToTop(EditLevelLayer *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  v2 = (_DWORD)a1 + 416;\n  if ( !a1 )\n    v2 = 0;\n  v5 = 0;\n  *(_QWORD *)&v5 = sub_14003AA10(0x40u);\n  v6 = 54;\n  v7 = 63;\n  strcpy((char *)v5, \"Move this level to the top of the created levels list?\");\n  v3 = sub_14003BDB0((__int64)v8, (__int64)&v5);\n  v4 = FLAlertLayer::create(\n         v2,\n         (int)\"Move to Top\",\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, 8);\n  v4->show(v4);\n}", "assembly": "; \n; EditLevelLayer::confirmMoveToTop from 0x1400d93c0 to 0x1400d94e5 (293 bytes)\n; \n; 2 xrefs:\n; > EditLevelLayer::init @ 0x1400d6262\n; > <???> @ 0x1406c885c\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, 0x1400d93c0\nsub     rsp, 90h                                                       ; +0x2, 0x1400d93c2\nlea     rbx, [rcx+1A0h]                                                ; +0x9, 0x1400d93c9\nxor     eax, eax                                                       ; +0x10, 0x1400d93d0\ntest    rcx, rcx                                                       ; +0x12, 0x1400d93d2\ncmovz   rbx, rax                                                       ; +0x15, 0x1400d93d5\nxorps   xmm0, xmm0                                                     ; +0x19, 0x1400d93d9\nmovups  [rsp+98h+var_48], xmm0                                         ; +0x1c, 0x1400d93dc\nmov     [rsp+98h+var_38], rax                                          ; +0x21, 0x1400d93e1\nmov     [rsp+98h+var_30], 0Fh                                          ; +0x26, 0x1400d93e6\nlea     ecx, [rax+40h]                                                 ; +0x2f, 0x1400d93ef\ncall    sub_14003AA10                                                  ; +0x32, 0x1400d93f2\nmov     rcx, rax                                                       ; +0x37, 0x1400d93f7\nmov     qword ptr [rsp+98h+var_48], rax                                ; +0x3a, 0x1400d93fa\nmov     [rsp+98h+var_38], 36h ; '6'                                    ; +0x3f, 0x1400d93ff\nmov     [rsp+98h+var_30], 3Fh ; '?'                                    ; +0x48, 0x1400d9408\nmovups  xmm0, cs:xmmword_140551560                                     ; +0x51, 0x1400d9411\nmovups  xmmword ptr [rax], xmm0                                        ; +0x58, 0x1400d9418\nmovups  xmm1, cs:xmmword_140551570                                     ; +0x5b, 0x1400d941b\nmovups  xmmword ptr [rax+10h], xmm1                                    ; +0x62, 0x1400d9422\nmovups  xmm0, cs:xmmword_140551580                                     ; +0x66, 0x1400d9426\nmovups  xmmword ptr [rax+20h], xmm0                                    ; +0x6d, 0x1400d942d\nmov     eax, cs:dword_140551590                                        ; +0x71, 0x1400d9431\nmov     [rcx+30h], eax                                                 ; +0x77, 0x1400d9437\nmovzx   eax, cs:word_140551594                                         ; +0x7a, 0x1400d943a\nmov     [rcx+34h], ax                                                  ; +0x81, 0x1400d9441\nmov     byte ptr [rcx+36h], 0                                          ; +0x85, 0x1400d9445\nlea     rax, [rsp+98h+var_48]                                          ; +0x89, 0x1400d9449\nmov     [rsp+98h+arg_0], rax                                           ; +0x8e, 0x1400d944e\nlea     rdx, [rsp+98h+var_48]                                          ; +0x96, 0x1400d9456\nlea     rcx, [rsp+98h+var_28]                                          ; +0x9b, 0x1400d945b\ncall    sub_14003BDB0                                                  ; +0xa0, 0x1400d9460\nmovss   xmm0, cs:flt_140622C24                                         ; +0xa5, 0x1400d9465\nmovss   [rsp+98h+var_58], xmm0                                         ; +0xad, 0x1400d946d\nxorps   xmm1, xmm1                                                     ; +0xb3, 0x1400d9473\nmovss   [rsp+98h+var_60], xmm1                                         ; +0xb6, 0x1400d9476\nmov     [rsp+98h+var_68], 0                                            ; +0xbc, 0x1400d947c\nmovss   xmm0, cs:dword_14062343C                                       ; +0xc1, 0x1400d9481\nmovss   [rsp+98h+var_70], xmm0                                         ; +0xc9, 0x1400d9489\nlea     rcx, aYes_0; \"YES\"                                             ; +0xcf, 0x1400d948f\nmov     [rsp+98h+var_78], rcx                                          ; +0xd6, 0x1400d9496\nlea     r9, unk_140547160                                              ; +0xdb, 0x1400d949b\nmov     r8, rax                                                        ; +0xe2, 0x1400d94a2\nlea     rdx, aMoveToTop; \"Move to Top\"                                 ; +0xe5, 0x1400d94a5\nmov     rcx, rbx                                                       ; +0xec, 0x1400d94ac\ncall    FLAlertLayer__create                                           ; +0xef, 0x1400d94af\nmov     rbx, rax                                                       ; +0xf4, 0x1400d94b4\nlea     rcx, [rsp+98h+var_48]                                          ; +0xf7, 0x1400d94b7\ncall    sub_14003A830                                                  ; +0xfc, 0x1400d94bc\nmov     r8, [rbx]                                                      ; +0x101, 0x1400d94c1\nmov     edx, 8                                                         ; +0x104, 0x1400d94c4\nmov     rcx, rbx                                                       ; +0x109, 0x1400d94c9\ncall    qword ptr [r8+40h]                                             ; +0x10c, 0x1400d94cc\nmov     rdx, [rbx]                                                     ; +0x110, 0x1400d94d0\nmov     rcx, rbx                                                       ; +0x113, 0x1400d94d3\ncall    qword ptr [rdx+410h]                                           ; +0x116, 0x1400d94d6\nadd     rsp, 90h                                                       ; +0x11c, 0x1400d94dc\npop     rbx                                                            ; +0x123, 0x1400d94e3\nretn                                                                   ; +0x124, 0x1400d94e4", "xrefs": ["EditLevelLayer::init @ 0x1400d6262", "<???> @ 0x1406c885c"], "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"}