//
// sub_D1B7E4 from 0xd1b7e4 to 0xd1b828 (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
//
char *__fastcall sub_D1B7E4(const wchar_t **a1, __int64 a2)
{
__int64 v3; // x19
char *result; // x0
v3 = a2 - (_QWORD)*a1;
sub_D1B4BC(a1, v3 >> 2, 1, 0);
result = (char *)*a1 + v3;
*((_DWORD *)*a1 - 2) = -1;
return result;
}