//
// sub_BBF864 from 0xbbf864 to 0xbbf88c (40 bytes)
//
// 6 xrefs:
// > sub_BBF88C @ 0xbbf89c
// > sub_BBF8A8 @ 0xbbf8c8
// > sub_BBF88C @ 0xbbf898
// > sub_BBF8A8 @ 0xbbf8b8
// > lws_set_allocator @ 0xbbf8f4
// > ??> @ 0x1231470
//
// 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
//
void *__fastcall sub_BBF864(void *a1, size_t a2)
{
if ( a2 )
return realloc(a1, a2);
if ( a1 )
free(a1);
return nullptr;
}