//
// sub_1000C8FE0 from 0x1000c8fe0 to 0x1000c9054 (116 bytes)
//
// 2 xrefs:
// > sub_1000C8CC0 @ 0x1000c8ed8
// > sub_1000C8CC0 @ 0x1000c8f40
//
// 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 10:58:50 +0000
//
bool __fastcall sub_1000C8FE0(__int64 a1, int a2)
{
__int64 v4; // x21
int v5; // w8
_BOOL8 v6; // x22
if ( (int)sub_1002E757C(a1) < 1 )
return 0;
v4 = 0;
do
{
v5 = *(_DWORD *)(sub_1002E75A0(a1, v4) + 376);
v6 = v5 == a2;
if ( v5 == a2 )
break;
v4 = (unsigned int)(v4 + 1);
}
while ( (int)v4 < (int)sub_1002E757C(a1) );
return v6;
}