{"type": "func", "start": 4741888, "end": 4741998, "name": "EditorUI::showDeleteConfirmation", "pseudocode": "// \n// EditorUI::showDeleteConfirmation from 0x485b00 to 0x485b6e (110 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:49:25 +0000\n// \n\nint __fastcall EditorUI::showDeleteConfirmation(EditorUI *this)\n{\n  int *v2; // r6\n  int v4[3]; // [sp+8h] [bp-10h] BYREF\n\n  memset(v4, 0, sizeof(v4));\n  std::string::__init(\n    v4,\n    \"Are you sure you want to <cr>Delete</c> all objects? (<cy>This action cannot be undone</c>)\",\n    0x5Bu);\n  v2 = FLAlertLayer::create(\n         (int)this + 316,\n         (cocos2d::CCLabelBMFont *)\"Delete All\",\n         (int)v4,\n         (ButtonSprite *)\"Cancel\",\n         (ButtonSprite *)\"Yes\",\n         300.0);\n  std::string::~string((int)v4);\n  return (*(int (__fastcall **)(int *))(*v2 + 656))(v2);\n}", "assembly": "; \n; EditorUI::showDeleteConfirmation from 0x485b00 to 0x485b6e (110 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:49:25 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x485b00\nSUB             SP, SP, #0x18                                          ; +0x2, 0x485b02\nLDR             R4, =(__stack_chk_guard_ptr - 0x485B10)                ; +0x4, 0x485b04\nADD             R5, SP, #0x18+var_10                                   ; +0x6, 0x485b06\nLDR             R1, =(aAreYouSureYouW_2 - 0x485B16); \"Are you sure you want to <cr>Delete</c>\"... ; +0x8, 0x485b08\nMOV             R6, R0                                                 ; +0xa, 0x485b0a\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xc, 0x485b0c\nLDR             R4, [R4]; __stack_chk_guard                            ; +0xe, 0x485b0e\nMOV             R0, R5                                                 ; +0x10, 0x485b10\nADD             R1, PC; \"Are you sure you want to <cr>Delete</c>\"...   ; +0x12, 0x485b12\nMOVS            R2, #0x5B ; '['                                        ; +0x14, 0x485b14\nLDR             R3, [R4]                                               ; +0x16, 0x485b16\nSTR             R3, [SP,#0x18+var_4]                                   ; +0x18, 0x485b18\nMOVS            R3, #0                                                 ; +0x1a, 0x485b1a\nSTR             R3, [SP,#0x18+var_10]                                  ; +0x1c, 0x485b1c\nSTR             R3, [SP,#0x18+var_C]                                   ; +0x1e, 0x485b1e\nSTR             R3, [SP,#0x18+var_8]                                   ; +0x20, 0x485b20\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x22, 0x485b22\nLDR             R3, =(aYes - 0x485B34); \"Yes\"                          ; +0x26, 0x485b26\nADD.W           R0, R6, #0x13C; int                                    ; +0x28, 0x485b28\nLDR             R1, =(aDeleteAll - 0x485B3A); \"Delete All\"             ; +0x2c, 0x485b2c\nMOV             R2, R5; int                                            ; +0x2e, 0x485b2e\nADD             R3, PC; \"Yes\"                                          ; +0x30, 0x485b30\nSTR             R3, [SP,#0x18+var_18]; int                             ; +0x32, 0x485b32\nLDR             R3, flt_485B70                                         ; +0x34, 0x485b34\nADD             R1, PC; \"Delete All\"                                   ; +0x36, 0x485b36\nSTR             R3, [SP,#0x18+var_14]; float                           ; +0x38, 0x485b38\nLDR             R3, =(aCancel - 0x485B40); \"Cancel\"                    ; +0x3a, 0x485b3a\nADD             R3, PC; \"Cancel\"                                       ; +0x3c, 0x485b3c\nBL              _ZN12FLAlertLayer6createEP20FLAlertLayerProtocolPKcNSt6__ndk112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES3_S3_f; FLAlertLayer::create(FLAlertLayerProtocol *,char const*,std::string,char const*,char const*,float) ; +0x3e, 0x485b3e\nMOV             R6, R0                                                 ; +0x42, 0x485b42\nMOV             R0, R5                                                 ; +0x44, 0x485b44\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x46, 0x485b46\nLDR             R3, [R6]                                               ; +0x4a, 0x485b4a\nMOV             R0, R6                                                 ; +0x4c, 0x485b4c\nLDR.W           R3, [R3,#0x290]                                        ; +0x4e, 0x485b4e\nBLX             R3                                                     ; +0x52, 0x485b52\nLDR             R2, [SP,#0x18+var_4]                                   ; +0x54, 0x485b54\nLDR             R3, [R4]                                               ; +0x56, 0x485b56\nCMP             R2, R3                                                 ; +0x58, 0x485b58\nBEQ             loc_485B6A                                             ; +0x5a, 0x485b5a\nBLX             __stack_chk_fail                                       ; +0x5c, 0x485b5c\nMOV             R0, R5                                                 ; +0x60, 0x485b60\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x62, 0x485b62\nBL              __cxa_end_cleanup                                      ; +0x66, 0x485b66\nADD             SP, SP, #0x18                                          ; +0x6a, 0x485b6a\nPOP             {R4-R6,PC}                                             ; +0x6c, 0x485b6c", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "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"}