//
// GJAccountManager::onUpdateAccountSettingsCompleted from 0x987dcc to 0x987e8c (192 bytes)
//
// 2 xrefs:
// > GJAccountManager::handleIt @ 0x98b95c
// > ??> @ 0x55018
//
// 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 12:57:54 +0000
//
__int64 __fastcall GJAccountManager::onUpdateAccountSettingsCompleted(GJAccountManager *a1, __int64 a2)
{
__int64 v4; // x0
void (__fastcall ***v6)(_QWORD); // x0
_QWORD v7[3]; // [xsp+30h] [xbp+30h] BYREF
GJAccountManager::removeDLFromActive(a1, "acc_sett");
v7[0] = 3222788;
v7[1] = 0;
v7[2] = 0;
if ( sub_9876A0(a2, (__int64)v7) )
{
v4 = *((_QWORD *)a1 + 54);
if ( v4 )
(*(void (__fastcall **)(__int64))(*(_QWORD *)v4 + 8LL))(v4);
}
else
{
v6 = *((void (__fastcall ****)(_QWORD))a1 + 54);
if ( v6 )
(**v6)(v6);
}
return _stack_chk_guard;
}