//
// sub_1004F6C3C from 0x1004f6c3c to 0x1004f6cb4 (120 bytes)
//
// 2 xrefs:
// > sub_1004F5BD0 @ 0x1004f5be8
// > sub_1004F5BD0 @ 0x1004f5c00
//
// 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:06:48 +0000
//
void __fastcall sub_1004F6C3C(__int64 a1)
{
if ( *(_QWORD *)(a1 + 688) )
{
if ( (*(char *)(a1 + 831) & 0x8000000000000000LL) != 0 )
{
if ( *(_QWORD *)(a1 + 816) )
return;
}
else if ( *(_BYTE *)(a1 + 831) )
{
return;
}
if ( (int)sub_1004F5EB4(a1) <= 0 && (sub_1004F6CB4(a1) & 1) == 0 && (*(_BYTE *)(a1 + 929) & 1) == 0 )
sub_1004F5C34(a1, *(_DWORD *)(a1 + 832), 1);
}
}