decomp: restore Korean scan entry and lookup widths #1008
Reference in New Issue
Block a user
Delete Branch "agent/bittle/korean-empty-context"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Source corrections
An empty word context must skip prefix-result cleanup and enter the existing key-table scan setup. Parent verified the original branch at function+0x158 goes to +0x730; the old compiled source went to its cleanup block instead. Restore that edge without moving the body.
Recover the lookup helper's halfword return and loop-index pair, replacing explicit index masks with ordinary typed uses. Its count and not-found result fit the halfword contract; both callers are in this unit. The helper itself remains byte-identical while its callers avoid two target-absent narrowings.
Independent verification
This is partial source/flow reconstruction. The empty-context edge does not necessarily alter visible output when prior state is initialized; no unproven user-visible bug claim. No header, metadata, artificial storage or linking change.
Parent baseline:
e5987de5adTested tree:
eb18c85729DOL SHA1: 26116613f624061ba99c8d1a299aaa6efa85670d
No merge performed or requested by this author.
Reviewed and merged: rebased on main, full build ok, DOL sha1 26116613f624061ba99c8d1a299aaa6efa85670d, 0 regressions, 0 forbidden patterns.