//
// sub_A1078 from 0xa1078 to 0xa10a8 (48 bytes)
//
// 2 xrefs:
// > sub_9F060 @ 0x9f094
// > sub_9F1C4 @ 0x9f1f4
//
// 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:29 +0000
//
void __usercall sub_A1078(char a1@)
{
int v1; // w9
__int64 v2; // x19
__int64 v3; // x20
char v4; // w8
*(_DWORD *)(v3 + 80) = v1;
v4 = *(_BYTE *)(v2 + 263) + a1;
if ( v4 > 31 )
v4 -= 64;
*(_BYTE *)(v2 + 262) = v4;
*(_BYTE *)(v3 + 60) |= 1u;
}