// // GJAccountManager::onUpdateAccountSettingsCompleted from 0x1000d1620 to 0x1000d16b3 (147 bytes) // // 0 xrefs: // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // char __fastcall GJAccountManager::onUpdateAccountSettingsCompleted(GJAccountManager *a1, unsigned __int8 *a2) { const void *v3; // rdi unsigned __int64 v4; // rcx size_t v5; // rdx bool v6; // r14 int v7; // eax __int64 (***m_accountSettingsDelegate)(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); m_accountSettingsDelegate = (__int64 (***)(void))a1->m_accountSettingsDelegate; result = v6 || v7 != 0; if ( result ) { if ( !m_accountSettingsDelegate ) return result; v10 = *m_accountSettingsDelegate; } else { if ( !m_accountSettingsDelegate ) return result; v10 = *m_accountSettingsDelegate + 1; } return (*v10)(); }