//
// sub_1006A1680 from 0x1006a1680 to 0x1006a172c (172 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009b2208
//
// 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 11:11:39 +0000
//
__int64 __fastcall sub_1006A1680(__int64 a1, __int64 a2, char a3)
{
size_t v4; // x20
__int64 v5; // x22
__int64 v6; // x19
__int64 v7; // x8
int v8; // w10
v4 = *(_QWORD *)a1;
v5 = *(_QWORD *)(*(_QWORD *)a1 + 536LL);
v6 = sub_100675998((__int64 *)a1, a2, (*(_DWORD *)(*(_QWORD *)a1 + 1796LL) == 11) | a3);
if ( v5 )
{
v7 = *(_QWORD *)(v5 + 144);
v8 = *(_DWORD *)(v4 + 1796);
if ( *(_QWORD *)(v5 + 136) == v7 || v8 == 11 )
{
if ( v8 == 11 && *(_DWORD *)(a1 + 1352) == -1 )
sub_10067860C(v4, "Got an RTP Receive with a CSeq of %ld\n", *(_QWORD *)(v5 + 144));
}
else
{
sub_10067889C(v4, "The CSeq of this request %ld did not match the response %ld", *(_QWORD *)(v5 + 136), v7);
return 85;
}
}
return v6;
}