// // png_image_begin_read_from_memory from 0xbd62c8 to 0xbd6390 (200 bytes) // // 1 xrefs: // > @ 0x4ae68 // // 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 // __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_BD5DF0(a1) ) return 0; v8 = *a1; v9 = **a1; v8[3] = a2; v8[4] = a3; *(_QWORD *)(v9 + 320) = a1; *(_QWORD *)(v9 + 312) = sub_BD0318; return png_safe_execute((__int64)a1, sub_BD3718, (__int64)a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source