Quote:
Originally Posted by JSWolf
- No patches are known to not apply. But I['ve not applied all of them to test.
If any patches do not work, please post about them.
|
Attempted to set "Both page turn buttons go next" on KL2 but patching exits with error:
Code:
| Patch("Both page turn buttons go next") enabled=true
| ResetBaseAddress()
| applying
| looping over instructions
| kobopatch.ReplaceBytes index=3 line=820
| ReplaceBytes(kobopatch.ReplaceBytes{Base:(*kobopatch.FlexAbsOffset)(0x1c21e60), Offset:82, Find:[]uint8(nil), Replace:[]uint8(nil), FindH:(*string)(nil), ReplaceH:(*string)(nil), FindInstBLX:(*kobopatch.FlexAbsOffset)(nil), ReplaceInstBLX:(*kobopatch.FlexAbsOffset)(nil), FindInstBW:(*kobopatch.FlexAbsOffset)(0x1c21e78), ReplaceInstBW:(*kobopatch.FlexAbsOffset)(0x1c21ea8), ReplaceInstNOP:(*bool)(nil), FindBLX:(*uint32)(nil), CheckOnly:(*bool)(nil)})
| Base.Resolve(kobopatch.FlexAbsOffset{Offset:(*int32)(nil), Sym:(*string)(0x1c9c950), SymPLT:(*string)(nil), SymPLTTail:(*string)(nil), Inline:true, Rel:(*int32)(nil)})
| -> Offset: 0xF66A00
| BaseAddress(0xF66A00) [temp]
| FindInstBW.Expand(kobopatch.FlexAbsOffset{Offset:(*int32)(nil), Sym:(*string)(nil), SymPLT:(*string)(nil), SymPLTTail:(*string)(0x1c9c9a8), Inline:false, Rel:(*int32)(nil)})
| FindInstBW.Resolve(kobopatch.FlexAbsOffset{Offset:(*int32)(nil), Sym:(*string)(nil), SymPLT:(*string)(nil), SymPLTTail:(*string)(0x1c9c9a8), Inline:false, Rel:(*int32)(nil)})
| -> Error: ReplaceBytes: expand FindInstB=kobopatch.FlexAbsOffset{Offset:(*int32)(nil), Sym:(*string)(nil), SymPLT:(*string)(nil), SymPLTTail:(*string)(0x1c9c9a8), Inline:false, Rel:(*int32)(nil)}: ResolveSymPLTTail("ReadingView::prevPageWithTimer()") = &patchlib.dynsym{Name:"_ZN11ReadingView17prevPageWithTimerEv", Offset:0xf66940, Index:0x7112, Type:elf.STT_FUNC, OffsetGOT:0x16ae2b4, OffsetPLT:0x681100, OffsetPLTTail:0x0, Demangled:"ReadingView::prevPageWithTimer()"}: no tail stub before PLT entry
| BaseAddress(0x0) [restore]
| could not apply patch "Both page turn buttons go next": line 820: inst 3: ReplaceBytes: expand FindInstB=kobopatch.FlexAbsOffset{Offset:(*int32)(nil), Sym:(*string)(nil), SymPLT:(*string)(nil), SymPLTTail:(*string)(0x1c9c9a8), Inline:false, Rel:(*int32)(nil)}: ResolveSymPLTTail("ReadingView::prevPageWithTimer()") = &patchlib.dynsym{Name:"_ZN11ReadingView17prevPageWithTimerEv", Offset:0xf66940, Index:0x7112, Type:elf.STT_FUNC, OffsetGOT:0x16ae2b4, OffsetPLT:0x681100, OffsetPLTTail:0x0, Demangled:"ReadingView::prevPageWithTimer()"}: no tail stub before PLT entry
--> could not apply patch "Both page turn buttons go next": line 820: inst 3: ReplaceBytes: expand FindInstB=kobopatch.FlexAbsOffset{Offset:(*int32)(nil), Sym:(*string)(nil), SymPLT:(*string)(nil), SymPLTTail:(*string)(0x1c9c9a8), Inline:false, Rel:(*int32)(nil)}: ResolveSymPLTTail("ReadingView::prevPageWithTimer()") = &patchlib.dynsym{Name:"_ZN11ReadingView17prevPageWithTimerEv", Offset:0xf66940, Index:0x7112, Type:elf.STT_FUNC, OffsetGOT:0x16ae2b4, OffsetPLT:0x681100, OffsetPLTTail:0x0, Demangled:"ReadingView::prevPageWithTimer()"}: no tail stub before PLT entry