//
// sub_8426E4 from 0x8426e4 to 0x842728 (68 bytes)
//
// 1 xrefs:
// > sub_8202A4 @ 0x820372
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:02:22 +0000
//
int __fastcall sub_8426E4(int a1)
{
int v2; // r0
int v3; // r0
if ( *(_DWORD *)(a1 + 672) != 2 )
return 1;
v2 = dword_D200C0;
if ( dword_D200C0 != -1 )
return v2 > 0;
v3 = socket(10, 2, 0);
if ( v3 != -1 )
{
dword_D200C0 = 1;
sub_83E054(0, v3);
v2 = dword_D200C0;
return v2 > 0;
}
dword_D200C0 = 0;
return 0;
}