//
// sub_10065F440 from 0x10065f440 to 0x10065f4b7 (119 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_10065F440(const char *a1)
{
char *v1; // rbx
size_t v2; // rax
char *v3; // r15
unsigned int v4; // r14d
__int64 v5; // r12
v1 = (char *)a1;
v2 = strlen(a1);
if ( v2 )
{
v3 = (char *)&a1[v2];
v4 = 0;
while ( 1 )
{
v5 = byte_1008230B0[(unsigned __int8)*v1] + 1LL;
if ( v3 - v1 < v5 || !sub_10065F320(v1, v5) )
break;
v1 += v5;
++v4;
if ( v1 == v3 )
return v4;
}
}
return 0;
}