// // deflateEnd from 0x73a878 to 0x73a91c (164 bytes) // // 12 xrefs: // > cocos2d::ZipUtils::ccDeflateMemory @ 0x5f007e // > cocos2d::ZipUtils::ccDeflateMemory @ 0x5f0098 // > lws_extension_callback_pm_deflate @ 0x64ca40 // > lws_extension_callback_pm_deflate @ 0x64cd32 // > png_destroy_write_struct @ 0x662764 // > sub_663BEC @ 0x663cc4 // > deflateInit2_ @ 0x73aafa // > deflateCopy @ 0x73ac78 // > compress2 @ 0x7404c8 // > compress2 @ 0x7404e0 // > gzclose_w @ 0x742208 // > j_deflateEnd @ 0x8e41a8 // // 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 deflateEnd(int a1) { _DWORD *v1; // r3 int v2; // r5 _BOOL4 v3; // r2 bool v6; // zf if ( !a1 ) return -2; v1 = *(_DWORD **)(a1 + 28); if ( !v1 ) return -2; v2 = v1[1]; v3 = v2 != 42 && ((v2 - 69) & 0xFFFFFFFB) != 0; if ( v3 && v2 != 91 ) { v6 = v2 == 103; if ( v2 != 103 ) v6 = v2 == 113; LOBYTE(v3) = !v6; if ( v2 == 666 ) v3 = 0; if ( v3 ) return -2; } if ( v1[2] ) { (*(void (__fastcall **)(_DWORD))(a1 + 36))(*(_DWORD *)(a1 + 40)); v1 = *(_DWORD **)(a1 + 28); } if ( v1[17] ) { (*(void (__fastcall **)(_DWORD))(a1 + 36))(*(_DWORD *)(a1 + 40)); v1 = *(_DWORD **)(a1 + 28); } if ( v1[16] ) { (*(void (__fastcall **)(_DWORD))(a1 + 36))(*(_DWORD *)(a1 + 40)); v1 = *(_DWORD **)(a1 + 28); } if ( v1[14] ) { (*(void (__fastcall **)(_DWORD))(a1 + 36))(*(_DWORD *)(a1 + 40)); v1 = *(_DWORD **)(a1 + 28); } (*(void (__fastcall **)(_DWORD, _DWORD *))(a1 + 36))(*(_DWORD *)(a1 + 40), v1); *(_DWORD *)(a1 + 28) = 0; if ( v2 == 113 ) return -3; else return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source