//
// sub_D1C784 from 0xd1c784 to 0xd1c7e8 (100 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
//
wchar_t *__usercall sub_D1C784@(
__int64 *a1@,
unsigned __int64 a2@,
unsigned __int64 a3@,
wchar_t *a4@)
{
unsigned __int64 v4; // x6
v4 = *(_QWORD *)(*a1 - 24);
if ( a2 > v4 )
sub_D13C5C("%s: __pos (which is %zu) > this->size() (which is %zu)", "basic_string::substr", a2, v4);
sub_D1C660(a4, a1, a2, a3);
return a4;
}