// // png_get_IHDR from 0x651be4 to 0x651c64 (128 bytes) // // 0 xrefs: // // 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 // int __fastcall png_get_IHDR( int a1, int a2, _DWORD *a3, _DWORD *a4, _DWORD *a5, _DWORD *a6, _DWORD *a7, _DWORD *a8, _DWORD *a9) { bool v9; // zf bool v10; // zf _BOOL4 v11; // r5 bool v12; // zf v9 = a2 == 0; if ( a2 ) v9 = a1 == 0; if ( v9 ) return 0; v10 = a4 == nullptr; if ( a4 ) v10 = a3 == nullptr; v11 = v10; if ( v10 ) return 0; v12 = a6 == nullptr; if ( a6 ) v12 = a5 == nullptr; if ( v12 ) return v11; *a3 = *(_DWORD *)a2; *a4 = *(_DWORD *)(a2 + 4); *a5 = *(unsigned __int8 *)(a2 + 24); *a6 = *(unsigned __int8 *)(a2 + 25); if ( a8 ) *a8 = *(unsigned __int8 *)(a2 + 26); if ( a9 ) *a9 = *(unsigned __int8 *)(a2 + 27); if ( a7 ) *a7 = *(unsigned __int8 *)(a2 + 28); png_check_IHDR( a1, *(_DWORD *)a2, *(_DWORD *)(a2 + 4), *(unsigned __int8 *)(a2 + 24), *(unsigned __int8 *)(a2 + 25), *(unsigned __int8 *)(a2 + 28), *(unsigned __int8 *)(a2 + 26), *(unsigned __int8 *)(a2 + 27)); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source