// // deflateEnd from 0x94a438 to 0x94a4dc (164 bytes) // // 12 xrefs: // > cocos2d::ZipUtils::ccDeflateMemory @ 0x7faa3a // > cocos2d::ZipUtils::ccDeflateMemory @ 0x7faa54 // > lws_extension_callback_pm_deflate @ 0x85cac0 // > lws_extension_callback_pm_deflate @ 0x85cdb2 // > png_destroy_write_struct @ 0x8727e4 // > sub_873C6C @ 0x873d44 // > deflateInit2_ @ 0x94a6ba // > deflateCopy @ 0x94a838 // > compress2 @ 0x950088 // > compress2 @ 0x9500a0 // > gzclose_w @ 0x951dc8 // > j_deflateEnd @ 0xaf805c // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:05:15 +0000 // 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