//
// pitem_new from 0xd5e7b4 to 0xd5e7fc (72 bytes)
//
// 5 xrefs:
// > dtls1_buffer_record @ 0xd305b8
// > sub_D4C920 @ 0xd4cbc8
// > dtls1_buffer_message @ 0xd4d3ac
// > dtls_get_message @ 0xd4dfc0
// > ??> @ 0x73ff8
//
// 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
//
_QWORD *__fastcall pitem_new(_QWORD *a1, __int64 a2)
{
_QWORD *result; // x0
result = (_QWORD *)CRYPTO_malloc(24, "ssl/pqueue.c", 20);
if ( result )
{
*result = *a1;
result[1] = a2;
result[2] = 0;
}
return result;
}