//
// sub_DFB10 from 0xdfb10 to 0xdfc18 (264 bytes)
//
// 1 xrefs:
// > sub_E0AB4 @ 0xe0b8c
//
// 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 12:14:57 +0000
//
__int64 __fastcall sub_DFB10(__int64 a1)
{
int v2; // w0
int v3; // w22
int v4; // w21
char *v5; // x20
__int64 v6; // x0
__int64 v7; // x2
__int64 v8; // x0
__int64 v9; // x0
unsigned int v10; // w21
__int64 v11; // x8
__int64 v12; // x2
v2 = sub_E3E1C("http://", a1 + 68);
v3 = v2;
if ( v2 )
v4 = 4;
else
v4 = 3;
if ( v2 )
{
v5 = (char *)off_114000 + 56;
while ( 1 )
{
v5 = *(char **)v5;
if ( v5 == (char *)off_114000 + 56 )
break;
if ( *((_DWORD *)v5 + 104) == 4 )
goto LABEL_12;
}
}
v6 = sub_E0C64(*(__int64 *)((char *)&qword_1B0 + (_QWORD)off_114000));
v8 = sub_E2908(v6, 424, v7, 272, 0, 0, 1);
if ( v8 )
{
v5 = (char *)v8;
sub_DF980(v8);
v9 = sub_DF9C8((__int64)v5, v4, v3 == 0, *(_QWORD *)(a1 + 408));
if ( (_DWORD)v9 )
{
v10 = v9;
sub_E0C64(v9);
sub_E2D74(*(_QWORD *)(v11 + 432), v5, v12, 281, 1);
}
else
{
LABEL_12:
v10 = 0;
*(_QWORD *)(a1 + 392) = v5;
}
}
else
{
return 38;
}
return v10;
}