//
// sub_100095FF0 from 0x100095ff0 to 0x1000960a0 (176 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_100095FF0(__int64 a1, const char *a2)
{
_QWORD *v2; // rbx
const char *v3; // r15
size_t v4; // r14
char *v5; // r13
v2 = sub_1000945A0(a1 + 512);
v2[1] = a1;
v2[2] = 0;
*((_OWORD *)v2 + 3) = 0;
*((_OWORD *)v2 + 4) = 0;
*v2 = off_1008B44F0;
v2[10] = a1 + 512;
v3 = "xml version=\"1.0\" encoding=\"UTF-8\"";
if ( a2 )
v3 = a2;
*((_DWORD *)v2 + 6) = 0;
*((_OWORD *)v2 + 2) = 0;
v4 = strlen(v3);
v5 = (char *)operator new[](v4 + 1);
v2[4] = v5;
memcpy(v5, v3, v4 + 1);
v2[5] = &v5[v4];
*((_DWORD *)v2 + 6) = 512;
return v2;
}