Washi1337 / OldRod

An automated KoiVM disassembler and devirtualisation utility
GNU General Public License v3.0
345 stars 80 forks source link

Recompiler uses ldsfld for instance fields #35

Closed ElektroKill closed 3 years ago

ElektroKill commented 3 years ago

Describe the bug The recompiler uses the ldsfld opcode which is meant for static fields to load instance fields. The proper ldfld should be used.

To Reproduce My KeyGenMe (Washi you have the link I am pretty sure)

Expected behavior The ldfld opcode is used for instance fields while the ldsfld opcode is used for static fields

Washi1337 commented 3 years ago

Implemented in 4416a591e533a0ef4566d3b907dbce99b2834b05