The offsets change per language, it's quite weird, I did not see any pattern to the changes.
As well, JPN language had a +0xF8 shift to Health + Weapons + Items, while all the other ones were the same.
I ended up using +0x6 from ptr to filter out the language, and shift all the offsets accordingly per language - and for jpn I had to set a flag to add +F8 to final offsets for health/weapons/items - (this is for the switch) but i looked on the PC and looks similar
# SPANISH
'MOVK X1, #0x0000',
'CMP W3, W1',
'B.NE %d'%(4*4),
'STR X9, [X20, #0x10]',
'MOVK X1, %d'%(0xCBC4-0x60), # o2 - 60 (crawl)
'B {end}-%d'%(4*5),
# ENGLISH (US)
'MOVK X1, #0x2442',
'CMP W3, W1',
'B.NE %d'%(4*4),
'STR X9, [X20, #0x10]',
'MOVK X1, %d'%(0xE1AC-0x60), # o2 - 60 (crawl)
'B {end}-%d'%(4*5),
# JAPANESE
'MOVK X1, #0x0106',
'CMP W3, W1',
'B.NE {end}-12',
'STR WZR, [X20, #0x10]',
'MOVK X1, %d'%(0xC324-0x60), # o2 - 60 (crawl)
'B {end}-%d'%(4*5),
That explains it why it doesn't works for some,thanks I'll update the trainer.
Thanks again for all the work you do. -DEViL- is it possible to be a trainer also for the Italian version? Thanks in advance
Trainer for now is compatible with EN US version, I’ll do my best to cover the EU version but no promises neither ETA.
In any case, thanks for your work