Files
runelite/runelite-scripts/scripts/OptionsPanelZoomUpdater.rs2asm
Adam b2358cdc71 scripts: disable callbacks
The method we are hooking to in the VM got inlined..
2018-02-08 08:29:42 -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