Conversation
I think it's slt a1, a0, v1 ;a0 is type->allocated, v1 is shifted flags beqz a1, flags_larger_than_type move a0, va flags_larger_than_type: andi v1, a0, 0xffff sh v1, 0xe(v0) ;v0 is type Additionally, the "unknown_fn" returns a size used when copying.
Switch condition for set_fixed_type
Implemented miniLZO to decompress jak 2 and 3 files. TODO: Some files are still unable to be decompressed TODO: The decompressed files crash the disassembler.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes So Far
???. This is mostly to speed up resolving issues, solving the ones that effect multiple files first and foremost.Active Issues:
25support needs to be addedmtnext-vis: (00010060) Unknown SPECIAL opcode r0, r1, r0, 0x01, 0x20is a unique one8191tries to be resolved when the symbol table only contains <1000 elements. This fails, but with this being so consistent it is a very weird bug that needs to be tracked down.Questions / Confusion:
parentTypeSymwas determined when callingset_fixed_typeaka the third argument. At first I thought I saw a pattern, but now I'm not so sure. Take the following snippets fromInitHeapAndSymbolDifferences between Jak 1 and Jak 2 so Far
0x10000bytes largerJak 3 Support
HellFunversionnumber is not where its expected to be in jak 1/2Cleanup that I sloppily added: