//
// sub_1008F6530 from 0x1008f6530 to 0x1008f65c1 (145 bytes)
//
// 1 xrefs:
// > sub_1008F3770 @ 0x1008f454f
//
// 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:37:58 +0000
//
void __fastcall sub_1008F6530(__int64 a1, __int64 a2)
{
__int64 v3; // rdi
__int64 v4; // rax
__int64 v5; // rax
if ( *(_QWORD *)(a1 + 1088) )
{
v3 = GameManager::sharedState();
if ( GameManager::safeModeEnabled(v3) )
{
GameManager::sharedState();
GameManager::showParentalRestrictedAlert();
}
else
{
v4 = GJAccountManager::sharedState(v3, a2);
if ( *(_DWORD *)(v4 + 352) <= *(_DWORD *)(v4 + 356) )
{
GJAccountManager::sharedState(v3, a2);
sub_1000A24A0();
}
else
{
v5 = sub_1008FB110(*(_QWORD *)(a1 + 1088), a1);
if ( v5 )
(*(void (__fastcall **)(__int64))(*(_QWORD *)v5 + 1312LL))(v5);
}
}
}
}