Skip to content

Handle TCE nsig branches with plain if guards#645

Merged
JuanBindez merged 1 commit into
JuanBindez:devfrom
Muggwomp:fix-ias-undefined-nsig
Jun 3, 2026
Merged

Handle TCE nsig branches with plain if guards#645
JuanBindez merged 1 commit into
JuanBindez:devfrom
Muggwomp:fix-ias-undefined-nsig

Conversation

@Muggwomp

@Muggwomp Muggwomp commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

Derive nsig control parameters for TCE player functions whose split branch is guarded by a normal if block instead of a labeled block.

Player 9fc68080, reported in issue #642, exposes the nsig transform through a multi-purpose function whose table lookup may include whitespace after the XOR operator. This change lets the XOR branch extractor match those lookups, avoids property-method false positives when locating function bodies, and runs the extractor before returning from the fast var=[func] detection path.

Validated against player_ias_tce files for 0980151a and 9fc68080, plus IAS sanity checks for 57f5d44f and 16ef956e.

Assisted-by: Codex:5.5 [OpenAI]

Derive nsig control parameters for TCE player functions whose split branch is
guarded by a normal if block instead of a labeled block.

Player 9fc68080, reported in issue JuanBindez#642, exposes the nsig transform through a
multi-purpose function whose table lookup may include whitespace after the XOR
operator. This change lets the XOR branch extractor match those lookups, avoids
property-method false positives when locating function bodies, and runs the
extractor before returning from the fast var=[func] detection path.

Validated against player_ias_tce files for 0980151a and 9fc68080, plus IAS
sanity checks for 57f5d44f and 16ef956e.

Signed-off-by: Justin "Muggwomp" Corey <justincorey@mindgarden.cc>
Assisted-by: Codex:5.5 [OpenAI]
Signed-off-by: Justin "Muggwomp" Corey <justincorey@mindgarden.cc>
@JuanBindez JuanBindez merged commit b4f72fa into JuanBindez:dev Jun 3, 2026
1 check passed
JuanBindez added a commit that referenced this pull request Jun 3, 2026
Signed-off-by: Juan Bindez <juanbindez780@gmail.com>
JuanBindez added a commit that referenced this pull request Jun 3, 2026
Signed-off-by: Juan Bindez <juanbindez780@gmail.com>
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