Files
runelite/runelite-client/src/main/scripts/ChatboxInputWidgetBuilder.rs2asm
RuneLite Cache-Code Autoupdater 084edbffb6 Update Scripts to 2021-11-24
2021-11-24 04:26:34 -07:00

285 lines
7.8 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 LABEL184
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
iload 2
iconst 80
if_icmplt LABEL108
jump LABEL115
LABEL108:
sload 2
sload 0
sconst "*"
sconst "</col>"
join_string 3
append
sstore 2
LABEL115:
sload 2
iconst 2147483647
iconst 495
parawidth
istore 3
iload 4
iconst 1
if_icmpeq LABEL124
jump LABEL141
LABEL124:
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 LABEL153
LABEL141:
iconst 0
iconst 30
iconst 0
iconst 1
iconst 10616868
if_setsize
iconst 0
iconst 0
iconst 0
iconst 2
iconst 10616868
if_setposition
LABEL153:
iload 3
iconst 10616887
if_getwidth
if_icmpgt LABEL158
jump LABEL164
LABEL158:
iconst 2
iconst 2
iconst 0
iconst 10616887
if_settextalign
jump LABEL169
LABEL164:
iconst 0
iconst 2
iconst 0
iconst 10616887
if_settextalign
LABEL169:
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 LABEL234
LABEL184:
invoke 3160
iconst 1
if_icmpeq LABEL188
jump LABEL193
LABEL188:
sconst "<img=22>"
sconst " You must set a name before you can chat."
join_string 2
sstore 2
jump LABEL201
LABEL193:
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
LABEL201:
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
LABEL234:
sload 2
iconst 10616887
if_settext
sconst "setChatboxInput"
runelite_callback
iconst 3
iconst 16
iconst 1
iconst 0
iconst 10616887
if_setsize
return