Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preserve global variable index when disassembling with extra info #251

Closed
Tracked by #266
x87 opened this issue Sep 9, 2023 · 1 comment
Closed
Tracked by #266

Preserve global variable index when disassembling with extra info #251

x87 opened this issue Sep 9, 2023 · 1 comment
Labels
Milestone

Comments

@x87
Copy link
Collaborator

x87 commented Sep 9, 2023

{$CLEO .cs}
Alloc($Hidden_Greenwood_2,2771) // Duplicate always hidden Greenwood at the Jefferson Hotel
0ace: "Index %d" $Hidden_Greenwood_2
0A93: terminate_this_custom_script

compile with extra info, then decompile, then compile without extra info, then decompile

{$CLEO .cs}

print_help_formatted "Index %d" $4  <------ should be $2771
terminate_this_custom_script 
@x87 x87 added priority:p3 Low priority type:nice-to-have minor enhancements scope:disassembler labels Sep 9, 2023
@x87
Copy link
Collaborator Author

x87 commented Sep 9, 2023

if VAR section has a custom variable which is not in CustomVariables.ini add Alloc(name, index)

@x87 x87 changed the title Preserve global varialble index when disassembling with extra info Preserve global variable index when disassembling with extra info Sep 9, 2023
@x87 x87 added this to the v3.9.1 milestone Sep 17, 2023
@x87 x87 mentioned this issue Sep 17, 2023
7 tasks
@x87 x87 closed this as completed Sep 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant