//
// AutoBackupPopup::reloadFiles from 0x741ff8 to 0x74209a (162 bytes)
//
// 2 xrefs:
// > AutoBackupPopup::init @ 0x74254a
// > AutoBackupPopup::backupsChanged @ 0x742774
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:58:39 +0000
//
void __fastcall AutoBackupPopup::reloadFiles(AutoBackupPopup *this, int a2, int a3, int a4)
{
int *v5; // r8
AutoBackupPopup *v6; // r0
int v7; // r1
int v8; // r2
AutoBackupPopup *v9; // [sp+0h] [bp-10h] BYREF
int v10; // [sp+4h] [bp-Ch]
int v11; // [sp+8h] [bp-8h]
int v12; // [sp+Ch] [bp-4h]
v9 = this;
v10 = a2;
v11 = a3;
v12 = a4;
v5 = (int *)((char *)this + 608);
AutoBackupPopup::backupDirectory((AutoBackupPopup *)&v9);
if ( (*((_BYTE *)this + 608) & 1) != 0 )
{
**((_BYTE **)this + 154) = 0;
*((_DWORD *)this + 153) = 0;
}
else
{
*((_BYTE *)this + 609) = 0;
*((_BYTE *)this + 608) = 0;
}
std::string::reserve(v5, 0);
v6 = v9;
v7 = v10;
v8 = v11;
v9 = nullptr;
v10 = 0;
v11 = 0;
*v5 = (int)v6;
v5[1] = v7;
v5[2] = v8;
std::string::~string((int)&v9);
v9 = nullptr;
v10 = 0;
v11 = 0;
std::string::__init((int *)&v9, &unk_B6B226, 0);
AutoBackupPopup::listBackups((unsigned __int8 *)v5, (unsigned int *)this + 155, (unsigned __int8 *)&v9);
std::string::~string((int)&v9);
AutoBackupPopup::assignRevs(this);
}