//
// GJAccountManager::dataLoaded from 0x464f44 to 0x465028 (228 bytes)
//
// 1 xrefs:
// > GameManager::dataLoaded @ 0x328d04
//
// 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
//
void GJAccountManager::dataLoaded(GJAccountManager *a1, DS_Dictionary *a2)
{
_BYTE v4[4]; // [sp+4h] [bp-10h] BYREF
char v5; // [sp+8h] [bp-Ch] BYREF
DS_Dictionary::getStringForKey((DS_Dictionary *)&v5, (const char *)a2);
sub_774794(&a1->m_username, &v5);
sub_774008(&v5);
a1->m_accountID = DS_Dictionary::getIntegerForKey(a2, "GJA_003");
DS_Dictionary::getStringForKey((DS_Dictionary *)&v5, (const char *)a2);
sub_774794(&a1->m_password, &v5);
sub_774008(&v5);
DS_Dictionary::getStringForKey((DS_Dictionary *)&v5, (const char *)a2);
sub_774794(&a1->m_GJP2, &v5);
sub_774008(&v5);
if ( *((_DWORD *)a1->m_password.m_data.m_data - 3) )
{
if ( !*((_DWORD *)a1->m_GJP2.m_data.m_data - 3) )
{
sub_775C20(v4);
GJAccountManager::getShaPassword((int)&v5);
sub_774794(&a1->m_GJP2, &v5);
sub_774008(&v5);
sub_774008(v4);
}
}
}