Skip to content

Mahjong findings - #2014

Merged
wolfcomp merged 16 commits into
aers:mainfrom
raineaeternal:mahjong
Oct 20, 2026
Merged

wolfcomp merged 16 commits into
aers:mainfrom
raineaeternal:mahjong

Conversation

@raineaeternal

Copy link
Copy Markdown
Contributor

This adds the structs for reading a Doman Mahjong table during a match (hand, drawn tile, discards, melds, dora indicators, riichi state, points and round info), along with their data.yml entries.

C# representation for the functions and the rest of the Mahjong types can come in later PRs.

The commits and a fair bit of the reverse engineering was done assisted by an LLM.

@wolfcomp wolfcomp added the AI This PR has been created with an AI summary and/or AI commits. label Oct 17, 2026

@wolfcomp wolfcomp left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Unsure currently how to deal with the base type.

Vtable size is the same but vf1 is a nullptr in the base type.

Comment thread ida/data.yml
Comment thread ida/data.yml
Comment thread ida/data.yml
Comment thread ida/data.yml
Comment thread ida/data.yml
Comment thread ida/data.yml
Co-authored-by: wolfcomp <4028289+wolfcomp@users.noreply.github.com>
Comment thread ida/data.yml
Comment thread ida/data.yml Outdated
Comment thread ida/data.yml
@wolfcomp
wolfcomp merged commit be20f7f into aers:main Oct 20, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI This PR has been created with an AI summary and/or AI commits.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants