//
// sub_62104C from 0x62104c to 0x6210a8 (92 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
//
int __fastcall sub_62104C(int a1, size_t a2)
{
if ( !(*(_DWORD *)(*(_DWORD *)(a1 + 732) + 12) + *(_DWORD *)(*(_DWORD *)(a1 + 728) + 12)) && !*(_BYTE *)(a1 + 64) )
{
if ( (*(_DWORD *)(*(_DWORD *)(a1 + 664) + 60) & 0x40000) == 0 )
{
if ( !sub_632D88(*(_DWORD *)(a1 + 416), -1, -1, 0) )
return 0;
goto LABEL_5;
}
if ( sub_63B660() )
{
LABEL_5:
*(_DWORD *)a1 = a2;
sub_61807C(a2, "Connection %ld seems to be dead!\n", *(_DWORD *)(a1 + 68));
sub_620F5C(a1, 1);
}
}
return 0;
}