//
// sub_100568924 from 0x100568924 to 0x100568984 (96 bytes)
//
// 1 xrefs:
// > sub_1005F5B84 @ 0x1005f6044
//
// 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:08:12 +0000
//
__int64 __fastcall sub_100568924(__int64 a1, int a2, __int64 a3, float a4, float a5)
{
__int64 v5; // x8
if ( !a3 )
return 31;
v5 = *(_QWORD *)(*(_QWORD *)a1 + 168LL);
if ( a2 )
{
if ( *(_BYTE *)(v5 + 8) )
goto LABEL_4;
}
else
{
a2 = *(_DWORD *)(v5 + 70460);
if ( *(_BYTE *)(v5 + 8) )
{
LABEL_4:
if ( (unsigned int)(a2 - 1) <= 7 )
return sub_100560CA8(v5 + 192LL * (unsigned int)(a2 - 1) + 71136, a3, a4, a5);
return 31;
}
}
return 67;
}