//
// sub_1800446F0 from 0x1800446f0 to 0x1800447a0 (176 bytes)
//
// 2 xrefs:
// > sub_180015B40 @ 0x180015cf8
// > ??> @ 0x1801f816c
//
// 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 10:53:12 +0000
//
__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;
}
}
}