//
// sub_10005AC80 from 0x10005ac80 to 0x10005ad1e (158 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:19:39 +0000
//
char *__fastcall sub_10005AC80(__int64 a1)
{
char *result; // rax
char i; // dl
char v3; // si
char *v4; // rdx
result = *(char **)(a1 + 8);
for ( i = *result; i >= 0; i = *++result )
{
if ( (_DefaultRuneLocale.__runetype[(unsigned __int8)i] & 0x4000) == 0 )
break;
}
*(_QWORD *)(a1 + 8) = result;
v3 = *result;
if ( *result )
{
v4 = result;
do
{
if ( v3 >= 0 && (_DefaultRuneLocale.__runetype[(unsigned __int8)v3] & 0x4000) != 0 )
{
while ( (_DefaultRuneLocale.__runetype[(unsigned __int8)v3] & 0x4000) != 0 )
{
v3 = *++v4;
if ( v3 < 0 )
goto LABEL_7;
}
if ( !v3 )
break;
LABEL_7:
*result++ = 32;
v3 = *v4;
}
*result++ = v3;
v3 = *++v4;
}
while ( v3 );
*result = 0;
}
return result;
}