//
// png_zalloc from 0xbc5160 to 0xbc51a4 (68 bytes)
//
// 3 xrefs:
// > ??> @ 0x36258
// > png_create_png_struct @ 0xbc59d0
// > ??> @ 0x1229a68
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__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;
}