// // png_get_iCCP from 0x651b2c to 0x651b94 (104 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_iCCP(int a1, _DWORD *a2, _DWORD *a3, _DWORD *a4, _DWORD *a5, _DWORD *a6) { bool v6; // zf int result; // r0 bool v8; // zf bool v9; // zf v6 = a1 == 0; if ( a1 ) v6 = a2 == nullptr; if ( v6 ) return 0; result = a2[2] & 0x1000; if ( result ) { v8 = a3 == nullptr; if ( a3 ) v8 = a4 == nullptr; if ( v8 ) { return 0; } else { v9 = a5 == nullptr; if ( a5 ) v9 = a6 == nullptr; if ( v9 ) { return 0; } else { *a3 = a2[29]; *a5 = a2[30]; *a6 = (*(unsigned __int8 *)(a2[30] + 1) << 16) + (*(unsigned __int8 *)a2[30] << 24) + *(unsigned __int8 *)(a2[30] + 3) + (*(unsigned __int8 *)(a2[30] + 2) << 8); *a4 = 0; return 4096; } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source