//
// sub_F89F18 from 0xf89f18 to 0xf89f4c (52 bytes)
//
// 3 xrefs:
// > __cxa_allocate_exception @ 0xf88358
// > __cxa_allocate_dependent_exception @ 0xf883b8
// > __cxa_rethrow_primary_exception @ 0xf888a0
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:13:55 +0000
//
void *__fastcall sub_F89F18(size_t a1)
{
void *result; // x0
result = malloc(a1);
if ( !result )
return (void *)sub_F89F4C(a1);
return result;
}