// // deflateReset from 0x7393ac to 0x739424 (120 bytes) // // 5 xrefs: // > sub_663BEC @ 0x663da4 // > deflateInit2_ @ 0x73aaba // > sub_741524 @ 0x7415f4 // > gzclose_w @ 0x7420cc // > j_deflateReset @ 0x8e4178 // // 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 deflateReset(_DWORD *a1) { int v2; // r5 int v3; // r4 int v4; // r0 int v5; // r3 int v6; // r3 unsigned __int16 *v7; // r1 int v8; // lr int v9; // r7 int v10; // r2 int v11; // r3 v2 = deflateResetKeep(a1); if ( !v2 ) { v3 = a1[7]; v4 = *(_DWORD *)(v3 + 68); v5 = *(_DWORD *)(v3 + 76) + 0x7FFFFFFF; *(_DWORD *)(v3 + 60) = 2 * *(_DWORD *)(v3 + 44); *(_WORD *)(v4 + 2 * v5) = 0; memset(*(void **)(v3 + 68), 0, 2 * (*(_DWORD *)(v3 + 76) + 0x7FFFFFFF)); v6 = *(_DWORD *)(v3 + 132); *(_DWORD *)(v3 + 108) = 0; *(_DWORD *)(v3 + 92) = 0; *(_DWORD *)(v3 + 116) = 0; v7 = (unsigned __int16 *)((char *)&unk_A2DBA8 + 12 * v6); *(_DWORD *)(v3 + 104) = 0; v8 = *v7; v9 = v7[1]; v10 = v7[2]; v11 = v7[3]; *(_DWORD *)(v3 + 72) = 0; *(_DWORD *)(v3 + 140) = v8; *(_DWORD *)(v3 + 128) = v9; *(_DWORD *)(v3 + 144) = v10; *(_DWORD *)(v3 + 124) = v11; *(_DWORD *)(v3 + 5812) = 0; *(_DWORD *)(v3 + 120) = 2; *(_DWORD *)(v3 + 96) = 2; } return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source