2026-09-15 23:34:01 +03:00

43 lines
1.1 KiB
YAML

# 하늘의 궤적 the 1st 1.0.7
# BID: 4F4FD1AED39EB96A
DECLARATIONS:
# Lock Max Handheld Resolution to 720p instead of 900p
-
type: code
name: adjustDrResToNativeInHH
instructions: [
[cmp, w10, 1280],
[b.le, :goto1],
[adrp, x21, 0x725000],
[ldr, w21, [x21, 0x820]], ## REF: nn::oe::GetOperationMode in nnMain
[cbnz, w21, :goto1],
[mov, w10, 1280],
[mov, w8, 720],
:goto1, [stp, w10, w8, [x0, 0x10]],
[ret]
]
MASTER_WRITE:
## REF: 40 18 20 1E 00 08 21 1E, patch STP W10, W8 after it
-
type: asm_a64
main_offset: 0x2C5D9C
instructions: [
[bl, _adjustDrResToNativeInHH()]
]
ALL_FPS:
# Min Delta
## REF: C1 03 80 52 28 4D 28 9B, first ADRP + ADD below it
-
type: evaluate_write
address: [MAIN, 0x725850, 0x2C]
value_type: uint32
value: FPS_TARGET
# Dynamic Resolution
## REF: First function in .init_array section, ADRP + ADD + 0x220 (default float: 2)
## Adding there 0.95 by myself because game seems to have issues with reaching 60 FPS without it
-
type: write
address: [MAIN, 0x7253D0]
value_type: float
value: 0.95