//
// pqueue_size from 0x9cc810 to 0x9cc83c (44 bytes)
//
// 2 xrefs:
// > dtls1_buffer_record @ 0x99b878
// > ??> @ 0x73fbc
//
// 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:07:09 +0000
//
int __fastcall pqueue_size(int *a1)
{
int v1; // r3
int result; // r0
v1 = *a1;
if ( !*a1 )
return 0;
result = 0;
do
{
v1 = *(_DWORD *)(v1 + 12);
++result;
}
while ( v1 );
return result;
}