//
// png_malloc_default from 0x8621e0 to 0x8621fc (28 bytes)
//
// 0 xrefs:
//
// 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:02:44 +0000
//
void *__fastcall png_malloc_default(void *result, size_t a2)
{
int v2; // r4
if ( result )
{
v2 = (int)result;
result = png_malloc_base(0, a2);
if ( !result )
png_error(v2, "Out of Memory");
}
return result;
}