//
// png_malloc_default from 0xe44994 to 0xe449d8 (68 bytes)
//
// 1 xrefs:
// > ??> @ 0xe9bd8
//
// 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:10:04 +0000
//
void *__fastcall png_malloc_default(__int64 a1, size_t a2)
{
void *result; // x0
if ( !a1 )
return nullptr;
result = png_malloc_base(0, a2);
if ( !result )
png_error(a1, "Out of Memory");
return result;
}