//
// png_create_info_struct from 0x85d4cc to 0x85d4ee (34 bytes)
//
// 4 xrefs:
// > cocos2d::CCImage::_initWithPngData @ 0x7eb91e
// > cocos2d::CCImage::_saveImageToPNG @ 0x7ebe0a
// > sub_867600 @ 0x867642
// > png_image_write_to_stdio @ 0x8733c2
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:02:41 +0000
//
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;
}