// // gzclose_r from 0x7413ec to 0x741450 (100 bytes) // // 1 xrefs: // > gzclose @ 0x740598 // // 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 gzclose_r(int a1) { int v2; // r5 int v3; // r6 if ( !a1 || *(_DWORD *)(a1 + 12) != 7247 ) return -2; if ( *(_DWORD *)(a1 + 24) ) { inflateEnd((_DWORD *)(a1 + 84)); free(*(void **)(a1 + 36)); free(*(void **)(a1 + 32)); } if ( *(_DWORD *)(a1 + 76) == -5 ) v2 = -5; else v2 = 0; sub_740B68((_DWORD *)a1, 0, nullptr); free(*(void **)(a1 + 20)); v3 = close(*(_DWORD *)(a1 + 16)); free((void *)a1); if ( v3 ) return -1; else return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source