Pathfinder Wrath of the Righteous - Cheat Learn Spells
Cheat with Cheat Engine
If like my work, you can support me on Patreon : / easygamecheatengine
script :
[ENABLE]
//active when tick [Show all spells] in Spellbook
aobscanregion(INJECTlearnSpell,Kingmaker.UI.Common.UIUtilityUnit:GetAllPossibleSpellsForLevel,Kingmaker.UI.Common.UIUtilityUnit:GetAllPossibleSpellsForLevel+400,49 8B C7 48 8B 75 E0)
alloc(newmem,$1000,INJECTlearnSpell)
label(code)
label(codeR)
label(return)
label(vtemp)
newmem:
mov [vtemp],edi
mov dword ptr[vtemp+4],0
mov qword ptr[vtemp+8],rsi
mov qword ptr[vtemp+10],r15
codeR:
movsxd rcx,dword ptr[vtemp+4]
mov rax,[vtemp+10]
mov rax,[rax+10]
lea rax,[rax+rcx*8+20]
mov r8,[rax]
mov rcx,[vtemp+8]
movsxd rdx,dword ptr[vtemp]
mov r9,1
mov r11,Kingmaker.UnitLogic.Spellbook:AddKnown
call r11
movsxd rcx,dword ptr[vtemp+4]
inc ecx
mov [vtemp+4],ecx
mov rax,[vtemp+10]
mov eax,[rax+18]
cmp ecx,eax
jne codeR
mov r15,[vtemp+10]
code:
mov rax,r15
mov rsi,[rbp-20]
jmp return
vtemp:
INJECTlearnSpell:
jmp newmem
nop 2
return:
registersymbol(INJECTlearnSpell)
[DISABLE]
INJECTlearnSpell:
db 49 8B C7 48 8B 75 E0
unregistersymbol(INJECTlearnSpell)
dealloc(newmem)
cheat list : • Pathfinder Wrath of the Righteous