{"type": "func", "start": 3651640, "end": 3651734, "name": "EditorUI::onDeleteInfo", "pseudocode": "// \n// EditorUI::onDeleteInfo from 0x37b838 to 0x37b896 (94 bytes)\n// \n// 0 xrefs:\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 EditorUI::onDeleteInfo(EditorUI *a1, cocos2d::CCObject *a2)\n{\n  FLAlertLayer *v2; // r6\n  _BYTE v3[4]; // [sp+10h] [bp-8h] BYREF\n\n  sub_776584(\n    (int)v3,\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(0, (int)\"Delete Filters\", (int)v3, (int)\"OK\", 0, 300.0);\n  sub_774008(v3);\n  v2->show(v2);\n}", "assembly": "; \n; EditorUI::onDeleteInfo from 0x37b838 to 0x37b896 (94 bytes)\n; \n; 0 xrefs:\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            {R4-R6,LR}                                             ; +0x0, 0x37b838\nSUB             SP, SP, #0x18                                          ; +0x2, 0x37b83a\nLDR             R4, =(__stack_chk_guard_ptr - 0x37B848)                ; +0x4, 0x37b83c\nADD             R5, SP, #0x18+var_8                                    ; +0x6, 0x37b83e\nLDR             R1, =(aCoOnlyRemoveCe - 0x37B84E); \"<co>Only remove certain objects.</c>\\n<\"... ; +0x8, 0x37b840\nADD             R2, SP, #0x18+var_C                                    ; +0xa, 0x37b842\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xc, 0x37b844\nLDR             R4, [R4]; __stack_chk_guard                            ; +0xe, 0x37b846\nMOV             R0, R5; int                                            ; +0x10, 0x37b848\nADD             R1, PC; \"<co>Only remove certain objects.</c>\\n<\"...   ; +0x12, 0x37b84a\nLDR             R3, [R4]                                               ; +0x14, 0x37b84c\nSTR             R3, [SP,#0x18+var_4]                                   ; +0x16, 0x37b84e\nBL              sub_776584                                             ; +0x18, 0x37b850\nLDR             R3, flt_37B898                                         ; +0x1c, 0x37b854\nMOVS            R0, #0; int                                            ; +0x1e, 0x37b856\nLDR             R1, =(aDeleteFilters - 0x37B864); \"Delete Filters\"     ; +0x20, 0x37b858\nMOV             R2, R5; int                                            ; +0x22, 0x37b85a\nSTR             R0, [SP,#0x18+var_18]; int                             ; +0x24, 0x37b85c\nSTR             R3, [SP,#0x18+var_14]; float                           ; +0x26, 0x37b85e\nADD             R1, PC; \"Delete Filters\"                               ; +0x28, 0x37b860\nLDR             R3, =(aOk - 0x37B868); \"OK\"                            ; +0x2a, 0x37b862\nADD             R3, PC; \"OK\"                                           ; +0x2c, 0x37b864\nBL              _ZN12FLAlertLayer6createEP20FLAlertLayerProtocolPKcSsS3_S3_f; FLAlertLayer::create(FLAlertLayerProtocol *,char const*,std::string,char const*,char const*,float) ; +0x2e, 0x37b866\nMOV             R6, R0                                                 ; +0x32, 0x37b86a\nMOV             R0, R5                                                 ; +0x34, 0x37b86c\nBL              sub_774008                                             ; +0x36, 0x37b86e\nLDR             R3, [R6]                                               ; +0x3a, 0x37b872\nMOV             R0, R6                                                 ; +0x3c, 0x37b874\nLDR.W           R3, [R3,#0x284]                                        ; +0x3e, 0x37b876\nBLX             R3                                                     ; +0x42, 0x37b87a\nLDR             R2, [SP,#0x18+var_4]                                   ; +0x44, 0x37b87c\nLDR             R3, [R4]                                               ; +0x46, 0x37b87e\nCMP             R2, R3                                                 ; +0x48, 0x37b880\nBEQ             loc_37B892                                             ; +0x4a, 0x37b882\nBLX             __stack_chk_fail                                       ; +0x4c, 0x37b884\nMOV             R0, R5                                                 ; +0x50, 0x37b888\nBL              sub_774008                                             ; +0x52, 0x37b88a\nBL              __cxa_end_cleanup                                      ; +0x56, 0x37b88e\nADD             SP, SP, #0x18                                          ; +0x5a, 0x37b892\nPOP             {R4-R6,PC}                                             ; +0x5c, 0x37b894", "xrefs": [], "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"}