// // sub_86C25C from 0x86c25c to 0x86c310 (180 bytes) // // 2 xrefs: // > png_handle_iCCP @ 0x86d230 // > png_read_start_row @ 0x86f5f4 // // 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:55 +0000 // int __fastcall sub_86C25C(int a1, int a2) { int v3; // r5 int v5; // r0 int v6; // r2 int v7; // r1 bool v8; // zf int v9; // r0 int v10; // r5 char v12[68]; // [sp+0h] [bp-44h] BYREF v3 = *(_DWORD *)(a1 + 320); if ( v3 ) { v12[3] = *(_DWORD *)(a1 + 320); v12[0] = HIBYTE(v3); v12[1] = BYTE2(v3); v12[2] = BYTE1(v3); png_safecat((int)v12, 0x40u, 4u, " using zstream"); png_chunk_warning(a1, v12); *(_DWORD *)(a1 + 320) = 0; } v5 = *(_DWORD *)(a1 + 312); v6 = (*(unsigned __int8 *)(a1 + 744) >> 2) & 3; *(_DWORD *)(a1 + 324) = 0; *(_DWORD *)(a1 + 328) = 0; *(_DWORD *)(a1 + 336) = 0; if ( v6 == 3 ) v7 = 15; else v7 = 0; v8 = (v5 & 2) == 0; *(_DWORD *)(a1 + 340) = 0; v9 = a1 + 324; if ( v8 ) { v10 = inflateInit2_(v9, v7, "1.2.8", 56); if ( !v10 ) { *(_DWORD *)(a1 + 312) |= 2u; goto LABEL_8; } } else { v10 = inflateReset2(v9, v7); if ( !v10 ) { LABEL_8: *(_DWORD *)(a1 + 320) = a2; return 0; } } png_zstream_error(a1, v10); return v10; }
GD Web Decomp Icon

GD Web Decomp

Raw Source