//
// sub_FA810 from 0xfa810 to 0xfa864 (84 bytes)
//
// 2 xrefs:
// > sub_FA57C @ 0xfa600
// > sub_FAAB0 @ 0xfacd4
//
// 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:15:09 +0000
//
__int64 __fastcall sub_FA810(__int64 a1, int *a2, int a3)
{
int v5; // w0
int *v6; // x1
int v7; // w2
int v8; // t1
v5 = sub_F309C(a1);
v6 = a2;
v7 = a3;
if ( a2 )
{
while ( v7 )
{
v8 = *v6++;
--v7;
if ( v8 == v5 )
return 1;
}
}
return 0;
}