Il2CppDumper icon indicating copy to clipboard operation
Il2CppDumper copied to clipboard

IDA python script syntax errors

Open Raylands opened this issue 1 year ago • 2 comments

  • Il2CppDumper version: 6.7.40

  • Describe the issue When importing with ida_with_struct_py3.py into IDA 7.5 or IDA 7.7 these syntax errors get thrown:

Syntax error near: return
Syntax error near: }
Syntax error near: ReturnOptions_Fields
Syntax error near: }
Syntax error near: return
Syntax error near: }
Syntax error near: ReturnWwiseObjects_Fields
Syntax error near: }
Syntax error near: return
Syntax error near: }
Syntax error near: ReturnWwiseObjects_T__Fields
Syntax error near: }
apply_type failed: 0x181576c00 uint64_t UnityEngine_InputSystem_Utilities_PrimitiveValue__ToUInt64 (UnityEngine_InputSystem_Utilities_PrimitiveValue_o __this, System_IFormatProvider_o* provider, const MethodInfo* method);
Syntax error near: ReturnOptions_o
Syntax error near: ReturnWwiseObjects_o
Syntax error near: ReturnWwiseObjects_T__o
Script finished!
  • Upload executable file and global-metadata.dat Files

Raylands avatar Aug 20 '23 09:08 Raylands

You found a solution?

Spiritcow avatar Nov 15 '23 15:11 Spiritcow

The issue for me is that a few lines before the error message, IDA didn't like float _near and float _far, so I renamed _far and _near to something else in the il2cpp.h file, and then it worked for me.

MishaProductions avatar Jun 21 '24 12:06 MishaProductions