{"type": "func", "start": 4296930560, "end": 4296930751, "name": "EditLevelLayer::confirmMoveToTop", "pseudocode": "// \n// EditLevelLayer::confirmMoveToTop from 0x1001df500 to 0x1001df5bf (191 bytes)\n// \n// 1 xrefs:\n// > EditLevelLayer::init @ 0x1001ddb7c\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 12:26:27 +0000\n// \n\n__int64 __fastcall EditLevelLayer::confirmMoveToTop(__int64 a1)\n{\n  __int64 v1; // rbx\n  _QWORD v3[2]; // [rsp+0h] [rbp-20h] BYREF\n  void *__p; // [rsp+10h] [rbp-10h]\n\n  __p = operator new(0x38u);\n  v3[0] = 57;\n  v3[1] = 54;\n  strcpy((char *)__p, \"Move this level to the top of the created levels list?\");\n  v1 = FLAlertLayer::create_1(a1 + 416, \"Move to Top\", v3, \"NO\", \"YES\", 300.0);\n  if ( (v3[0] & 1) != 0 )\n    operator delete(__p);\n  (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v1 + 72LL))(v1, 8);\n  return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v1 + 1312LL))(v1);\n}", "assembly": "; \n; EditLevelLayer::confirmMoveToTop from 0x1001df500 to 0x1001df5bf (191 bytes)\n; \n; 1 xrefs:\n; > EditLevelLayer::init @ 0x1001ddb7c\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 12:26:27 +0000\n; \npush    rbp                                                            ; +0x0, 0x1001df500\nmov     rbp, rsp                                                       ; +0x1, 0x1001df501\npush    rbx                                                            ; +0x4, 0x1001df504\nsub     rsp, 18h                                                       ; +0x5, 0x1001df505\nmov     rbx, rdi                                                       ; +0x9, 0x1001df509\nadd     rbx, 1A0h                                                      ; +0xc, 0x1001df50c\nmov     edi, 38h ; '8'; __sz                                           ; +0x13, 0x1001df513\ncall    __Znwm; operator new(ulong)                                    ; +0x18, 0x1001df518\nmov     [rbp+__p], rax                                                 ; +0x1d, 0x1001df51d\nmov     [rbp+var_20], 39h ; '9'                                        ; +0x21, 0x1001df521\nmov     [rbp+var_18], 36h ; '6'                                        ; +0x29, 0x1001df529\nmov     rcx, 3F7473696C20736Ch                                         ; +0x31, 0x1001df531\nmov     [rax+2Eh], rcx                                                 ; +0x3b, 0x1001df53b\nmovups  xmm0, xmmword ptr cs:aMoveThisLevelT+20h; \"e created levels list?\" ; +0x3f, 0x1001df53f\nmovups  xmmword ptr [rax+20h], xmm0                                    ; +0x46, 0x1001df546\nmovups  xmm0, xmmword ptr cs:aMoveThisLevelT+10h; \"to the top of the created levels list?\" ; +0x4a, 0x1001df54a\nmovups  xmmword ptr [rax+10h], xmm0                                    ; +0x51, 0x1001df551\nmovups  xmm0, xmmword ptr cs:aMoveThisLevelT; \"Move this level to the top of the creat\"... ; +0x55, 0x1001df555\nmovups  xmmword ptr [rax], xmm0                                        ; +0x5c, 0x1001df55c\nmov     byte ptr [rax+36h], 0                                          ; +0x5f, 0x1001df55f\nlea     rsi, aMoveToTop; \"Move to Top\"                                 ; +0x63, 0x1001df563\nlea     rcx, aNo; \"NO\"                                                 ; +0x6a, 0x1001df56a\nlea     r8, aYes_0; \"YES\"                                              ; +0x71, 0x1001df571\nlea     rdx, [rbp+var_20]                                              ; +0x78, 0x1001df578\nmovss   xmm0, cs:dword_100A03734                                       ; +0x7c, 0x1001df57c\nmov     rdi, rbx                                                       ; +0x84, 0x1001df584\ncall    FLAlertLayer__create_1                                         ; +0x87, 0x1001df587\nmov     rbx, rax                                                       ; +0x8c, 0x1001df58c\ntest    byte ptr [rbp+var_20], 1                                       ; +0x8f, 0x1001df58f\njz      short loc_1001DF59E                                            ; +0x93, 0x1001df593\nmov     rdi, [rbp+__p]; __p                                            ; +0x95, 0x1001df595\ncall    __ZdlPv; operator delete(void *)                               ; +0x99, 0x1001df599\nmov     rax, [rbx]                                                     ; +0x9e, 0x1001df59e\nmov     rdi, rbx                                                       ; +0xa1, 0x1001df5a1\nmov     esi, 8                                                         ; +0xa4, 0x1001df5a4\ncall    qword ptr [rax+48h]                                            ; +0xa9, 0x1001df5a9\nmov     rax, [rbx]                                                     ; +0xac, 0x1001df5ac\nmov     rdi, rbx                                                       ; +0xaf, 0x1001df5af\ncall    qword ptr [rax+520h]                                           ; +0xb2, 0x1001df5b2\nadd     rsp, 18h                                                       ; +0xb8, 0x1001df5b8\npop     rbx                                                            ; +0xbc, 0x1001df5bc\npop     rbp                                                            ; +0xbd, 0x1001df5bd\nretn                                                                   ; +0xbe, 0x1001df5be", "xrefs": ["EditLevelLayer::init @ 0x1001ddb7c"], "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"}