//
// sub_D1B828 from 0xd1b828 to 0xd1b888 (96 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
//
char *__fastcall sub_D1B828(const wchar_t **a1, char *a2, __int64 a3)
{
__int64 v3; // x2
__int64 v6; // x19
v3 = (a3 - (__int64)a2) >> 2;
if ( v3 )
{
v6 = a2 - (char *)*a1;
sub_D1B4BC(a1, v6 >> 2, v3, 0);
a2 = (char *)*a1 + v6;
*((_DWORD *)*a1 - 2) = -1;
}
return a2;
}