//
// sub_FF7B04 from 0xff7b04 to 0xff7b5c (88 bytes)
//
// 1 xrefs:
// > ??> @ 0x13ffad8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:15:49 +0000
//
__int64 __fastcall sub_FF7B04(__int64 result)
{
_DWORD *v1; // x19
int v2; // w1
v1 = (_DWORD *)result;
if ( result )
{
v2 = *(_DWORD *)(result + 28);
result = 1;
if ( v2 )
{
if ( v1[6] )
BIO_closesocket(v1[10]);
v1[6] = 0;
v1[8] = 0;
return 1;
}
}
return result;
}