//
// sub_DFD690 from 0xdfd690 to 0xdfd728 (152 bytes)
//
// 2 xrefs:
// > sub_DFDF6C @ 0xdfffc8
// > sub_DFDF6C @ 0xdfffd0
//
// 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:09:27 +0000
//
__int64 __fastcall sub_DFD690(__int64 a1, __int64 a2)
{
__int64 v4; // x2
if ( !(*(_QWORD *)(*(_QWORD *)(a1 + 1152) + 24LL) + *(_QWORD *)(*(_QWORD *)(a1 + 1144) + 24LL))
&& !*(_BYTE *)(a1 + 72) )
{
if ( (*(_DWORD *)(*(_QWORD *)(a1 + 1024) + 120LL) & 0x40000) == 0 )
{
if ( !(unsigned int)sub_E16180(*(unsigned int *)(a1 + 608), 0xFFFFFFFFLL, 0xFFFFFFFFLL) )
return 0;
goto LABEL_5;
}
if ( (unsigned __int8)sub_E219E8(a1) )
{
LABEL_5:
v4 = *(_QWORD *)(a1 + 80);
*(_QWORD *)a1 = a2;
sub_DF16E0(a2, "Connection %ld seems to be dead!\n", v4);
sub_DFD528(a1, 1u);
}
}
return 0;
}