//
// sub_10005D0B0 from 0x10005d0b0 to 0x10005d152 (162 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:19:40 +0000
//
_QWORD *__fastcall sub_10005D0B0(__int64 a1, const char *a2)
{
_QWORD *v2; // rbx
size_t v3; // r15
char *v4; // r13
v2 = sub_10005B9B0(a1 + 512);
v2[1] = a1;
v2[2] = 0;
*((_OWORD *)v2 + 3) = 0;
*((_OWORD *)v2 + 4) = 0;
*v2 = off_100AB7A70;
v2[10] = a1 + 512;
*((_DWORD *)v2 + 6) = 0;
*((_OWORD *)v2 + 2) = 0;
v3 = strlen(a2);
v4 = (char *)operator new[](v3 + 1);
v2[4] = v4;
memcpy(v4, a2, v3 + 1);
v2[5] = &v4[v3];
*((_DWORD *)v2 + 6) = 512;
return v2;
}