{"type": "func", "start": 3658160, "end": 3658262, "name": "EditorUI::showDeleteConfirmation", "pseudocode": "// \n// EditorUI::showDeleteConfirmation from 0x37d1b0 to 0x37d216 (102 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::showDeleteConfirmation(EditorUI *a1)\n{\n  FLAlertLayer *v2; // r6\n  _BYTE v3[4]; // [sp+10h] [bp-8h] BYREF\n\n  sub_776584((int)v3, \"Are you sure you want to <cr>Delete</c> all objects? (<cy>This action cannot be undone</c>)\");\n  v2 = FLAlertLayer::create(\n         (int)&a1->FLAlertLayerProtocol,\n         (int)\"Delete All\",\n         (int)v3,\n         (int)\"Cancel\",\n         (int)\"Yes\",\n         300.0);\n  sub_774008(v3);\n  v2->show(v2);\n}", "assembly": "; \n; EditorUI::showDeleteConfirmation from 0x37d1b0 to 0x37d216 (102 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, 0x37d1b0\nSUB             SP, SP, #0x18                                          ; +0x2, 0x37d1b2\nLDR             R4, =(__stack_chk_guard_ptr - 0x37D1C0)                ; +0x4, 0x37d1b4\nADD             R5, SP, #0x18+var_8                                    ; +0x6, 0x37d1b6\nLDR             R1, =(aAreYouSureYouW_6 - 0x37D1C6); \"Are you sure you want to <cr>Delete</c>\"... ; +0x8, 0x37d1b8\nMOV             R6, R0                                                 ; +0xa, 0x37d1ba\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xc, 0x37d1bc\nLDR             R4, [R4]; __stack_chk_guard                            ; +0xe, 0x37d1be\nADD             R2, SP, #0x18+var_C                                    ; +0x10, 0x37d1c0\nADD             R1, PC; \"Are you sure you want to <cr>Delete</c>\"...   ; +0x12, 0x37d1c2\nMOV             R0, R5; int                                            ; +0x14, 0x37d1c4\nLDR             R3, [R4]                                               ; +0x16, 0x37d1c6\nSTR             R3, [SP,#0x18+var_4]                                   ; +0x18, 0x37d1c8\nBL              sub_776584                                             ; +0x1a, 0x37d1ca\nLDR             R3, =(aYes - 0x37D1DC); \"Yes\"                          ; +0x1e, 0x37d1ce\nADD.W           R0, R6, #0x13C; int                                    ; +0x20, 0x37d1d0\nLDR             R1, =(aDeleteAll - 0x37D1E2); \"Delete All\"             ; +0x24, 0x37d1d4\nMOV             R2, R5; int                                            ; +0x26, 0x37d1d6\nADD             R3, PC; \"Yes\"                                          ; +0x28, 0x37d1d8\nSTR             R3, [SP,#0x18+var_18]; int                             ; +0x2a, 0x37d1da\nLDR             R3, flt_37D218                                         ; +0x2c, 0x37d1dc\nADD             R1, PC; \"Delete All\"                                   ; +0x2e, 0x37d1de\nSTR             R3, [SP,#0x18+var_14]; float                           ; +0x30, 0x37d1e0\nLDR             R3, =(aCancel - 0x37D1E8); \"Cancel\"                    ; +0x32, 0x37d1e2\nADD             R3, PC; \"Cancel\"                                       ; +0x34, 0x37d1e4\nBL              _ZN12FLAlertLayer6createEP20FLAlertLayerProtocolPKcSsS3_S3_f; FLAlertLayer::create(FLAlertLayerProtocol *,char const*,std::string,char const*,char const*,float) ; +0x36, 0x37d1e6\nMOV             R6, R0                                                 ; +0x3a, 0x37d1ea\nMOV             R0, R5                                                 ; +0x3c, 0x37d1ec\nBL              sub_774008                                             ; +0x3e, 0x37d1ee\nLDR             R3, [R6]                                               ; +0x42, 0x37d1f2\nMOV             R0, R6                                                 ; +0x44, 0x37d1f4\nLDR.W           R3, [R3,#0x284]                                        ; +0x46, 0x37d1f6\nBLX             R3                                                     ; +0x4a, 0x37d1fa\nLDR             R2, [SP,#0x18+var_4]                                   ; +0x4c, 0x37d1fc\nLDR             R3, [R4]                                               ; +0x4e, 0x37d1fe\nCMP             R2, R3                                                 ; +0x50, 0x37d200\nBEQ             loc_37D212                                             ; +0x52, 0x37d202\nBLX             __stack_chk_fail                                       ; +0x54, 0x37d204\nMOV             R0, R5                                                 ; +0x58, 0x37d208\nBL              sub_774008                                             ; +0x5a, 0x37d20a\nBL              __cxa_end_cleanup                                      ; +0x5e, 0x37d20e\nADD             SP, SP, #0x18                                          ; +0x62, 0x37d212\nPOP             {R4-R6,PC}                                             ; +0x64, 0x37d214", "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"}