Skip to content

Decompile revision 0xA changes for wireless_communication_status without fakematch#744

Open
SiliconA-Z wants to merge 4 commits intopret:masterfrom
SiliconA-Z:fixthematch
Open

Decompile revision 0xA changes for wireless_communication_status without fakematch#744
SiliconA-Z wants to merge 4 commits intopret:masterfrom
SiliconA-Z:fixthematch

Conversation

@SiliconA-Z
Copy link
Copy Markdown
Contributor

So one of the emerald UBFixes mentions that 0xFF can happen, and mentions that GROUPTYPE_NONE is 0xFF, and shouldn't be used as an index into groupCounts. It mentions that int theory the only activity with this group type (ACTIVITY_SEARCH) wouldn't satisfy the condition below, but not necessarily.

Well, revision A of FRLG fixes this but has an even broader check, by skipping ALL invalid values by adding a range check. For this reason, I have also opted to do || UBFIX.

@SiliconA-Z SiliconA-Z force-pushed the fixthematch branch 2 times, most recently from f461b71 to 976776a Compare March 24, 2026 02:33
…tatus

So one of the emerald UBFixes mentions that 0xFF can happen, and mentions that GROUPTYPE_NONE is 0xFF, and shouldn't be used as an index into groupCounts. It mentions that int theory the only activity with this group type (ACTIVITY_SEARCH) wouldn't satisfy the condition below, but not necessarily.

Well, revision A of FRLG fixes this but has an even broader check, by skipping ALL invalid values by adding a range check. For this reason, I have also opted to do || UBFIX.
@SiliconA-Z SiliconA-Z changed the title Fix fake match introduced by Revision 0xA in wireless_communication_status Decompile revision A changes for wireless_communication_status without fakematch Apr 2, 2026
@SiliconA-Z SiliconA-Z changed the title Decompile revision A changes for wireless_communication_status without fakematch Decompile revision 0xA changes for wireless_communication_status without fakematch Apr 2, 2026
@SiliconA-Z
Copy link
Copy Markdown
Contributor Author

Ping?

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.

1 participant