//
// pqueue_size from 0x7b7c0c to 0x7b7c38 (44 bytes)
//
// 2 xrefs:
// > dtls1_buffer_record @ 0x786c74
// > ??> @ 0x5a53c
//
// 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
//
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;
}