//
// png_create_info_struct from 0x64d44c to 0x64d46e (34 bytes)
//
// 4 xrefs:
// > cocos2d::CCImage::_initWithPngData @ 0x5e1afe
// > cocos2d::CCImage::_saveImageToPNG @ 0x5e207a
// > sub_657580 @ 0x6575c2
// > png_image_write_to_stdio @ 0x663342
//
// 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
//
void *__fastcall png_create_info_struct(void *result)
{
void *v1; // r4
if ( result )
{
result = (void *)png_malloc_base((int)result, 0x10Cu);
v1 = result;
if ( result )
{
memset(result, 0, 0x10Cu);
return v1;
}
}
return result;
}