//
// sub_1003AECE4 from 0x1003aece4 to 0x1003aed68 (132 bytes)
//
// 1 xrefs:
// > ??> @ 0x10080e088
//
// 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
//
char *__fastcall sub_1003AECE4(char *a1)
{
char *v2; // x8
int v3; // w9
int v4; // t1
char *v6[2]; // [xsp+0h] [xbp-20h] BYREF
v6[0] = nullptr;
v6[1] = nullptr;
while ( 1 )
{
while ( 1 )
{
do
{
v2 = a1;
v4 = (unsigned __int8)*a1++;
v3 = v4;
}
while ( (byte_100645E7D[v4] & 1) == 0 );
if ( v3 != 38 )
break;
a1 = sub_1003AE978(v2, (__int64)v6);
}
if ( !v3 )
break;
if ( v3 == 60 )
goto LABEL_9;
}
a1 = v2;
LABEL_9:
*(_BYTE *)sub_1003AE928(v6, (unsigned __int64)v2) = 0;
return a1;
}