//
// sub_10065F4C0 from 0x10065f4c0 to 0x10065f539 (121 bytes)
//
// 0 xrefs:
//
// 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
//
__int64 __fastcall sub_10065F4C0(char **a1, char *a2)
{
char *v2; // r15
__int64 result; // rax
__int64 v4; // r12
v2 = *a1;
LOBYTE(result) = 1;
if ( *a1 != a2 )
{
while ( 1 )
{
v4 = byte_1008230B0[(unsigned __int8)*v2] + 1LL;
if ( a2 - v2 < v4 || !sub_10065F320(v2, v4) )
break;
v2 += v4;
*a1 = v2;
if ( v2 == a2 )
{
LOBYTE(result) = 1;
return (unsigned __int8)result;
}
}
LOBYTE(result) = 0;
}
return (unsigned __int8)result;
}