//
// sub_94C2C from 0x94c2c to 0x94cc0 (148 bytes)
//
// 1 xrefs:
// > sub_94BF0 @ 0x94c10
//
// 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:23 +0000
//
// positive sp value has been detected, the output may be wrong!
__int64 __usercall sub_94C2C@(char a1@)
{
_BYTE *v1; // x19
__int64 v2; // x20
__int64 result; // x0
unsigned int v4; // w9
char v5; // w8
result = 0;
v4 = ((byte_114008[a1 & 0x1F] * (unsigned int)(unsigned __int8)v1[264]) >> 5) & 0x7FC;
if ( a1 < 0 )
v4 = -v4;
*(_DWORD *)(v2 + 80) = v4;
v5 = v1[263] + a1;
if ( v5 > 31 )
v5 -= 64;
v1[262] = v5;
*(_BYTE *)(v2 + 60) |= 1u;
return result;
}