IDA
just uses fastcall
for any calling convention involving registers. In the case of ARM, fastcall basically means "default calling convention".
Adding #define __fastcall
to the source should let you compile it. However, there is an additional issue for this function:
Note that QVariant::toULongLong()
is a C++ method, so the first argument shown by the decompiler is actually the hidden this
pointer which is passed to all non-static methods of C++ classes. Since the decompiler does not support C++ it converts it to an explicit argument. You may need to undo this operation to make it valid C++ code.
Or you could just use the actual source code.