//
// std::__ndk1::remove,char> from 0x8075f8 to 0x807674 (124 bytes)
//
// 5 xrefs:
// > GameLevelManager::removeDelimiterChars @ 0x8076d8
// > GameLevelManager::removeDelimiterChars @ 0x807738
// > GameLevelManager::removeDelimiterChars @ 0x8077a8
// > GameLevelManager::removeDelimiterChars @ 0x807808
// > ??> @ 0x4f1f8
//
// This function is hookable on this platform (idp: arm, 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:54:46 +0000
//
unsigned __int8 *__fastcall std::remove,char>(
unsigned __int8 *a1,
unsigned __int8 *a2,
unsigned __int8 *a3)
{
bool v3; // zf
unsigned __int8 *v5; // x5
unsigned __int8 *result; // x0
int v7; // w6
unsigned __int8 *v8; // x3
int v9; // t1
unsigned __int8 *v10; // x3
int v11; // w4
v3 = a1 == a2;
v5 = a1;
result = a2;
if ( !v3 )
{
v7 = *a3;
if ( *a1 == v7 )
{
LABEL_7:
v10 = v5 + 1;
result = v5;
while ( v10 != a2 )
{
while ( 1 )
{
v11 = *v10++;
if ( *a3 == v11 )
break;
*result++ = v11;
if ( v10 == a2 )
return result;
}
}
}
else
{
v8 = a1 + 1;
while ( 1 )
{
v5 = v8;
if ( v8 == a2 )
break;
v9 = *v8++;
if ( v9 == v7 )
goto LABEL_7;
}
}
}
return result;
}