{"type": "func", "start": 7610360, "end": 7610522, "name": "AutoBackupPopup::reloadFiles", "pseudocode": "// \n// AutoBackupPopup::reloadFiles from 0x741ff8 to 0x74209a (162 bytes)\n// \n// 2 xrefs:\n// > AutoBackupPopup::init @ 0x74254a\n// > AutoBackupPopup::backupsChanged @ 0x742774\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:39 +0000\n// \n\nvoid __fastcall AutoBackupPopup::reloadFiles(AutoBackupPopup *this, int a2, int a3, int a4)\n{\n  int *v5; // r8\n  AutoBackupPopup *v6; // r0\n  int v7; // r1\n  int v8; // r2\n  AutoBackupPopup *v9; // [sp+0h] [bp-10h] BYREF\n  int v10; // [sp+4h] [bp-Ch]\n  int v11; // [sp+8h] [bp-8h]\n  int v12; // [sp+Ch] [bp-4h]\n\n  v9 = this;\n  v10 = a2;\n  v11 = a3;\n  v12 = a4;\n  v5 = (int *)((char *)this + 608);\n  AutoBackupPopup::backupDirectory((AutoBackupPopup *)&v9);\n  if ( (*((_BYTE *)this + 608) & 1) != 0 )\n  {\n    **((_BYTE **)this + 154) = 0;\n    *((_DWORD *)this + 153) = 0;\n  }\n  else\n  {\n    *((_BYTE *)this + 609) = 0;\n    *((_BYTE *)this + 608) = 0;\n  }\n  std::string::reserve(v5, 0);\n  v6 = v9;\n  v7 = v10;\n  v8 = v11;\n  v9 = nullptr;\n  v10 = 0;\n  v11 = 0;\n  *v5 = (int)v6;\n  v5[1] = v7;\n  v5[2] = v8;\n  std::string::~string((int)&v9);\n  v9 = nullptr;\n  v10 = 0;\n  v11 = 0;\n  std::string::__init((int *)&v9, &unk_B6B226, 0);\n  AutoBackupPopup::listBackups((unsigned __int8 *)v5, (unsigned int *)this + 155, (unsigned __int8 *)&v9);\n  std::string::~string((int)&v9);\n  AutoBackupPopup::assignRevs(this);\n}", "assembly": "; \n; AutoBackupPopup::reloadFiles from 0x741ff8 to 0x74209a (162 bytes)\n; \n; 2 xrefs:\n; > AutoBackupPopup::init @ 0x74254a\n; > AutoBackupPopup::backupsChanged @ 0x742774\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:39 +0000\n; \nPUSH.W          {R0-R8,LR}                                             ; +0x0, 0x741ff8\nMOV             R5, R0                                                 ; +0x4, 0x741ffc\nLDR             R7, =(__stack_chk_guard_ptr - 0x74200C)                ; +0x6, 0x741ffe\nADD.W           R8, R0, #0x260                                         ; +0x8, 0x742000\nMOV             R0, SP; this                                           ; +0xc, 0x742004\nMOV             R4, SP                                                 ; +0xe, 0x742006\nADD             R7, PC; __stack_chk_guard_ptr                          ; +0x10, 0x742008\nLDR             R7, [R7]; __stack_chk_guard                            ; +0x12, 0x74200a\nLDR             R3, [R7]                                               ; +0x14, 0x74200c\nSTR             R3, [SP,#0x10+var_4]                                   ; +0x16, 0x74200e\nBL              _ZN15AutoBackupPopup15backupDirectoryEv; AutoBackupPopup::backupDirectory(void) ; +0x18, 0x742010\nLDRB.W          R6, [R5,#0x260]                                        ; +0x1c, 0x742014\nMOV             R0, R8                                                 ; +0x20, 0x742018\nMOVS            R1, #0                                                 ; +0x22, 0x74201a\nANDS.W          R6, R6, #1                                             ; +0x24, 0x74201c\nITT EQ                                                                 ; +0x28, 0x742020\nSTRBEQ.W        R6, [R5,#0x261]                                        ; +0x2a, 0x742022\nSTRBEQ.W        R6, [R5,#0x260]                                        ; +0x2e, 0x742026\nMOV.W           R6, #0                                                 ; +0x32, 0x74202a\nITTTT NE                                                               ; +0x36, 0x74202e\nLDRNE.W         R2, [R5,#0x268]                                        ; +0x38, 0x742030\nMOVNE           R3, #0                                                 ; +0x3c, 0x742034\nSTRBNE          R3, [R2]                                               ; +0x3e, 0x742036\nSTRNE.W         R3, [R5,#0x264]                                        ; +0x40, 0x742038\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEj; std::string::reserve(uint) ; +0x44, 0x74203c\nLDMFD.W         SP, {R0-R2}                                            ; +0x48, 0x742040\nSTR             R6, [SP,#0x10+var_10]                                  ; +0x4c, 0x742044\nSTR             R6, [SP,#0x10+var_C]                                   ; +0x4e, 0x742046\nSTR             R6, [SP,#0x10+var_8]                                   ; +0x50, 0x742048\nSTM.W           R8, {R0-R2}                                            ; +0x52, 0x74204a\nMOV             R0, SP                                                 ; +0x56, 0x74204e\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x58, 0x742050\nLDR             R1, =(unk_B6B226 - 0x74205E)                           ; +0x5c, 0x742054\nMOV             R0, SP                                                 ; +0x5e, 0x742056\nMOV             R2, R6                                                 ; +0x60, 0x742058\nADD             R1, PC; unk_B6B226                                     ; +0x62, 0x74205a\nSTR             R6, [SP,#0x10+var_10]                                  ; +0x64, 0x74205c\nSTR             R6, [SP,#0x10+var_C]                                   ; +0x66, 0x74205e\nSTR             R6, [SP,#0x10+var_8]                                   ; +0x68, 0x742060\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x6a, 0x742062\nMOV             R0, R8                                                 ; +0x6e, 0x742066\nADD.W           R1, R5, #0x26C                                         ; +0x70, 0x742068\nMOV             R2, SP                                                 ; +0x74, 0x74206c\nBL              _ZN15AutoBackupPopup11listBackupsERKNSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEERNS0_6vectorINS_10BackupFileENS4_ISA_EEEES8_; AutoBackupPopup::listBackups(std::string const&,std::vector<AutoBackupPopup::BackupFile> &,std::string const&) ; +0x76, 0x74206e\nMOV             R0, SP                                                 ; +0x7a, 0x742072\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x7c, 0x742074\nMOV             R0, R5; this                                           ; +0x80, 0x742078\nBL              _ZN15AutoBackupPopup10assignRevsEv; AutoBackupPopup::assignRevs(void) ; +0x82, 0x74207a\nLDR             R2, [SP,#0x10+var_4]                                   ; +0x86, 0x74207e\nLDR             R3, [R7]                                               ; +0x88, 0x742080\nCMP             R2, R3                                                 ; +0x8a, 0x742082\nBEQ             loc_742094                                             ; +0x8c, 0x742084\nBLX             __stack_chk_fail                                       ; +0x8e, 0x742086\nMOV             R0, R4                                                 ; +0x92, 0x74208a\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x94, 0x74208c\nBL              __cxa_end_cleanup                                      ; +0x98, 0x742090\nADD             SP, SP, #0x10                                          ; +0x9c, 0x742094\nPOP.W           {R4-R8,PC}                                             ; +0x9e, 0x742096", "xrefs": ["AutoBackupPopup::init @ 0x74254a", "AutoBackupPopup::backupsChanged @ 0x742774"], "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"}