//
// sub_A3A7C from 0xa3a7c to 0xa3af0 (116 bytes)
//
// 1 xrefs:
// > sub_A3A40 @ 0xa3a60
//
// 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 __usercall sub_A3A7C@(char a1@)
{
__int64 v1; // x19
__int64 v2; // x20
bool v3; // nf
unsigned int v4; // w8
char v5; // w9
v3 = a1 < 0;
v4 = ((byte_114008[a1 & 0x1F] * (unsigned int)*(unsigned __int8 *)(v1 + 264)) >> 5) & 0x7FC;
v5 = *(_BYTE *)(v2 + 60) | 1;
if ( !v3 )
v4 = -v4;
*(_DWORD *)(v2 + 80) = v4;
*(_BYTE *)(v2 + 60) = v5;
return 0;
}