//
// GJAccountManager::unlinkFromAccount from 0x100447e30 to 0x100447ed0 (160 bytes)
//
// 1 xrefs:
// > AccountHelpLayer::FLAlert_Clicked @ 0x1001f0758
//
// 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 11:05:15 +0000
//
double __fastcall GJAccountManager::unlinkFromAccount(__int64 a1)
{
__int64 v2; // x0
__int64 v3; // x0
__int64 v4; // x0
void (__fastcall ***v5)(_QWORD); // x0
__int64 v6; // x0
std::string::assign((std::string *)(a1 + 368), "");
std::string::assign((std::string *)(a1 + 448), "");
std::string::assign((std::string *)(a1 + 328), "");
*(_DWORD *)(a1 + 352) = 0;
*(_BYTE *)(GameManager::sharedState() + 1026) = 1;
v2 = GameManager::sharedState();
(*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 936LL))(v2);
*(_BYTE *)(GameManager::sharedState() + 1026) = 0;
v3 = LocalLevelManager::sharedState();
(*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 936LL))(v3);
v4 = GameLevelManager::sharedState();
sub_1000ADEB0(v4);
v5 = *(void (__fastcall ****)(_QWORD))(a1 + 408);
if ( v5 )
(**v5)(v5);
v6 = GameManager::sharedState();
return sub_1003B67C0(v6);
}