{"type": "func", "start": 4299067964, "end": 4299068088, "name": "EditorUI::onDeleteInfo", "pseudocode": "// \n// EditorUI::onDeleteInfo from 0x1003e923c to 0x1003e92b8 (124 bytes)\n// \n// 1 xrefs:\n// > EditorUI::setupDeleteMenu @ 0x1003c824c\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  FLAlertLayer *v2; // x19\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v4; // [xsp+1Fh] [xbp-11h]\n\n  sub_100009900(\n    __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, (__int64)\"Delete Filters\", (__int64)__p, (__int64)\"OK\", 0, 300.0);\n  if ( v4 < 0 )\n    operator delete(__p[0]);\n  ((void (__fastcall *)(FLAlertLayer *))v2->show)(v2);\n}", "assembly": "; \n; EditorUI::onDeleteInfo from 0x1003e923c to 0x1003e92b8 (124 bytes)\n; \n; 1 xrefs:\n; > EditorUI::setupDeleteMenu @ 0x1003c824c\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\nSUB             SP, SP, #0x40                                          ; +0x0, 0x1003e923c\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x1003e9240\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x1003e9244\nADD             X29, SP, #0x30                                         ; +0xc, 0x1003e9248\nADRL            X1, aCoOnlyRemoveCe; \"<co>Only remove certain objects.</c>\\n<\"... ; +0x10, 0x1003e924c\nADD             X0, SP, #0x30+__p; int                                 ; +0x18, 0x1003e9254\nBL              sub_100009900                                          ; +0x1c, 0x1003e9258\nADRL            X1, aDeleteFilters; \"Delete Filters\"                   ; +0x20, 0x1003e925c\nADRL            X3, aOk; \"OK\"                                          ; +0x28, 0x1003e9264\nMOV             W8, #0x43960000                                        ; +0x30, 0x1003e926c\nFMOV            S0, W8                                                 ; +0x34, 0x1003e9270\nADD             X2, SP, #0x30+__p                                      ; +0x38, 0x1003e9274\nMOV             X0, #0                                                 ; +0x3c, 0x1003e9278\nMOV             X4, #0                                                 ; +0x40, 0x1003e927c\nBL              FLAlertLayer__create_1                                 ; +0x44, 0x1003e9280\nMOV             X19, X0                                                ; +0x48, 0x1003e9284\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x4c, 0x1003e9288\nTBZ             W8, #0x1F, loc_1003E9298                               ; +0x50, 0x1003e928c\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x54, 0x1003e9290\nBL              __ZdlPv; operator delete(void *)                       ; +0x58, 0x1003e9294\nLDR             X8, [X19]                                              ; +0x5c, 0x1003e9298\nLDR             X8, [X8,#0x508]                                        ; +0x60, 0x1003e929c\nMOV             X0, X19                                                ; +0x64, 0x1003e92a0\nBLR             X8                                                     ; +0x68, 0x1003e92a4\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x6c, 0x1003e92a8\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x70, 0x1003e92ac\nADD             SP, SP, #0x40 ; '@'                                    ; +0x74, 0x1003e92b0\nRET                                                                    ; +0x78, 0x1003e92b4", "xrefs": ["EditorUI::setupDeleteMenu @ 0x1003c824c"], "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"}