//
// sub_1800446F0 from 0x1800446f0 to 0x1800447a0 (176 bytes)
//
// 2 xrefs:
// > sub_180015B40 @ 0x180015cf8
// > ??> @ 0x1801f816c
//
// 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_1800446F0(__int64 a1, unsigned int **a2)
{
unsigned int v4; // r8d
int v5; // eax
v4 = **a2;
while ( 2 )
{
switch ( v4 )
{
case 0u:
v5 = sub_180044980(a1, a2);
goto LABEL_5;
case 1u:
v5 = sub_180045B60(a1, a2);
LABEL_5:
if ( !v5 )
return 0;
v4 = **a2;
if ( v4 > 7 )
return 0;
continue;
case 2u:
case 3u:
case 4u:
case 7u:
return 1;
default:
return 0;
}
}
}