// // png_set_read_fn from 0xe4c760 to 0xe4c7b8 (88 bytes) // // 4 xrefs: // > cocos2d::CCImage::_initWithPngData @ 0xd7cf28 // > png_set_progressive_read_fn @ 0xe464bc // > png_create_read_struct_2 @ 0xe494c4 // > @ 0x5ea80 // // 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:08 +0000 // __int64 __fastcall png_set_read_fn( __int64 result, __int64 a2, size_t (__fastcall *a3)(size_t result, void *ptr, size_t a3)) { _QWORD *v3; // x19 if ( result ) { *(_QWORD *)(result + 320) = a2; if ( !a3 ) a3 = png_default_read_data; v3 = (_QWORD *)result; result = *(_QWORD *)(result + 304); v3[39] = a3; if ( result ) { v3[38] = 0; result = png_warning((__int64)v3, "Can't set both read_data_fn and write_data_fn in the same structure"); } v3[91] = 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source