//
// sub_10052F930 from 0x10052f930 to 0x10052f990 (96 bytes)
//
// 2 xrefs:
// > ??> @ 0x10082a9c0
// > ??> @ 0x10082aaa8
//
// 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_10052F930(_QWORD *a1, _BYTE *a2)
{
__int64 result; // x0
__int64 v4; // x9
__int64 v5; // x9
__int64 v6; // x8
result = 0;
v4 = a1[3];
if ( v4 != 32 && v4 != 64 && v4 != 128 )
{
result = 0;
v5 = a1[4];
if ( v5 != 16 && v5 != 64 )
{
if ( a2 )
{
v6 = a1[2];
*a2 = BYTE2(v6);
a2[1] = BYTE1(v6);
a2[2] = v6;
}
return 3;
}
}
return result;
}