UltraNX/SaltySD/plugins/FPSLocker/patches/0100C09014530000/D92F465FE9920BB6.yaml
2024-07-02 12:50:28 +03:00

29 lines
675 B
YAML

# Boomerang X 1.0.2
# BID: D92F465FE9920BB6
unsafeCheck: true
MASTER_WRITE:
# Patch `DynamicResolution.Settings$$get_TargetFPS` to redirect reading targetFPS to unused .bss region [MAIN, 0x5E9AFF0]
-
type: bytes
main_offset: 0x3821020
value_type: int32
value:
- 0xB00133C0
- 0xBD4FF000
- 0xD65F03C0
# Write default value of `DynamicResolution.Settings$$get_TargetFPS` to redirected address
-
type: bytes
main_offset: 0x5E9AFF0
value_type: float
value: 28
ALL_FPS:
# DynamicResolution.Settings$$get_TargetFPS
-
type: evaluate_write
address: [MAIN, 0x5E9AFF0]
value_type: float
value: FPS_TARGET