@
Esppiral I tested shenmue today
2C221838 is written at every area load by
H'8c13e74e: H'f34a fmov.s FR4, @R3 (put content of float register fr4 to 8c221838)
and fr4 is set here
H'8c140348: H'f49d fldi1 FR4 (put 3f800000 in fr4)
and the value is used here
H'8c13e8b8: H'f432 fmul FR3, FR4 (fr3 contains the value from 8c221838)
now i modified the instruction where fr4 is set thinking that maybe that code region is used for npc's too, but sadly it is still affecting just Ryo (at least that is my impression), and only his moving speed.(idle anim is still double, or when he put on his shoes etc)
On another note, one thing that i noticed which will help others if they use demul with cheatengine, is that demul stores the fr registers differently then the normal r registers
As i stated in another post the r registers starts from demul.exe+875E2C0 and are stored sequentially like r0,r1...r15
and the float registers fr starts from demul.exe+875E320 but are not stores sequentially like fr0,fr1..fr15 instead they are stored like so:
fr1,fr0,fr3,fr2...fr15,fr14. Weird but that's how it is.