//
// pitem_new from 0x9cc65c to 0x9cc6a4 (72 bytes)
//
// 5 xrefs:
// > dtls1_buffer_record @ 0x99b8b4
// > sub_9B955C @ 0x9b97e4
// > dtls1_buffer_message @ 0x9ba034
// > dtls_get_message @ 0x9bac6c
// > ??> @ 0x73fcc
//
// 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
//
_DWORD *__fastcall pitem_new(const void *a1, int a2)
{
_DWORD *v4; // r0
_DWORD *v5; // r4
v4 = (_DWORD *)CRYPTO_malloc(16, "ssl/pqueue.c", 20);
v5 = v4;
if ( v4 )
{
memcpy(v4, a1, 8u);
v5[2] = a2;
v5[3] = 0;
}
return v5;
}