//
// sub_10044281C from 0x10044281c to 0x100442894 (120 bytes)
//
// 1 xrefs:
// > sub_1004CFA1C @ 0x1004cff00
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_10044281C(__int64 a1, int a2, int a3, unsigned __int64 a4, float a5, float a6, float a7)
{
__int64 result; // x0
__int64 v9; // x8
result = 31;
if ( a4 && (unsigned int)(a3 - 1) <= 0x1F )
{
v9 = *(_QWORD *)(*(_QWORD *)a1 + 168LL);
if ( a2 )
{
if ( *(_BYTE *)(v9 + 8) )
goto LABEL_5;
}
else
{
a2 = *(_DWORD *)(v9 + 70460);
if ( *(_BYTE *)(v9 + 8) )
{
LABEL_5:
if ( (unsigned int)(a2 - 1) > 7 )
return 31;
else
return sub_10043B65C((unsigned int *)(v9 + 192LL * (unsigned int)(a2 - 1) + 71136), a3, a4, a5, a6, a7);
}
}
return 67;
}
return result;
}