//
// sub_1000AC1C8 from 0x1000ac1c8 to 0x1000ac22c (100 bytes)
//
// 2 xrefs:
// > GameLevelManager::removeDelimiterChars @ 0x10009cd98
// > GameLevelManager::removeDelimiterChars @ 0x10009ce0c
//
// 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
//
unsigned __int8 *__fastcall sub_1000AC1C8(void *a1, unsigned __int8 *a2, unsigned __int8 *a3)
{
unsigned __int8 *result; // x0
unsigned __int8 *v6; // x8
int v8; // w9
result = (unsigned __int8 *)memchr(a1, (char)*a3, a2 - (_BYTE *)a1);
if ( !result )
result = a2;
v6 = result + 1;
if ( result != a2 && v6 != a2 )
{
do
{
v8 = *v6;
if ( v8 != *a3 )
*result++ = v8;
++v6;
}
while ( v6 != a2 );
}
return result;
}