//
// sub_100097E10 from 0x100097e10 to 0x100097ec1 (177 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
//
_QWORD *__fastcall sub_100097E10(__int64 a1, const char *a2)
{
_QWORD *v2; // rbx
size_t v3; // r15
char *v4; // r13
v2 = sub_100094970(a1 + 128);
v2[1] = a1;
v2[2] = 0;
*((_OWORD *)v2 + 3) = 0;
*((_OWORD *)v2 + 4) = 0;
*v2 = off_1008B4630;
*((_DWORD *)v2 + 22) = 0;
v2[12] = 0;
v2[10] = a1 + 128;
*((_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;
}