//
// png_zalloc from 0xe3b320 to 0xe3b364 (68 bytes)
//
// 3 xrefs:
// > ??> @ 0x4f4e0
// > png_create_png_struct @ 0xe3bb90
// > ??> @ 0x1541a90
//
// 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:00 +0000
//
__int64 __fastcall png_zalloc(__int64 a1, unsigned int a2, unsigned int a3)
{
if ( a1 )
{
if ( 0xFFFFFFFFFFFFFFFFLL / a3 > a2 )
return png_malloc_warn();
png_warning();
}
return 0;
}