//
// sub_A1078 from 0xa1078 to 0xa10a8 (48 bytes)
//
// 2 xrefs:
// > sub_9F060 @ 0x9f094
// > sub_9F1C4 @ 0x9f1f4
//
// 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
//
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;
}