//
// AccountLayer::~AccountLayer from 0x583a30 to 0x583af0 (192 bytes)
//
// 2 xrefs:
// > `non-virtual thunk to'AccountLayer::~AccountLayer @ 0x583af8
// > AccountLayer::~AccountLayer @ 0x583b00
//
// 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:52:56 +0000
//
// Alternative name is '_ZN12AccountLayerD1Ev'
void __fastcall AccountLayer::~AccountLayer(AccountLayer *this)
{
GJAccountManager *v2; // r0
GJAccountManager *v3; // r0
AccountLayer **v4; // r0
*(_DWORD *)this = &off_CB30F0;
*((_DWORD *)this + 66) = &off_CB33C4;
*((_DWORD *)this + 67) = &off_CB33FC;
*((_DWORD *)this + 68) = &off_CB3408;
*((_DWORD *)this + 69) = &off_CB3418;
*((_DWORD *)this + 70) = &off_CB342C;
*((_DWORD *)this + 79) = &off_CB3444;
*((_DWORD *)this + 83) = &off_CB3484;
*((_DWORD *)this + 120) = &off_CB3494;
*((_DWORD *)this + 121) = &off_CB34A0;
*((_DWORD *)this + 122) = &off_CB34B0;
*((_DWORD *)this + 123) = &off_CB34C0;
v2 = (GJAccountManager *)GJAccountManager::sharedState(this);
if ( *((AccountLayer **)v2 + 78) == (AccountLayer *)((char *)this + 480) )
{
v2 = (GJAccountManager *)GJAccountManager::sharedState(v2);
*((_DWORD *)v2 + 78) = 0;
}
v3 = (GJAccountManager *)GJAccountManager::sharedState(v2);
if ( *((AccountLayer **)v3 + 79) == (AccountLayer *)((char *)this + 484) )
{
v3 = (GJAccountManager *)GJAccountManager::sharedState(v3);
*((_DWORD *)v3 + 79) = 0;
}
v4 = (AccountLayer **)GJAccountManager::sharedState(v3);
if ( v4[80] == (AccountLayer *)((char *)this + 488) )
*(_DWORD *)(GJAccountManager::sharedState((GJAccountManager *)v4) + 320) = 0;
GJDropDownLayer::~GJDropDownLayer(this);
}