//
// sub_1001ACAFC from 0x1001acafc to 0x1001acb84 (136 bytes)
//
// 1 xrefs:
// > sub_1001ACEF0 @ 0x1001acfcc
//
// 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
//
bool __fastcall sub_1001ACAFC(unsigned __int8 **a1, unsigned __int8 *a2)
{
unsigned __int8 *v2; // x21
__int64 v5; // x22
_BOOL8 result; // x0
v2 = *a1;
if ( *a1 == a2 )
return 1;
while ( 1 )
{
v5 = byte_10063993B[*v2] + 1LL;
if ( a2 - v2 < v5 )
break;
result = sub_1001ACA10(v2, byte_10063993B[*v2] + 1);
if ( !result )
return result;
v2 += v5;
*a1 = v2;
if ( v2 == a2 )
return 1;
}
return 0;
}