//
// sub_D17818 from 0xd17818 to 0xd17874 (92 bytes)
//
// 3 xrefs:
// > GameLevelManager::removeDelimiterChars @ 0x71b4ec
// > GameLevelManager::removeDelimiterChars @ 0x71b5bc
// > DS_Dictionary::cleanStringWhiteSpace @ 0xb486e0
//
// 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_D17818(int **a1, char *a2, __int64 a3)
{
__int64 v3; // x2
size_t v6; // x19
v3 = a3 - (_QWORD)a2;
if ( v3 )
{
v6 = a2 - (char *)*a1;
sub_D174B8(a1, v6, v3, 0);
a2 = (char *)*a1 + v6;
*(*a1 - 2) = -1;
}
return a2;
}