//
// sub_100349610 from 0x100349610 to 0x1003496af (159 bytes)
//
// 1 xrefs:
// > LevelListLayer::init @ 0x1003484d5
//
// 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:28:47 +0000
//
void __fastcall sub_100349610(__int64 a1, __int64 a2, __int64 a3)
{
__int64 v4; // rdi
double v5; // xmm0_8
__int64 v6; // rax
__int64 v7; // rdi
__int64 v8; // rdx
double v9; // xmm0_8
__int64 v10; // rax
__int64 v11; // rax
__int64 v12; // rax
if ( !*(_BYTE *)(a1 + 952) )
{
v4 = *(_QWORD *)(a1 + 960);
if ( v4 )
{
a2 = 0;
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v4 + 1160LL))(v4, 0);
}
*(_QWORD *)&v5 = GameManager::sharedState(v4, a2, a3).u64[0];
v7 = v6;
if ( (unsigned __int8)GameManager::safeModeEnabled(v6, v5) )
{
*(_QWORD *)&v9 = GameManager::sharedState(v7, a2, v8).u64[0];
GameManager::showParentalRestrictedAlert(v10, v9);
}
else
{
v11 = GJAccountManager::sharedState(v7, a2);
if ( *(_DWORD *)(v11 + 352) <= *(_DWORD *)(v11 + 356) )
{
GJAccountManager::sharedState(v7, a2);
sub_1000A24A0();
}
else
{
v12 = sub_10034BDA0(*(_QWORD *)(a1 + 912));
(*(void (__fastcall **)(__int64))(*(_QWORD *)v12 + 1312LL))(v12);
}
}
}
}