TL;DR: Reference notes for anyone reconstructing the native menu sliders and Save/Load dialogs. No implementation is requested by this issue.
These observations explain how the existing controls pass values and handle keyboard input. They may help avoid reconstructing those behaviors incorrectly.
Proposed change: Use these findings when the corresponding functions are implemented:
- Save modal 10 uses text entry 2. Return invokes the existing Save action and overwrite confirmation; Load modal 9 uses a selectable list.
- Slider callbacks use the MenuItem fields at
+0x3C/+0x40/+0x44 for minimum, maximum and current value. Operations 1, 7 and 2 read values, request the step and submit a change. +0x20 is thumb width.
- Load scrollbar operation 7 returns visible rows minus one.
drawHeaderTextBanner at 0x475CC0 appears to take six arguments: the caller pushes six and the callee returns with ret 0x18. Check the five-argument declaration.
Status / review: Version: SHC 1.41 West. Findings come from assembly and native control checks; no implementation or binary match is claimed. This can be moved to project documentation if an issue is not the preferred place for reference notes.
Save/Load notes · Slider notes
TL;DR: Reference notes for anyone reconstructing the native menu sliders and Save/Load dialogs. No implementation is requested by this issue.
These observations explain how the existing controls pass values and handle keyboard input. They may help avoid reconstructing those behaviors incorrectly.
Proposed change: Use these findings when the corresponding functions are implemented:
+0x3C/+0x40/+0x44for minimum, maximum and current value. Operations 1, 7 and 2 read values, request the step and submit a change.+0x20is thumb width.drawHeaderTextBannerat0x475CC0appears to take six arguments: the caller pushes six and the callee returns withret 0x18. Check the five-argument declaration.Status / review: Version: SHC 1.41 West. Findings come from assembly and native control checks; no implementation or binary match is claimed. This can be moved to project documentation if an issue is not the preferred place for reference notes.
Save/Load notes · Slider notes