//
// AutoBackupPopup::~AutoBackupPopup from 0xc52280 to 0xc524b0 (560 bytes)
//
// 4 xrefs:
// > `non-virtual thunk to'AutoBackupPopup::~AutoBackupPopup @ 0xc524b4
// > ??> @ 0x8a3b8
// > ??> @ 0xa8b50
// > ??> @ 0x14e8838
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:05:09 +0000
//
// Alternative name is '_ZN15AutoBackupPopupD2Ev'
void __fastcall AutoBackupPopup::~AutoBackupPopup(AutoBackupPopup *this)
{
char *v2; // x0
char *v3; // x2
char *v4; // x22
char *v5; // x19
void **v6; // x22
void **v7; // x19
v2 = *((char **)this + 121);
*(_QWORD *)this = &off_14E8830;
*((_QWORD *)this + 40) = off_14E8DB0;
*((_QWORD *)this + 41) = &off_14E8E20;
*((_QWORD *)this + 42) = off_14E8E38;
*((_QWORD *)this + 43) = off_14E8E58;
*((_QWORD *)this + 44) = off_14E8E80;
*((_QWORD *)this + 51) = &off_14E8EB0;
*((_QWORD *)this + 54) = &off_14E8F30;
*((_QWORD *)this + 68) = off_14E8F50;
*((_QWORD *)this + 97) = &off_14E8F98;
*((_QWORD *)this + 98) = &off_14E8FB0;
if ( v2 )
{
v3 = *((char **)this + 122);
if ( v2 != v3 )
*((_QWORD *)this + 122) = &v3[8 * ~((unsigned __int64)(v3 - 8 - v2) >> 3)];
operator delete(v2);
}
std::__tree::~__tree((__int64)this + 944);
std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::~__tree((__int64)this + 896);
if ( (*((_BYTE *)this + 872) & 1) != 0 )
operator delete(*((void **)this + 111));
v4 = *((char **)this + 106);
if ( v4 )
{
v5 = *((char **)this + 107);
if ( v4 == v5 )
{
LABEL_22:
operator delete(v5);
goto LABEL_23;
}
while ( 1 )
{
*((_QWORD *)this + 107) = v5 - 128;
if ( (*(v5 - 32) & 1) != 0 )
{
operator delete(*((void **)v5 - 2));
if ( (*(v5 - 56) & 1) == 0 )
{
LABEL_11:
if ( (*(v5 - 80) & 1) == 0 )
goto LABEL_12;
goto LABEL_19;
}
}
else if ( (*(v5 - 56) & 1) == 0 )
{
goto LABEL_11;
}
operator delete(*((void **)v5 - 5));
if ( (*(v5 - 80) & 1) == 0 )
{
LABEL_12:
if ( (*(v5 - 104) & 1) != 0 )
goto LABEL_20;
goto LABEL_13;
}
LABEL_19:
operator delete(*((void **)v5 - 8));
if ( (*(v5 - 104) & 1) != 0 )
LABEL_20:
operator delete(*((void **)v5 - 11));
LABEL_13:
if ( (*(v5 - 128) & 1) != 0 )
operator delete(*((void **)v5 - 14));
v5 = *((char **)this + 107);
if ( v4 == v5 )
{
v5 = *((char **)this + 106);
goto LABEL_22;
}
}
}
LABEL_23:
v6 = *((void ***)this + 103);
if ( !v6 )
goto LABEL_39;
v7 = *((void ***)this + 104);
if ( v6 != v7 )
{
while ( 1 )
{
*((_QWORD *)this + 104) = v7 - 16;
if ( (*(_BYTE *)(v7 - 4) & 1) != 0 )
{
operator delete(*(v7 - 2));
if ( (*(_BYTE *)(v7 - 7) & 1) == 0 )
{
LABEL_27:
if ( (*(_BYTE *)(v7 - 10) & 1) == 0 )
goto LABEL_28;
goto LABEL_35;
}
}
else if ( (*(_BYTE *)(v7 - 7) & 1) == 0 )
{
goto LABEL_27;
}
operator delete(*(v7 - 5));
if ( (*(_BYTE *)(v7 - 10) & 1) == 0 )
{
LABEL_28:
if ( (*(_BYTE *)(v7 - 13) & 1) != 0 )
goto LABEL_36;
goto LABEL_29;
}
LABEL_35:
operator delete(*(v7 - 8));
if ( (*(_BYTE *)(v7 - 13) & 1) != 0 )
LABEL_36:
operator delete(*(v7 - 11));
LABEL_29:
if ( (*(_BYTE *)(v7 - 16) & 1) != 0 )
operator delete(*(v7 - 14));
v7 = *((void ***)this + 104);
if ( v6 == v7 )
{
v7 = *((void ***)this + 103);
break;
}
}
}
operator delete(v7);
LABEL_39:
if ( (*((_BYTE *)this + 800) & 1) != 0 )
operator delete(*((void **)this + 102));
PagedListPopup::~PagedListPopup(this);
}