How to decompile clickteam executable to source mfa file?

Keywords: python c++ c cython


I had a problem when I tried to decompile a program made by clickteam fusion devrloper 2.5. I use: Python 2.7.9, Microsoft visual c++ compiler for python, Anaconda 3.

When I try to decompile program I get this error:

File "mmfparser\bytereader.pyx", line 195, in (./mmfparser/bytereader.cpp:3093) OverflowError: Python int too large to convert to C long

Lines from 3092 to 3096 in bytereader.cpp:

if (values[0]) { pyx_v_size = __Pyx_PyInt_As_int(values[0]); if (unlikely((__pyx_v_size == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 195; __pyx_clineno = __LINE; goto __pyx_L3_error;} } else { __pyx_v_size = ((int)-1); }

In bytereader.pyx lines from 195 to 197: cpdef read(self, int size = -1): cdef char * buf cdef size_t read_bytes

I need to read 5110571 bytes.