{"type": "func", "start": 4295171568, "end": 4295171710, "name": "EditorUI::onDeleteInfo", "pseudocode": "// \n// EditorUI::onDeleteInfo from 0x100031df0 to 0x100031e7e (142 bytes)\n// \n// 1 xrefs:\n// > EditorUI::setupDeleteMenu @ 0x10000d41b\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\nvoid __fastcall EditorUI::onDeleteInfo(EditorUI *a1, cocos2d::CCObject *a2)\n{\n  __int64 v2; // rbx\n  _QWORD v3[2]; // [rsp+0h] [rbp-20h] BYREF\n  void *__p; // [rsp+10h] [rbp-10h]\n\n  __p = operator new(0xB0u);\n  v3[0] = 177;\n  v3[1] = 172;\n  strcpy(\n    (char *)__p,\n    \"<co>Only remove certain objects.</c>\\n\"\n    \"<cy>Static:</c> Blocks, Spikes...\\n\"\n    \"<cg>Details</c>: Details, portals, triggers...\\n\"\n    \"<cl>Custom</c>: Selected object\\n\"\n    \"<cr>None:</c> Disabled\");\n  v2 = FLAlertLayer::create_1(0, \"Delete Filters\", v3, \"OK\", 0, 300.0);\n  if ( (v3[0] & 1) != 0 )\n    operator delete(__p);\n  (*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 1288LL))(v2);\n}", "assembly": "; \n; EditorUI::onDeleteInfo from 0x100031df0 to 0x100031e7e (142 bytes)\n; \n; 1 xrefs:\n; > EditorUI::setupDeleteMenu @ 0x10000d41b\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    rbp                                                            ; +0x0, 0x100031df0\nmov     rbp, rsp                                                       ; +0x1, 0x100031df1\npush    rbx                                                            ; +0x4, 0x100031df4\nsub     rsp, 18h                                                       ; +0x5, 0x100031df5\nmov     edi, 0B0h; __sz                                                ; +0x9, 0x100031df9\ncall    __Znwm; operator new(ulong)                                    ; +0xe, 0x100031dfe\nmov     rbx, rax                                                       ; +0x13, 0x100031e03\nmov     [rbp+__p], rax                                                 ; +0x16, 0x100031e06\nmov     [rbp+var_20], 0B1h                                             ; +0x1a, 0x100031e0a\nmov     [rbp+var_18], 0ACh                                             ; +0x22, 0x100031e12\nlea     rsi, aCoOnlyRemoveCe; \"<co>Only remove certain objects.</c>\\n<\"... ; +0x2a, 0x100031e1a\nmov     edx, 0ACh; __n                                                 ; +0x31, 0x100031e21\nmov     rdi, rax; __dst                                                ; +0x36, 0x100031e26\ncall    _memcpy                                                        ; +0x39, 0x100031e29\nmov     byte ptr [rbx+0ACh], 0                                         ; +0x3e, 0x100031e2e\nlea     rsi, aDeleteFilters; \"Delete Filters\"                          ; +0x45, 0x100031e35\nlea     rcx, aOk; \"OK\"                                                 ; +0x4c, 0x100031e3c\nlea     rdx, [rbp+var_20]                                              ; +0x53, 0x100031e43\nmovss   xmm0, cs:dword_1008152B4                                       ; +0x57, 0x100031e47\nxor     edi, edi                                                       ; +0x5f, 0x100031e4f\nxor     r8d, r8d                                                       ; +0x61, 0x100031e51\ncall    FLAlertLayer__create_1                                         ; +0x64, 0x100031e54\nmov     rbx, rax                                                       ; +0x69, 0x100031e59\ntest    byte ptr [rbp+var_20], 1                                       ; +0x6c, 0x100031e5c\njz      short loc_100031E6B                                            ; +0x70, 0x100031e60\nmov     rdi, [rbp+__p]; __p                                            ; +0x72, 0x100031e62\ncall    __ZdlPv; operator delete(void *)                               ; +0x76, 0x100031e66\nmov     rax, [rbx]                                                     ; +0x7b, 0x100031e6b\nmov     rdi, rbx                                                       ; +0x7e, 0x100031e6e\ncall    qword ptr [rax+508h]                                           ; +0x81, 0x100031e71\nadd     rsp, 18h                                                       ; +0x87, 0x100031e77\npop     rbx                                                            ; +0x8b, 0x100031e7b\npop     rbp                                                            ; +0x8c, 0x100031e7c\nretn                                                                   ; +0x8d, 0x100031e7d", "xrefs": ["EditorUI::setupDeleteMenu @ 0x10000d41b"], "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"}