//
// sub_632664 from 0x632664 to 0x6326a8 (68 bytes)
//
// 1 xrefs:
// > sub_610224 @ 0x6102f2
//
// 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_632664(int a1)
{
int v2; // r0
int v3; // r0
if ( *(_DWORD *)(a1 + 672) != 2 )
return 1;
v2 = dword_ABAEC0;
if ( dword_ABAEC0 != -1 )
return v2 > 0;
v3 = socket(10, 2, 0);
if ( v3 != -1 )
{
dword_ABAEC0 = 1;
sub_62DFD4(0, v3);
v2 = dword_ABAEC0;
return v2 > 0;
}
dword_ABAEC0 = 0;
return 0;
}