aldelaro5 / ghidra-gekko-broadway-lang

Ghidra language definition for the Gekko and Broadway CPU variant used in the Nintendo GameCube and Nintendo Wii respectively
Other
127 stars 16 forks source link

Strange array accesses in decompile #7

Open JillCrungus opened 4 years ago

JillCrungus commented 4 years ago

Hi,

I'm not sure if this is normal, my mistake, an issue with the lang def or an issue with Ghidra but I've been having some problems getting certain array accesses to look right in the decompiler.

image

In the original code these would look something like "animRules[iVar21].bulFlag", etc.

Some arrays work fine.

Am I doing something wrong with these arrays or is something wrong with Ghidra or the lang def? Maybe this is normal and I'm just an idiot?