//
// GJAccountManager::onUpdateAccountSettingsCompleted from 0x10009fc00 to 0x10009fc93 (147 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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:20:13 +0000
//
char __fastcall GJAccountManager::onUpdateAccountSettingsCompleted(__int64 a1, unsigned __int8 *a2)
{
const void *v3; // rdi
unsigned __int64 v4; // rcx
size_t v5; // rdx
bool v6; // r14
int v7; // eax
__int64 (***v8)(void); // rdi
char result; // al
__int64 (**v10)(void); // rax
_WORD __s2[19]; // [rsp+9h] [rbp-27h] BYREF
GJAccountManager::removeDLFromActive(a1, "acc_sett");
strcpy((char *)__s2, "-1");
v3 = a2 + 1;
v4 = *a2 >> 1;
if ( (*a2 & 1) != 0 )
{
v3 = *((const void **)a2 + 2);
v4 = *((_QWORD *)a2 + 1);
}
v5 = 2;
if ( v4 < 2 )
v5 = v4;
v6 = v4 != 2;
v7 = memcmp(v3, __s2, v5);
v8 = *(__int64 (****)(void))(a1 + 432);
result = v6 || v7 != 0;
if ( result )
{
if ( !v8 )
return result;
v10 = *v8;
}
else
{
if ( !v8 )
return result;
v10 = *v8 + 1;
}
return (*v10)();
}