//
// sub_1002BA380 from 0x1002ba380 to 0x1002ba3cd (77 bytes)
//
// 0 xrefs:
//
// 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
//
char __fastcall sub_1002BA380(__int64 a1, unsigned __int64 a2, __int64 a3)
{
if ( a2 < 3 )
return 0;
*(_BYTE *)(a3 + 4) = *(_BYTE *)(a1 + 2);
if ( a2 < 0x11 )
return 0;
*(_WORD *)(a3 + 6) = *(_WORD *)(a1 + 12);
*(_WORD *)(a3 + 8) = *(_WORD *)(a1 + 14);
*(_BYTE *)(a3 + 5) = *(_BYTE *)(a1 + 16);
if ( a2 == 17 )
return 0;
*(_DWORD *)(a3 + 24) = (*(unsigned __int8 *)(a1 + 17) >> 5) & 1;
return 1;
}