//
// sub_6212AC from 0x6212ac to 0x6212f2 (70 bytes)
//
// 1 xrefs:
// > sub_62D9B8 @ 0x62dc1e
//
// 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
//
size_t __fastcall sub_6212AC(size_t result)
{
const char *v1; // r2
if ( *(_BYTE *)(*(_DWORD *)result + 912) )
{
if ( *(_BYTE *)(result + 619) )
{
v1 = *(const char **)(result + 208);
}
else if ( *(_BYTE *)(result + 618) )
{
v1 = *(const char **)(result + 240);
}
else
{
v1 = *(const char **)(result + 156);
}
return sub_61807C(
*(_DWORD *)result,
"Connected to %s (%s) port %ld (#%ld)\n",
v1,
(const char *)(result + 88),
*(_DWORD *)(result + 260),
*(_DWORD *)(result + 68));
}
return result;
}