This tracker is in read-only mode.
Please report all Sanny Builder issues on GitHub.


View Revisions: Issue #16 Back to Issue ]
Summary 0000016: Decompiler incorrectly shows a code offset for GTA LCS and VCS opcodes
Revision 2013-08-22 14:17 by Seemann
Description When the debug option CODE_OFFSETS is enabled, the decompiler prints a code offset for each script instruction. Meanwhile, in GTA LCS and GTA VCS a SCM file starts with two DWORD values which is ignored by the decompiler, so the actual code starts from offset +8. The decompiler does not take it into account, so the offset has to be increased by 8 to point on actual address of the instruction in the file.
Revision 2013-08-22 14:19 by Seemann
Description When the debug option CODE_OFFSETS is enabled, the decompiler prints a code offset for each script instruction. Meanwhile, in GTA LCS and GTA VCS a SCM file starts with two DWORD values which is ignored by the decompiler, so the actual code starts from offset +8. The decompiler does not take it into account, so the offset has to be increased by 8 to point on the actual address of the instruction in the file.


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker