// // png_image_begin_read_from_memory from 0xe4c488 to 0xe4c550 (200 bytes) // // 1 xrefs: // > @ 0x695f8 // // 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_image_begin_read_from_memory(__int64 **a1, __int64 a2, __int64 a3) { const char *v3; // x1 __int64 *v8; // x3 __int64 v9; // x4 if ( !a1 ) return 0; if ( *((_DWORD *)a1 + 2) != 1 ) { v3 = "png_image_begin_read_from_memory: incorrect PNG_IMAGE_VERSION"; return png_image_error((__int64)a1, (__int64)v3); } if ( !a2 || !a3 ) { v3 = "png_image_begin_read_from_memory: invalid argument"; return png_image_error((__int64)a1, (__int64)v3); } if ( !(unsigned int)sub_E4BFB0(a1) ) return 0; v8 = *a1; v9 = **a1; v8[3] = a2; v8[4] = a3; *(_QWORD *)(v9 + 320) = a1; *(_QWORD *)(v9 + 312) = sub_E464D8; return png_safe_execute((__int64)a1, sub_E498D8, (__int64)a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source