Files
runelite/runelite-scripts/scripts/OptionsPanelZoomUpdater.rs2asm
Max Weber 0781a39a91 Revert "scripts: disable callbacks"
This reverts commit e533b0f9353f98284de1ded88a96ef6272ad3ba4.
2018-02-09 23:35:08 -05:00

68 lines
1.8 KiB
Plaintext

.id 1049
.int_stack_count 0
.string_stack_count 0
.int_var_count 6
.string_var_count 0
load_int 715
load_int 175
load_string "resizableOuterZoomLimit"
runelite_callback
isub
istore 0
load_int 700
load_int 195
load_string "fixedOuterZoomLimit"
runelite_callback
isub
istore 1
load_int 17104904
widget_get_width_widget
load_int 17104909
widget_get_width_widget
isub
istore 2
load_int 0
istore 3
load_int 0
istore 4
get_viewport_size
istore 4
istore 3
load_int 0
istore 5
iload 3
load_int 334
if_icmpgt LABEL27
jump LABEL36
LABEL27:
get_varc 74
load_int 175
load_string "resizableOuterZoomLimit"
runelite_callback
isub
iload 2
imul
iload 0
idiv
istore 5
jump LABEL44
LABEL36:
get_varc 73
load_int 195
load_string "fixedOuterZoomLimit"
runelite_callback
isub
iload 2
imul
iload 1
idiv
istore 5
LABEL44:
iload 5
load_int 0
load_int 0
load_int 0
load_int 17104909
widget_put_position_widget
return