//
// sub_980DE4 from 0x980de4 to 0x980dfc (24 bytes)
//
// 2 xrefs:
// > __cxa_allocate_exception @ 0x97fa0a
// > __cxa_allocate_dependent_exception @ 0x97fa3e
//
// 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:06:07 +0000
//
void *__fastcall sub_980DE4(size_t a1)
{
void *result; // r0
result = malloc(a1);
if ( !result )
return (void *)sub_980DFC(a1);
return result;
}