// // png_get_iCCP from 0x861bac to 0x861c14 (104 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 12:02:43 +0000 // 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