//
// sub_980EF4 from 0x980ef4 to 0x980f24 (48 bytes)
//
// 1 xrefs:
// > __cxa_get_globals @ 0x97feb8
//
// 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_980EF4(size_t a1, size_t a2)
{
void *v4; // r4
int v5; // r5
unsigned __int16 *v6; // r0
v4 = calloc(a1, a2);
if ( !v4 )
{
v5 = a2 * a1;
v6 = sub_980DFC(v5);
v4 = v6;
if ( v6 )
memset(v6, 0, v5);
else
return nullptr;
}
return v4;
}