// // png_set_write_fn from 0x87129c to 0x8712e2 (70 bytes) // // 2 xrefs: // > cocos2d::CCImage::_saveImageToPNG @ 0x7ebe48 // > png_create_write_struct_2 @ 0x871f14 // // 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:58 +0000 // _DWORD *__fastcall png_set_write_fn( _DWORD *result, int a2, size_t (__fastcall *a3)(size_t result, void *ptr, size_t a3), int (__fastcall *a4)(int result)) { int v4; // r2 if ( result ) { result[72] = a2; if ( !a3 ) a3 = png_default_write_data; result[70] = a3; if ( !a4 ) a4 = png_default_flush; v4 = result[71]; result[143] = a4; if ( v4 ) { result[71] = 0; return (_DWORD *)png_warning((int)result, "Can't set both read_data_fn and write_data_fn in the same structure"); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source