// // deflateResetKeep from 0xcbddf4 to 0xcbdebc (200 bytes) // // 2 xrefs: // > deflateReset @ 0xcbdecc // > @ 0x9db18 // // 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 // __int64 __fastcall deflateResetKeep(__int64 a1) { __int64 v1; // x20 int v3; // w0 __int64 v4; // x1 unsigned __int64 v5; // x0 if ( a1 ) { v1 = *(_QWORD *)(a1 + 56); if ( v1 ) { if ( *(_QWORD *)(a1 + 64) && *(_QWORD *)(a1 + 72) ) { v3 = *(_DWORD *)(v1 + 44); *(_DWORD *)(a1 + 88) = 2; *(_QWORD *)(a1 + 40) = 0; *(_QWORD *)(a1 + 16) = 0; *(_QWORD *)(a1 + 48) = 0; v4 = *(_QWORD *)(v1 + 16); *(_DWORD *)(v1 + 40) = 0; *(_QWORD *)(v1 + 32) = v4; if ( v3 < 0 ) { v3 = -v3; *(_DWORD *)(v1 + 44) = v3; } else if ( !v3 ) { *(_DWORD *)(v1 + 8) = 113; goto LABEL_8; } *(_DWORD *)(v1 + 8) = 42; if ( v3 == 2 ) { v5 = crc32(0, nullptr, 0); goto LABEL_9; } LABEL_8: v5 = adler32(0, nullptr, 0); LABEL_9: *(_QWORD *)(a1 + 96) = v5; *(_DWORD *)(v1 + 64) = 0; sub_CC7488(v1); return 0; } } } return 4294967294LL; }
GD Web Decomp Icon

GD Web Decomp

Raw Source