//
// sub_D17E0C from 0xd17e0c to 0xd17e50 (68 bytes)
//
// 0 xrefs:
//
// 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
//
int *__fastcall sub_D17E0C(int **a1)
{
__int64 v1; // x3
v1 = *((_QWORD *)*a1 - 3);
if ( !v1 )
sub_D13C5C("%s: __pos (which is %zu) > this->size() (which is %zu)", "basic_string::erase", 0xFFFFFFFFFFFFFFFFLL, 0);
return sub_D174B8(a1, v1 - 1, 1, 0);
}