//
// GJAccountManager::onUpdateAccountSettingsCompleted from 0x5817cc to 0x581830 (100 bytes)
//
// 1 xrefs:
// > GJAccountManager::handleIt @ 0x583794
//
// 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:54 +0000
//
int (***__fastcall GJAccountManager::onUpdateAccountSettingsCompleted(GJAccountManager *a1, unsigned __int8 *a2))(void)
{
_BOOL4 v4; // r6
int (***result)(void); // r0
int (*v6)(void); // r3
int v7[3]; // [sp+0h] [bp-14h] BYREF
GJAccountManager::removeDLFromActive(a1, "acc_sett");
memset(v7, 0, sizeof(v7));
std::string::__init(v7, "-1", 2u);
v4 = sub_58125C(a2, (unsigned __int8 *)v7);
std::string::~string((int)v7);
result = *((int (****)(void))a1 + 81);
if ( v4 )
{
if ( !result )
return result;
v6 = (*result)[1];
}
else
{
if ( !result )
return result;
v6 = **result;
}
return (int (***)(void))v6();
}