// // png_create_info_struct from 0xbc5a2c to 0xbc5a78 (76 bytes) // // 5 xrefs: // > cocos2d::CCImage::_initWithPngData @ 0xb0bf1c // > cocos2d::CCImage::_saveImageToPNG @ 0xb0c90c // > sub_BD5DF0 @ 0xbd5e6c // > png_image_write_to_stdio @ 0xbe90b0 // > @ 0x2f1d8 // // 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(__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; }
GD Web Decomp Icon

GD Web Decomp

Raw Source