//
// BUF_MEM_new_ex from 0x7d8b74 to 0x7d8b8c (24 bytes)
//
// 3 xrefs:
// > sub_7D2FC0 @ 0x7d2fec
// > sub_7D34D4 @ 0x7d3500
// > ??> @ 0x5f99c
//
// 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 BUF_MEM_new_ex(int a1)
{
int result; // r0
result = BUF_MEM_new();
if ( result )
*(_DWORD *)(result + 12) = a1;
return result;
}