Skip to content

Implement extern symbols with name mangling#125

Merged
TheRedDaemon merged 2 commits into
mainfrom
refactor/extern-symbols
Jun 21, 2026
Merged

Implement extern symbols with name mangling#125
TheRedDaemon merged 2 commits into
mainfrom
refactor/extern-symbols

Conversation

@gynt

@gynt gynt commented Jun 20, 2026

Copy link
Copy Markdown
Contributor

Achieved through ghidra-skink library update with a custom build MSVC1400 name mangling python library.
Covers all global defined data in the current project.
Tested by including all OpenSHC/Globals/*.hpp files in a single cpp file.

Renamed game.asm to data.asm but I am open to suggestions. I suppose if we do more with asm in the feature we will add more asm files so I thought game.asm was a bit too generic of a name.

This PR builds upon #116

@gynt gynt requested a review from TheRedDaemon June 20, 2026 22:27
@gynt gynt changed the base branch from main to experiment/use-asm-symbol-ref-for-structs June 20, 2026 22:28
@gynt gynt changed the base branch from experiment/use-asm-symbol-ref-for-structs to main June 20, 2026 22:28
@gynt gynt force-pushed the refactor/extern-symbols branch from fb292cd to 3cf5c79 Compare June 20, 2026 22:30

@TheRedDaemon TheRedDaemon left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome.
I will merge this and close my PR and do some clean ups on main directly.
This should really help us getting proper matching values when it comes to the functions.

@TheRedDaemon TheRedDaemon merged commit dd388f3 into main Jun 21, 2026
1 check passed
@TheRedDaemon TheRedDaemon deleted the refactor/extern-symbols branch June 21, 2026 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants