//
// sub_A3A7C from 0xa3a7c to 0xa3af0 (116 bytes)
//
// 1 xrefs:
// > sub_A3A40 @ 0xa3a60
//
// This function is hookable on this platform (idp: arm, 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:14:30 +0000
//
__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;
}