//
// sub_1002A8360 from 0x1002a8360 to 0x1002a83ad (77 bytes)
//
// 0 xrefs:
//
// 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 12:27:56 +0000
//
char __fastcall sub_1002A8360(__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;
}