{"type": "func", "start": 4296930784, "end": 4296930972, "name": "EditLevelLayer::confirmMoveToBottom", "pseudocode": "// \n// EditLevelLayer::confirmMoveToBottom from 0x1001df5e0 to 0x1001df69c (188 bytes)\n// \n// 1 xrefs:\n// > EditLevelLayer::init @ 0x1001ddc46\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::confirmMoveToBottom(__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(0x40u);\n  v3[0] = 65;\n  v3[1] = 57;\n  strcpy((char *)__p, \"Move this level to the bottom of the created levels list?\");\n  v1 = FLAlertLayer::create_1(a1 + 416, \"Move to Bottom\", v3, \"NO\", \"YES\", 300.0);\n  if ( (v3[0] & 1) != 0 )\n    operator delete(__p);\n  (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v1 + 72LL))(v1, 12);\n  return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v1 + 1312LL))(v1);\n}", "assembly": "; \n; EditLevelLayer::confirmMoveToBottom from 0x1001df5e0 to 0x1001df69c (188 bytes)\n; \n; 1 xrefs:\n; > EditLevelLayer::init @ 0x1001ddc46\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, 0x1001df5e0\nmov     rbp, rsp                                                       ; +0x1, 0x1001df5e1\npush    rbx                                                            ; +0x4, 0x1001df5e4\nsub     rsp, 18h                                                       ; +0x5, 0x1001df5e5\nmov     rbx, rdi                                                       ; +0x9, 0x1001df5e9\nadd     rbx, 1A0h                                                      ; +0xc, 0x1001df5ec\nmov     edi, 40h ; '@'; __sz                                           ; +0x13, 0x1001df5f3\ncall    __Znwm; operator new(ulong)                                    ; +0x18, 0x1001df5f8\nmov     [rbp+__p], rax                                                 ; +0x1d, 0x1001df5fd\nmov     [rbp+var_20], 41h ; 'A'                                        ; +0x21, 0x1001df601\nmov     [rbp+var_18], 39h ; '9'                                        ; +0x29, 0x1001df609\nmovups  xmm0, xmmword ptr cs:aMoveThisLevelT_0+29h; \"ted levels list?\" ; +0x31, 0x1001df611\nmovups  xmmword ptr [rax+29h], xmm0                                    ; +0x38, 0x1001df618\nmovups  xmm0, xmmword ptr cs:aMoveThisLevelT_0+20h; \" the created levels list?\" ; +0x3c, 0x1001df61c\nmovups  xmmword ptr [rax+20h], xmm0                                    ; +0x43, 0x1001df623\nmovups  xmm0, xmmword ptr cs:aMoveThisLevelT_0+10h; \"to the bottom of the created levels lis\"... ; +0x47, 0x1001df627\nmovups  xmmword ptr [rax+10h], xmm0                                    ; +0x4e, 0x1001df62e\nmovups  xmm0, xmmword ptr cs:aMoveThisLevelT_0; \"Move this level to the bottom of the cr\"... ; +0x52, 0x1001df632\nmovups  xmmword ptr [rax], xmm0                                        ; +0x59, 0x1001df639\nmov     byte ptr [rax+39h], 0                                          ; +0x5c, 0x1001df63c\nlea     rsi, aMoveToBottom; \"Move to Bottom\"                           ; +0x60, 0x1001df640\nlea     rcx, aNo; \"NO\"                                                 ; +0x67, 0x1001df647\nlea     r8, aYes_0; \"YES\"                                              ; +0x6e, 0x1001df64e\nlea     rdx, [rbp+var_20]                                              ; +0x75, 0x1001df655\nmovss   xmm0, cs:dword_100A03734                                       ; +0x79, 0x1001df659\nmov     rdi, rbx                                                       ; +0x81, 0x1001df661\ncall    FLAlertLayer__create_1                                         ; +0x84, 0x1001df664\nmov     rbx, rax                                                       ; +0x89, 0x1001df669\ntest    byte ptr [rbp+var_20], 1                                       ; +0x8c, 0x1001df66c\njz      short loc_1001DF67B                                            ; +0x90, 0x1001df670\nmov     rdi, [rbp+__p]; __p                                            ; +0x92, 0x1001df672\ncall    __ZdlPv; operator delete(void *)                               ; +0x96, 0x1001df676\nmov     rax, [rbx]                                                     ; +0x9b, 0x1001df67b\nmov     rdi, rbx                                                       ; +0x9e, 0x1001df67e\nmov     esi, 0Ch                                                       ; +0xa1, 0x1001df681\ncall    qword ptr [rax+48h]                                            ; +0xa6, 0x1001df686\nmov     rax, [rbx]                                                     ; +0xa9, 0x1001df689\nmov     rdi, rbx                                                       ; +0xac, 0x1001df68c\ncall    qword ptr [rax+520h]                                           ; +0xaf, 0x1001df68f\nadd     rsp, 18h                                                       ; +0xb5, 0x1001df695\npop     rbx                                                            ; +0xb9, 0x1001df699\npop     rbp                                                            ; +0xba, 0x1001df69a\nretn                                                                   ; +0xbb, 0x1001df69b", "xrefs": ["EditLevelLayer::init @ 0x1001ddc46"], "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"}