//
// GJAccountManager::unlinkFromAccount from 0x464d78 to 0x464de6 (110 bytes)
//
// 1 xrefs:
// > AccountHelpLayer::doUnlink @ 0x467c12
//
// 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::unlinkFromAccount(GJAccountManager *a1)
{
GameManager *v2; // r0
LocalLevelManager *v3; // r0
GJAccountDelegate *m_accountDelegate; // r0
GameManager *v5; // r0
sub_7753D4((int)&a1->m_GJP2, (char *)&unk_939830);
sub_7753D4((int)&a1->m_password, (char *)&unk_939830);
sub_7753D4((int)&a1->m_username, (char *)&unk_939830);
a1->m_accountID = 0;
GameManager::sharedState()->m_shouldLoadUnlockValueKeeper = 1;
v2 = GameManager::sharedState();
v2->firstLoad(v2);
GameManager::sharedState()->m_shouldLoadUnlockValueKeeper = 0;
v3 = LocalLevelManager::sharedState();
v3->firstLoad(v3);
m_accountDelegate = a1->m_accountDelegate;
if ( m_accountDelegate )
m_accountDelegate->accountStatusChanged(m_accountDelegate);
v5 = GameManager::sharedState();
GameManager::accountStatusChanged(v5);
}