//
// sub_100560C2C from 0x100560c2c to 0x100560d00 (212 bytes)
//
// 2 xrefs:
// > sub_100557194 @ 0x100557604
// > sub_10056AEA0 @ 0x10056b29c
//
// 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_100560C2C(_BYTE *a1)
{
char v1; // w9
int v2; // w8
if ( a1[1] == 30 )
{
v1 = a1[9];
v2 = v1 & 0xC0 | ((unsigned __int8)a1[8] << 8);
if ( v2 )
{
if ( v2 == 65152 )
return 1;
if ( v2 == 65216 )
return 2;
}
else if ( !((unsigned __int8)(a1[10]
| v1
| a1[11]
| a1[12]
| a1[13]
| a1[14]
| a1[15]
| a1[16]
| a1[17]
| a1[18]
| a1[19]
| a1[20]
| a1[21])
| a1[22])
&& a1[23] == 1 )
{
return 3;
}
}
return 0;
}