fix(sd): restore event metadata predicates #1010
Reference in New Issue
Block a user
Delete Branch "agent/bittle/sd-event-predicates"
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?
Confirmed wrong-callee correction
Replace four event-handler calls to isChannelReady with the original hasAppMeta predicate. These are not aliases: isChannelReady reads channel offset 0x14 and accepts only state 3; hasAppMeta reads offset 0x84 and accepts flags 0 or 3.
Parent independently decoded the original DOL branches at 0x813E29D8, 0x813E2A90, 0x813E2ACC and 0x813E2B24: all target 0x813E3330 (hasAppMeta), not 0x813DF1E4 (isChannelReady). The original file SHA1 and extracted ELF relocations agree.
Independent verification
Tests use modeled event/controller/scene objects, not Wii runtime execution. Equivalent VEC3 constructor aliases are untouched. No header, metadata, layout, scissor or linking change.
Parent baseline:
7d6057adf6Tested tree:
4667867157DOL 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.