//
// sub_B9F534 from 0xb9f534 to 0xb9f5a4 (112 bytes)
//
// 3 xrefs:
// > sub_B94940 @ 0xb949b0
// > sub_B94A04 @ 0xb94a9c
// > sub_B94B24 @ 0xb94ba4
//
// 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
//
bool sub_B9F534()
{
int v0; // w0
unsigned int v2; // w1
v0 = dword_1231028;
if ( dword_1231028 == -1 )
{
v2 = socket(10, 2, 0);
if ( v2 == -1 )
{
dword_1231028 = 0;
return 0;
}
dword_1231028 = 1;
sub_B99144(0, v2);
v0 = dword_1231028;
}
return v0 > 0;
}