I would like to convert an instruction like:
lea ecx, [esp+150h+var_13E+2]
lea ecx, [esp+14h]
I know it's possible to do this with the key
K. But I'm writing an IDAPython plugin that needs an automatic conversion of instructions like the one above.
Edit: Are there any idaapi functions to do this?