//
// AutoBackupPopup::FLAlert_Clicked from 0x73cb4c to 0x73cc44 (248 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'AutoBackupPopup::FLAlert_Clicked @ 0x73cc4c
//
// 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:31 +0000
//
int __fastcall AutoBackupPopup::FLAlert_Clicked(AutoBackupPopup *this, FLAlertLayer *a2, int a3)
{
int result; // r0
unsigned __int8 *i; // r5
char *v7; // r0
int v8; // r3
int v9; // r2
char *v10; // r0
int v11[2]; // [sp+0h] [bp-14h] BYREF
char *filename; // [sp+8h] [bp-Ch]
result = (*(int (__fastcall **)(FLAlertLayer *))(*(_DWORD *)a2 + 32))(a2);
if ( result == 3 )
{
if ( !a3 )
return result;
for ( i = *((unsigned __int8 **)this + 170);
i != (unsigned __int8 *)((char *)this + 684);
i = (unsigned __int8 *)std::__tree_next *>(i) )
{
std::operator+(v11, (unsigned __int8 *)this + 608, i + 16);
if ( (v11[0] & 1) != 0 )
v7 = filename;
else
v7 = (char *)v11 + 1;
remove(v7);
std::string::~string((int)v11);
}
std::__tree::destroy((int)this + 680, *((_DWORD **)this + 171));
*((_DWORD *)this + 170) = i;
*((_DWORD *)this + 172) = 0;
*((_DWORD *)this + 171) = 0;
return (*(int (__fastcall **)(AutoBackupPopup *))(*(_DWORD *)this + 684))(this);
}
v8 = *((_DWORD *)this + 169);
*((_DWORD *)this + 169) = -1;
if ( a3 )
{
if ( v8 >= 0 )
{
v9 = *((_DWORD *)this + 158);
if ( v8 < (*((_DWORD *)this + 159) - v9) >> 6 )
{
std::operator+(v11, (unsigned __int8 *)this + 608, (unsigned __int8 *)(v9 + (v8 << 6)));
if ( (v11[0] & 1) != 0 )
v10 = filename;
else
v10 = (char *)v11 + 1;
remove(v10);
std::string::~string((int)v11);
return (*(int (__fastcall **)(AutoBackupPopup *))(*(_DWORD *)this + 684))(this);
}
}
}
return result;
}