So, the issue I'm having is the addresses for the arrows change constantly, and no pointers exist. I've tried generating a pointer map, no results, and finding out what other addresses share the instruction I learned it's a shared instruction. I have found commonalities between all the addresses, but issue now is when I inject code to change the arrow count to the max it changes to 0 arrows left, when I craft more arrows, it also sets all my resources to 0.
Instruction:
ACOdyssey.AK::MusicEngine::Term+3584:
7FF6EFB87F8D - 41 0F46 C4 - cmovbe eax,r12d
7FF6EFB87F91 - 44 2B C0 - sub r8d,eax
7FF6EFB87F94 - 44 89 03 - mov [rbx],r8d <<
7FF6EFB87F97 - 75 0B - jne ACOdyssey.AK::MusicEngine::Term+3594
7FF6EFB87F99 - 8B D7 - mov edx,edi
RAX=0000000000000001
RBX=000002B861454DF0
RCX=000002B872B79BF8
RDX=000002B59A40DA88
RSI=000002B84570A9C8
RDI=0000000000000136
RSP=000000DF752FEF00
RBP=000002B8614550D0
RIP=00007FF6EFB87F97
R8=0000000000000040
R9=0000000000000000
R10=0000000000000000
R11=00000000FFFFFFFF
R12=0000000000000001
R13=000002B8717F0980
R14=000002B872B79BB8
R15=000002B5A5FB0594
r8d is the new arrow count, being set to the address rbx, when I change the register of r8d to 70 it gets set to 0. I've also tried seeing what addresses access the instruction: sub r8d,eax when I fire an arrow nothing shows? I'm quite confused on what to do here anyone have any ideas?
Edit: Don't think I'll ever be able to accomplish infinite arrows unless I find the function that gives the player items...