//
// sub_B8B28C from 0xb8b28c to 0xb8b380 (244 bytes)
//
// 3 xrefs:
// > sub_B94940 @ 0xb949d0
// > sub_B94A04 @ 0xb94abc
// > sub_B94B24 @ 0xb94bb0
//
// 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
//
__int64 sub_B8B28C()
{
__int64 result; // x0
__int64 v1; // x0
__int64 v2; // x0
__int64 v3; // x1
char *v4; // x20
const char *v5; // x0
__int64 v6; // [xsp+38h] [xbp+38h]
if ( !byte_12477D8 )
{
strcpy((char *)&qword_1247710, "libcurl/7.52.1");
v2 = sub_BBA904(&unk_124771F, 185);
if ( v2 )
{
v3 = 185 - v2;
byte_124771E[0] = 32;
v4 = &byte_124771E[v2 + 1];
}
else
{
v3 = 186;
v4 = byte_124771E;
}
v6 = v3;
v5 = (const char *)((__int64 (*)(void))zlibVersion)();
sub_B8C278(v4, v6, " zlib/%s", v5);
byte_12477D8 = 1;
}
result = (unsigned __int8)byte_12477D9;
if ( !byte_12477D9 )
{
v1 = sub_BBA904(&unk_12477E0, 80);
qword_1230FB8 = (__int64)&unk_12477E0;
qword_1230FC8 = zlibVersion(v1);
result = 1;
byte_12477D9 = 1;
}
return result;
}