Guys I will try to be precise.
I would like to increase the amount of ammunition that we can have in the inventory.
I found the locations of the slots by incrementing and decrementing the ammunition that was in my inventory.
I realized that each type of item had its own quantity that should not be exceeded.
for example the ammunition stacks are at 50. if I increase the value of the ammunition quantities address to 51, it is reset to 0
I deduce that there is a check of the value with each modification.
You should also know that if an ammunition stock is at 50, a new amount of ammunition value is increased in my table (my inventory).
Ammunition is sorted by group I presume?
I would like to know how to increase the quantity of each type of car if I slow down the quantity of value of my items it will certainly work but I will not have real value.
jmp REResistance.exe+2887F60
mov rax,[rdi]
mov rdx,rdi
mov rcx,[rax-10]
mov rax,[rcx+08]
mov rcx,rbx
call rax
mov rcx,[rbx+50]
cmp qword ptr [rcx+18],00
jne REResistance.exe+16215FB
// ---------- INJECTING HERE ----------
xor eax,[rsi]
inc eax <- incrementing the value of each type of item
mov [rdi+20],eax
// ---------- DONE INJECTING ----------
mov rsi,[rsp+50]
mov rdi,[rsp+20]
add rsp,28
pop rbp
pop rbx
ret
int 3
int 3
int 3
int 3
if we find the maximum quantity for each item. it might work online
If someone can help
I'll take it