Files
runelite/runelite-client/src/main/scripts/ChatboxInputWidgetBuilder.rs2asm
RuneLite Cache-Code Autoupdater 4ebcb524b5 Update Scripts to 2022-3-22
2022-03-23 05:37:33 -06:00

306 lines
8.4 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

.id 223
.int_stack_count 0
.string_stack_count 0
.int_var_count 5
.string_var_count 3
sconst "<col=0000ff>"
sstore 0
iconst 0
istore 0
iconst 6250335
istore 1
invoke 921
iconst 1
if_icmpeq LABEL10
jump LABEL20
LABEL10:
sconst "<col=9090ff>"
iconst 16777215
iconst 12566463
istore 1
istore 0
sstore 0
iconst 1
iconst 10616887
if_settextshadow
jump LABEL23
LABEL20:
iconst 0
iconst 10616887
if_settextshadow
LABEL23:
iload 0
iconst 10616887
if_setcolour
get_varc_string 335
string_length
istore 2
get_varc_string 335
escape
sstore 1
sconst ""
sstore 2
iconst 0
istore 3
invoke 1972
istore 4
get_varbit 8119
iconst 1
if_icmpeq LABEL42
jump LABEL201
LABEL42:
invoke 3160
iconst 1
if_icmpeq LABEL46
jump LABEL51
LABEL46:
sconst "<img=22>"
chat_playername
join_string 2
sstore 2
jump LABEL59
LABEL51:
iconst 105
iconst 115
iconst 1894
get_varbit 1777
enum
chat_playername
join_string 2
sstore 2
LABEL59:
get_varc_int 945
switch
1: LABEL62
2: LABEL67
3: LABEL72
4: LABEL77
jump LABEL88
LABEL62:
sload 2
sconst " (channel)"
append
sstore 2
jump LABEL88
LABEL67:
sload 2
sconst " (clan)"
append
sstore 2
jump LABEL88
LABEL72:
sload 2
sconst " (guest clan)"
append
sstore 2
jump LABEL88
LABEL77:
invoke 5262
iconst 1
if_icmpeq LABEL81
jump LABEL86
LABEL81:
sload 2
sconst " (group)"
append
sstore 2
jump LABEL88
LABEL86:
iconst 0
set_varc_int 945
LABEL88:
iload 4
iconst 1
if_icmpeq LABEL92
jump LABEL96
LABEL92:
sload 2
sconst "<img=19>"
append
sstore 2
LABEL96:
sload 2
sconst ": "
sload 0
sload 1
sconst "</col>"
join_string 4
append
sstore 2
get_varc_string 335
invoke 1353
iconst 1
if_icmpeq LABEL109
jump LABEL121
LABEL109:
iload 2
iconst 79
if_icmplt LABEL113
jump LABEL120
LABEL113:
sload 2
sload 0
sconst "*"
sconst "</col>"
join_string 3
append
sstore 2
LABEL120:
jump LABEL132
LABEL121:
iload 2
iconst 80
if_icmplt LABEL125
jump LABEL132
LABEL125:
sload 2
sload 0
sconst "*"
sconst "</col>"
join_string 3
append
sstore 2
LABEL132:
sload 2
iconst 2147483647
iconst 495
parawidth
istore 3
iload 4
iconst 1
if_icmpeq LABEL141
jump LABEL158
LABEL141:
iconst 60
iconst 5
iload 3
add
invoke 1045
iconst 30
iconst 0
iconst 0
iconst 10616868
if_setsize
iconst 0
iconst 0
iconst 0
iconst 2
iconst 10616868
if_setposition
jump LABEL170
LABEL158:
iconst 0
iconst 30
iconst 0
iconst 1
iconst 10616868
if_setsize
iconst 0
iconst 0
iconst 0
iconst 2
iconst 10616868
if_setposition
LABEL170:
iload 3
iconst 10616887
if_getwidth
if_icmpgt LABEL175
jump LABEL181
LABEL175:
iconst 2
iconst 2
iconst 0
iconst 10616887
if_settextalign
jump LABEL186
LABEL181:
iconst 0
iconst 2
iconst 0
iconst 10616887
if_settextalign
LABEL186:
iconst 10616887
if_clearops
iconst -1
sconst ""
iconst 10616887
if_setonmouserepeat
iconst -1
sconst ""
iconst 10616887
if_setonmouseleave
iconst -1
sconst ""
iconst 10616887
if_setonop
jump LABEL251
LABEL201:
invoke 3160
iconst 1
if_icmpeq LABEL205
jump LABEL210
LABEL205:
sconst "<img=22>"
sconst " You must set a name before you can chat."
join_string 2
sstore 2
jump LABEL218
LABEL210:
iconst 105
iconst 115
iconst 1894
get_varbit 1777
enum
sconst " You must set a name before you can chat."
join_string 2
sstore 2
LABEL218:
iconst 1
iconst 2
iconst 0
iconst 10616887
if_settextalign
iconst 10
sconst "Configure"
iconst 10616887
if_setop
sconst "<col=ff9040>"
sconst "Display name"
sconst "</col>"
join_string 3
iconst 10616887
if_setopbase
iconst 45
iconst -2147483645
iload 1
sconst "Ii"
iconst 10616887
if_setonmouserepeat
iconst 45
iconst -2147483645
iload 0
sconst "Ii"
iconst 10616887
if_setonmouseleave
iconst 489
iconst -2147483644
iconst 1024
sconst "ii"
iconst 10616887
if_setonop
LABEL251:
sload 2
iconst 10616887
if_settext
sconst "setChatboxInput"
runelite_callback
iconst 3
iconst 16
iconst 1
iconst 0
iconst 10616887
if_setsize
return