//
// sub_84AC80 from 0x84ac80 to 0x84acd6 (86 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:02:27 +0000
//
int __fastcall sub_84AC80(size_t *a1, int a2, int a3)
{
size_t v4; // r4
int v5; // r5
int result; // r0
int v7; // r6
int v8; // r2
int v9; // r3
v4 = *a1;
v5 = *(_DWORD *)(*a1 + 332);
if ( *(_DWORD *)(*a1 + 1224) == 11 )
a3 = 1;
result = sub_824308(a1, a2, a3);
v7 = result;
if ( v5 )
{
v8 = *(_DWORD *)(v5 + 96);
v9 = *(_DWORD *)(v5 + 100);
if ( *(_DWORD *)(v4 + 1224) == 11 )
{
if ( a1[274] == -1 )
{
sub_8280FC(v4, "Got an RTP Receive with a CSeq of %ld\n", *(_DWORD *)(v5 + 100));
return v7;
}
}
else if ( v8 != v9 )
{
sub_828178(v4, "The CSeq of this request %ld did not match the response %ld", v8, v9);
return 85;
}
}
return result;
}