//
// sub_F1C8AC from 0xf1c8ac to 0xf1c8e4 (56 bytes)
//
// 3 xrefs:
// > sub_F0FAA4 @ 0xf0fea4
// > sub_F2507C @ 0xf251f0
// > sub_F25384 @ 0xf259a0
//
// 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 13:12:35 +0000
//
__int64 __fastcall sub_F1C8AC(_QWORD *a1, int *a2)
{
_DWORD *v2; // x2
int *v3; // x4
int v4; // t1
_BYTE *v5; // x1
__int64 result; // x0
v2 = (_DWORD *)a1[9];
v3 = a2 + 4;
do
{
v4 = *a2++;
*v2 = v4;
v2 = (_DWORD *)((char *)v2 + *(int *)(a1[6] + 56LL));
}
while ( a2 != v3 );
v5 = (_BYTE *)a1[7];
result = *v5 & 0xFC;
*v5 &= 0xFCu;
return result;
}