Decompile hardware keyboard character conversion #703
Reference in New Issue
Block a user
Delete Branch "agent/bittle/hw-character-cpp"
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?
Replace HWKeyboard::convertWCCode assembly with C++ Japanese/Chinese punctuation switches. The compiler now generates the switch table naturally, so remove the hand-authored 63-entry function-address/addend array. Keep the existing explicit vtable bytes/relocations unchanged, moving that declaration after the switch so generated data has the original order.
Shared header: add a private const mgr() overload returning const Manager*, allowing the original const virtual getters. No field/layout/virtual-order change. Quote selection uses normal if/return paths, not assembly or register tricks.
Fresh verification on
426555a3:85a2d44767equals tested local treeNo score increase claimed: prior assembly was already exact. Existing unit data-report discrepancy from #698 remains; no symbol-size/address edits or artificial padding. Independent of #701's input-dispatch conversion. Left for Cole's review and merge.
Reviewed and merged: rebased on main, full build ok, DOL sha1 26116613f624061ba99c8d1a299aaa6efa85670d, 0 regressions, 0 forbidden patterns.