//
// sub_10044D994 from 0x10044d994 to 0x10044d9fc (104 bytes)
//
// 2 xrefs:
// > sub_10042847C @ 0x1004284bc
// > sub_100428538 @ 0x10042878c
//
// 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
//
bool __fastcall sub_10044D994(__int64 a1, unsigned __int8 *a2)
{
unsigned __int64 v3; // x12
unsigned __int8 *v4; // x10
bool v5; // w11
int v6; // w13
if ( *(_BYTE *)(a1 + 720) )
return 0;
v3 = 0;
v4 = (unsigned __int8 *)(a1 + 725);
v5 = 1;
do
{
if ( *(v4 - 1) == *a2 )
{
v6 = *v4;
if ( v6 == 255 || v6 == a2[1] )
break;
}
v5 = v3 < 0x1F;
v4 += 16;
++v3;
}
while ( v3 != 32 );
return v5;
}