//
// sub_100561098 from 0x100561098 to 0x1005611a8 (272 bytes)
//
// 2 xrefs:
// > sub_1005679E8 @ 0x100567a88
// > sub_100567AF0 @ 0x100567b78
//
// 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
//
void sub_100561098()
{
size_t v0; // x0
size_t v1; // x21
size_t v2; // x19
char *v3; // x20
__int64 v4; // x0
const char *v5; // x0
if ( (byte_100882A90[0] & 1) == 0 )
{
strcpy((char *)&qword_100882AE2, "libcurl/7.48.0");
v0 = strlen((const char *)&qword_100882AE2);
v1 = v0;
v2 = 200 - v0;
v3 = (char *)&qword_100882AE2 + v0;
if ( 200 - v0 >= 2 )
{
v4 = sub_100587860(&byte_100882A90[v0 + 83], 199 - v0);
if ( v4 )
{
*((_BYTE *)&qword_100882AE2 + v1) = 32;
v2 -= v4 + 1;
v3 = (char *)&qword_100882AE2 + v4 + v1 + 1;
}
}
v5 = zlibVersion();
sub_100562884(v3, v2, " zlib/%s", v5);
byte_100882A90[0] = 1;
}
if ( (byte_100882A91 & 1) == 0 )
{
sub_100587860(&unk_100882A92, 80);
qword_10085DE68 = (__int64)&unk_100882A92;
qword_10085DE78 = (__int64)zlibVersion();
byte_100882A91 = 1;
}
}