//
// sub_100608488 from 0x100608488 to 0x10060857c (244 bytes)
//
// 2 xrefs:
// > sub_100609B80 @ 0x100609da0
// > sub_10060C208 @ 0x10060c2cc
//
// 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_100608488(__int64 a1, unsigned int *a2, int a3)
{
int v6; // w22
__int64 v7; // x0
char *v8; // x8
char *i; // x9
int v10; // w10
unsigned __int8 *v11; // x9
int v12; // t1
int v13; // w10
int v14; // w6
char *v15; // x1
if ( !a1 )
return 0;
if ( (int)sub_1005DEA4C(a2) < 1 )
return 1;
v6 = 0;
while ( 2 )
{
v7 = sub_1005DEA60((__int64)a2, v6);
v8 = *(char **)(v7 + 8);
for ( i = v8; ; ++i )
{
v10 = (unsigned __int8)*i;
if ( *i <= 45 )
break;
if ( v10 == 46 || v10 == 58 )
goto LABEL_12;
LABEL_5:
;
}
if ( !*i )
goto LABEL_14;
if ( v10 != 44 )
goto LABEL_5;
LABEL_12:
v12 = (unsigned __int8)i[1];
v11 = (unsigned __int8 *)(i + 1);
if ( v12 )
v8 = (char *)v11;
LABEL_14:
v13 = (unsigned __int8)*v8;
if ( v13 == 43 )
v14 = -1;
else
v14 = 0;
if ( v13 == 43 )
v15 = v8 + 1;
else
v15 = v8;
if ( (unsigned int)sub_100602AFC(a1, v15, a3, *(char **)(v7 + 16), 0xFFFFFFFFLL, -1, v14) )
{
if ( ++v6 >= (int)sub_1005DEA4C(a2) )
return 1;
continue;
}
return 0;
}
}