// // gzclose_r from 0xcc9bd0 to 0xcc9c84 (180 bytes) // // 2 xrefs: // > gzclose @ 0xcc8558 // > @ 0x926d0 // // 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 gzclose_r(__int64 a1) { unsigned int v2; // w20 int v3; // w21 if ( !a1 || *(_DWORD *)(a1 + 24) != 7247 ) return 4294967294LL; if ( *(_DWORD *)(a1 + 40) ) { inflateEnd((_QWORD *)(a1 + 120)); free(*(void **)(a1 + 56)); free(*(void **)(a1 + 48)); } if ( *(_DWORD *)(a1 + 108) == -5 ) v2 = -5; else v2 = 0; sub_CC8D90(a1, 0, nullptr); free(*(void **)(a1 + 32)); v3 = close(*(_DWORD *)(a1 + 28)); free((void *)a1); if ( v3 ) return 0xFFFFFFFFLL; else return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source