{"type": "func", "start": 7588684, "end": 7588932, "name": "AutoBackupPopup::FLAlert_Clicked", "pseudocode": "// \n// AutoBackupPopup::FLAlert_Clicked from 0x73cb4c to 0x73cc44 (248 bytes)\n// \n// 1 xrefs:\n// > `non-virtual thunk to'AutoBackupPopup::FLAlert_Clicked @ 0x73cc4c\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:58:31 +0000\n// \n\nint __fastcall AutoBackupPopup::FLAlert_Clicked(AutoBackupPopup *this, FLAlertLayer *a2, int a3)\n{\n  int result; // r0\n  unsigned __int8 *i; // r5\n  char *v7; // r0\n  int v8; // r3\n  int v9; // r2\n  char *v10; // r0\n  int v11[2]; // [sp+0h] [bp-14h] BYREF\n  char *filename; // [sp+8h] [bp-Ch]\n\n  result = (*(int (__fastcall **)(FLAlertLayer *))(*(_DWORD *)a2 + 32))(a2);\n  if ( result == 3 )\n  {\n    if ( !a3 )\n      return result;\n    for ( i = *((unsigned __int8 **)this + 170);\n          i != (unsigned __int8 *)((char *)this + 684);\n          i = (unsigned __int8 *)std::__tree_next<std::__tree_node_base<void *> *>(i) )\n    {\n      std::operator+<char>(v11, (unsigned __int8 *)this + 608, i + 16);\n      if ( (v11[0] & 1) != 0 )\n        v7 = filename;\n      else\n        v7 = (char *)v11 + 1;\n      remove(v7);\n      std::string::~string((int)v11);\n    }\n    std::__tree<std::string>::destroy((int)this + 680, *((_DWORD **)this + 171));\n    *((_DWORD *)this + 170) = i;\n    *((_DWORD *)this + 172) = 0;\n    *((_DWORD *)this + 171) = 0;\n    return (*(int (__fastcall **)(AutoBackupPopup *))(*(_DWORD *)this + 684))(this);\n  }\n  v8 = *((_DWORD *)this + 169);\n  *((_DWORD *)this + 169) = -1;\n  if ( a3 )\n  {\n    if ( v8 >= 0 )\n    {\n      v9 = *((_DWORD *)this + 158);\n      if ( v8 < (*((_DWORD *)this + 159) - v9) >> 6 )\n      {\n        std::operator+<char>(v11, (unsigned __int8 *)this + 608, (unsigned __int8 *)(v9 + (v8 << 6)));\n        if ( (v11[0] & 1) != 0 )\n          v10 = filename;\n        else\n          v10 = (char *)v11 + 1;\n        remove(v10);\n        std::string::~string((int)v11);\n        return (*(int (__fastcall **)(AutoBackupPopup *))(*(_DWORD *)this + 684))(this);\n      }\n    }\n  }\n  return result;\n}", "assembly": "; \n; AutoBackupPopup::FLAlert_Clicked from 0x73cb4c to 0x73cc44 (248 bytes)\n; \n; 1 xrefs:\n; > `non-virtual thunk to'AutoBackupPopup::FLAlert_Clicked @ 0x73cc4c\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:58:31 +0000\n; \nPUSH.W          {R4-R9,LR}                                             ; +0x0, 0x73cb4c\nSUB             SP, SP, #0x14                                          ; +0x4, 0x73cb50\nLDR             R6, =(__stack_chk_guard_ptr - 0x73CB5E)                ; +0x6, 0x73cb52\nMOV             R4, R0                                                 ; +0x8, 0x73cb54\nMOV             R0, R1                                                 ; +0xa, 0x73cb56\nMOV             R5, R2                                                 ; +0xc, 0x73cb58\nADD             R6, PC; __stack_chk_guard_ptr                          ; +0xe, 0x73cb5a\nLDR             R6, [R6]; __stack_chk_guard                            ; +0x10, 0x73cb5c\nLDR             R3, [R6]                                               ; +0x12, 0x73cb5e\nSTR             R3, [SP,#0x14+var_8]                                   ; +0x14, 0x73cb60\nLDR             R3, [R1]                                               ; +0x16, 0x73cb62\nLDR             R3, [R3,#0x20]                                         ; +0x18, 0x73cb64\nBLX             R3                                                     ; +0x1a, 0x73cb66\nCMP             R0, #3                                                 ; +0x1c, 0x73cb68\nBNE             loc_73CBCC                                             ; +0x1e, 0x73cb6a\nCMP             R5, #0                                                 ; +0x20, 0x73cb6c\nBEQ             loc_73CC32                                             ; +0x22, 0x73cb6e\nLDR.W           R5, [R4,#0x2A8]                                        ; +0x24, 0x73cb70\nADD.W           R8, R4, #0x2AC                                         ; +0x28, 0x73cb74\nADD.W           R9, R4, #0x260                                         ; +0x2c, 0x73cb78\nMOV             R7, SP                                                 ; +0x30, 0x73cb7c\nCMP             R5, R8                                                 ; +0x32, 0x73cb7e\nBEQ             loc_73CBB0                                             ; +0x34, 0x73cb80\nMOV             R0, R7                                                 ; +0x36, 0x73cb82\nADD.W           R2, R5, #0x10                                          ; +0x38, 0x73cb84\nMOV             R1, R9                                                 ; +0x3c, 0x73cb88\nBL              _ZNSt6__ndk1plIcNS_11char_traitsIcEENS_9allocatorIcEEEENS_12basic_stringIT_T0_T1_EERKS9_SB_; std::operator+<char>(std::string const&,std::string const&) ; +0x3e, 0x73cb8a\nLDRB.W          R3, [SP,#0x14+var_14]                                  ; +0x42, 0x73cb8e\nLSLS            R2, R3, #0x1F                                          ; +0x46, 0x73cb92\nITE PL                                                                 ; +0x48, 0x73cb94\nADDPL.W         R0, SP, #0x14+var_13                                   ; +0x4a, 0x73cb96\nLDRMI           R0, [SP,#0x14+filename]; filename                      ; +0x4e, 0x73cb9a\nBLX             remove                                                 ; +0x50, 0x73cb9c\nMOV             R0, R7                                                 ; +0x54, 0x73cba0\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x56, 0x73cba2\nMOV             R0, R5                                                 ; +0x5a, 0x73cba6\nBL              _ZNSt6__ndk111__tree_nextIPNS_16__tree_node_baseIPvEEEET_S5_; std::__tree_next<std::__tree_node_base<void *> *>(std::__tree_node_base<void *> *) ; +0x5c, 0x73cba8\nMOV             R5, R0                                                 ; +0x60, 0x73cbac\nB               loc_73CB7E                                             ; +0x62, 0x73cbae\nADD.W           R0, R4, #0x2A8                                         ; +0x64, 0x73cbb0\nLDR.W           R1, [R4,#0x2AC]                                        ; +0x68, 0x73cbb4\nBL              _ZNSt6__ndk16__treeINS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEENS_4lessIS6_EENS4_IS6_EEE7destroyEPNS_11__tree_nodeIS6_PvEE; std::__tree<std::string>::destroy(std::__tree_node<std::string,void *> *) ; +0x6c, 0x73cbb8\nMOVS            R3, #0                                                 ; +0x70, 0x73cbbc\nSTR.W           R5, [R4,#0x2A8]                                        ; +0x72, 0x73cbbe\nSTR.W           R3, [R4,#0x2B0]                                        ; +0x76, 0x73cbc2\nSTR.W           R3, [R4,#0x2AC]                                        ; +0x7a, 0x73cbc6\nB               loc_73CC12                                             ; +0x7e, 0x73cbca\nLDR.W           R3, [R4,#0x2A4]                                        ; +0x80, 0x73cbcc\nMOV.W           R2, #0xFFFFFFFF                                        ; +0x84, 0x73cbd0\nSTR.W           R2, [R4,#0x2A4]                                        ; +0x88, 0x73cbd4\nCBZ             R5, loc_73CC32                                         ; +0x8c, 0x73cbd8\nCMP             R3, #0                                                 ; +0x8e, 0x73cbda\nBLT             loc_73CC32                                             ; +0x90, 0x73cbdc\nLDR.W           R2, [R4,#0x278]                                        ; +0x92, 0x73cbde\nLDR.W           R1, [R4,#0x27C]                                        ; +0x96, 0x73cbe2\nSUBS            R1, R1, R2                                             ; +0x9a, 0x73cbe6\nCMP.W           R3, R1,ASR#6                                           ; +0x9c, 0x73cbe8\nBGE             loc_73CC32                                             ; +0xa0, 0x73cbec\nADD.W           R2, R2, R3,LSL#6                                       ; +0xa2, 0x73cbee\nMOV             R0, SP                                                 ; +0xa6, 0x73cbf2\nADD.W           R1, R4, #0x260                                         ; +0xa8, 0x73cbf4\nMOV             R5, SP                                                 ; +0xac, 0x73cbf8\nBL              _ZNSt6__ndk1plIcNS_11char_traitsIcEENS_9allocatorIcEEEENS_12basic_stringIT_T0_T1_EERKS9_SB_; std::operator+<char>(std::string const&,std::string const&) ; +0xae, 0x73cbfa\nLDRB.W          R3, [SP,#0x14+var_14]                                  ; +0xb2, 0x73cbfe\nLSLS            R3, R3, #0x1F                                          ; +0xb6, 0x73cc02\nBPL             loc_73CC2C                                             ; +0xb8, 0x73cc04\nLDR             R0, [SP,#0x14+filename]; filename                      ; +0xba, 0x73cc06\nBLX             remove                                                 ; +0xbc, 0x73cc08\nMOV             R0, R5                                                 ; +0xc0, 0x73cc0c\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xc2, 0x73cc0e\nLDR             R3, [R4]                                               ; +0xc6, 0x73cc12\nMOV             R0, R4                                                 ; +0xc8, 0x73cc14\nLDR.W           R3, [R3,#0x2AC]                                        ; +0xca, 0x73cc16\nBLX             R3                                                     ; +0xce, 0x73cc1a\nB               loc_73CC32                                             ; +0xd0, 0x73cc1c\nMOV             R0, R7                                                 ; +0xd2, 0x73cc1e\nB               loc_73CC24                                             ; +0xd4, 0x73cc20\nMOV             R0, R5                                                 ; +0xd6, 0x73cc22\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xd8, 0x73cc24\nBL              __cxa_end_cleanup                                      ; +0xdc, 0x73cc28\nADD.W           R0, SP, #0x14+var_13                                   ; +0xe0, 0x73cc2c\nB               loc_73CC08                                             ; +0xe4, 0x73cc30\nLDR             R2, [SP,#0x14+var_8]                                   ; +0xe6, 0x73cc32\nLDR             R3, [R6]                                               ; +0xe8, 0x73cc34\nCMP             R2, R3                                                 ; +0xea, 0x73cc36\nBEQ             loc_73CC3E                                             ; +0xec, 0x73cc38\nBLX             __stack_chk_fail                                       ; +0xee, 0x73cc3a\nADD             SP, SP, #0x14                                          ; +0xf2, 0x73cc3e\nPOP.W           {R4-R9,PC}                                             ; +0xf4, 0x73cc40", "xrefs": ["`non-virtual thunk to'AutoBackupPopup::FLAlert_Clicked @ 0x73cc4c"], "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"}