11-15-2016, 10:10 PM
(02-15-2016, 11:58 AM)is0-mick Wrote: Just edit it in notepad++.
(file I was editing was /com/vtech/innotab/a/a.j)
Look for the existing .method public a()Z and replace all of that method with something like:
.method public a()Z
iconst_1
ireturn
.end method
The code above basically says.. Load 1, and return it (true).
I resigned the package afterwards.
Mick
I hope you are still around and looking at this but here I go. I finally got around to getting to this and it seems to actually be in /com/vtech/innotab/c/a.j that has the instruction set that you have outlined. I have it modified through jar2jasmin but that is where I am stuck. When I go to compile the file back to jar it throws up an error about the existing code.
line 16:4 mismatched character "" expecting '''
line 16:12 no viable alternative at input ':'
line 16:13 no viable alternative at character '/'
line 16:14 no viable alternative at character '/'
Followed by:
java.lang.nullPointerException
it shows a bunch of issues with the code at certain places. Have you run into this? Any clue where I can go from here to get the files recoded? Any help would be appreciated. I feel like I am so close.
Thanks.