//
// sub_E20DC0 from 0xe20dc0 to 0xe20e78 (184 bytes)
//
// 1 xrefs:
// > ??> @ 0x13fc6d8
//
// 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:46 +0000
//
__int64 __fastcall sub_E20DC0(__int64 a1, unsigned int a2, unsigned __int8 a3)
{
__int64 v3; // x19
__int64 v5; // x20
__int64 result; // x0
__int64 v7; // x2
__int64 v8; // x3
unsigned int v9; // w20
v3 = *(_QWORD *)a1;
v5 = *(_QWORD *)(*(_QWORD *)a1 + 536LL);
if ( *(_DWORD *)(*(_QWORD *)a1 + 2172LL) == 11 )
a3 = 1;
LODWORD(result) = sub_DED020((_QWORD *)a1, a2, a3);
if ( v5 )
{
v7 = *(_QWORD *)(v5 + 136);
v8 = *(_QWORD *)(v5 + 144);
if ( *(_DWORD *)(v3 + 2172) == 11 )
{
v9 = result;
if ( *(_DWORD *)(a1 + 1576) == -1 )
sub_DF16E0(v3, "Got an RTP Receive with a CSeq of %ld\n", v8);
return v9;
}
if ( v7 != v8 )
{
v9 = 85;
sub_DF1848(v3, "The CSeq of this request %ld did not match the response %ld", v7, v8);
return v9;
}
}
return (unsigned int)result;
}