//
// png_create_info_struct from 0xe3bbec to 0xe3bc38 (76 bytes)
//
// 5 xrefs:
// > cocos2d::CCImage::_initWithPngData @ 0xd7cedc
// > cocos2d::CCImage::_saveImageToPNG @ 0xd7d88c
// > sub_E4BFB0 @ 0xe4c02c
// > png_image_write_to_stdio @ 0xe5f270
// > ??> @ 0x46948
//
// 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
//
void *__fastcall png_create_info_struct(__int64 a1)
{
void *v1; // x0
void *v2; // x19
if ( !a1 )
return nullptr;
v1 = (void *)png_malloc_base(a1, 0x158u);
v2 = v1;
if ( !v1 )
return nullptr;
memset(v1, 0, 0x158u);
return v2;
}