// // deflateReset from 0x948f6c to 0x948fe4 (120 bytes) // // 5 xrefs: // > sub_873C6C @ 0x873e24 // > deflateInit2_ @ 0x94a67a // > sub_9510E4 @ 0x9511b4 // > gzclose_w @ 0x951c8c // > j_deflateReset @ 0xaf802c // // 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:05:13 +0000 // 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_C76030 + 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