//
// BUF_MEM_new_ex from 0xd7f898 to 0xd7f8c0 (40 bytes)
//
// 3 xrefs:
// > sub_D78DE0 @ 0xd78e1c
// > sub_D79368 @ 0xd793a4
// > ??> @ 0x34c08
//
// 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 BUF_MEM_new_ex(__int64 a1)
{
__int64 result; // x0
result = BUF_MEM_new();
if ( result )
*(_QWORD *)(result + 24) = a1;
return result;
}