// // deflatePrime from 0xcbdfd8 to 0xcbe08c (180 bytes) // // 1 xrefs: // > @ 0x9afb0 // // 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 deflatePrime(__int64 a1, int a2, int a3) { __int64 v5; // x20 int v6; // w3 __int16 v7; // w1 int v8; // w19 int v9; // w4 if ( !a1 ) return 4294967294LL; v5 = *(_QWORD *)(a1 + 56); if ( !v5 ) return 4294967294LL; if ( *(_QWORD *)(v5 + 5888) < (unsigned __int64)(*(_QWORD *)(v5 + 32) + 2LL) ) return 4294967291LL; do { v6 = *(_DWORD *)(v5 + 5924); v7 = *(_WORD *)(v5 + 5920); v8 = 16 - v6; if ( a2 <= 16 - v6 ) v8 = a2; *(_DWORD *)(v5 + 5924) = v6 + v8; v9 = ((1 << v8) - 1) & a3; a3 >>= v8; *(_WORD *)(v5 + 5920) = ((_WORD)v9 << v6) | v7; sub_CC769C(v5); a2 -= v8; } while ( a2 ); return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source