//
// pqueue_size from 0xd5e9a4 to 0xd5e9c8 (36 bytes)
//
// 2 xrefs:
// > dtls1_buffer_record @ 0xd30568
// > ??> @ 0x3feb8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall pqueue_size(__int64 *a1)
{
__int64 v1; // x1
__int64 result; // x0
v1 = *a1;
if ( !*a1 )
return 0;
LODWORD(result) = 0;
do
{
v1 = *(_QWORD *)(v1 + 16);
result = (unsigned int)(result + 1);
}
while ( v1 );
return result;
}