# IceComboActivity_View_IceComboRewardWindow_1949.luac
; fn @IceComboRewardWindow.lua  line 0-0 np=0 va=1 ms=6 code=49 consts=24 upvals=1 protos=5
;   K[0]='IceComboRewardWindow'
;   K[1]='setmetatable'
;   K[2]='windowMaskAlpha'
;   K[3]='EWindowMaskAlpha'
;   K[4]='SuperDark'
;   K[5]='m_bCloseWhenFinish'
;   K[6]=false
;   K[7]='canClickWindowMask'
;   K[8]=true
;   K[9]='m_updateWindowOpenedState'
;   K[10]='disableEffectWhenCloseView'
;   K[11]='IceComboBaseWindow'
;   K[12]='__index'
;   K[13]='UIUtil'
;   K[14]='ConvertHexColor2CSColor'
;   K[15]='10b472'
;   K[16]='f71eff'
;   K[17]='fe4141'
;   K[18]='fe4c16'
;   K[19]='BeforeOpenCheck'
;   K[20]='Init'
;   K[21]='OnDestroy'
;   K[22]='PlayAnimation'
;   K[23]='OnCloseBtnClick'
;   upvals: _ENV
;   locals: arrTextOutlineColor(33-49)
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  GETTABUP  R2 = _ENV[K3('EWindowMaskAlpha')]
0003  GETTABLE  R2 = R2[K4('SuperDark')]
0004  SETTABLE  R1[K2('windowMaskAlpha')] = R2
0005  SETTABLE  R1[K5('m_bCloseWhenFinish')] = K6(false)
0006  SETTABLE  R1[K7('canClickWindowMask')] = K8(true)
0007  SETTABLE  R1[K9('m_updateWindowOpenedState')] = K6(false)
0008  SETTABLE  R1[K10('disableEffectWhenCloseView')] = K8(true)
0009  GETTABUP  R2 = _ENV[K11('IceComboBaseWindow')]
0010  CALL      R0 = call(R0, 1 args, 2 rets)
0011  SETTABUP  _ENV[K0('IceComboRewardWindow')] = R0
0012  GETTABUP  R0 = _ENV[K0('IceComboRewardWindow')]
0013  GETTABUP  R1 = _ENV[K0('IceComboRewardWindow')]
0014  SETTABLE  R0[K12('__index')] = R1
0015  NEWTABLE  R0 = {} (3 items)
0016  GETTABUP  R1 = _ENV[K13('UIUtil')]
0017  GETTABLE  R1 = R1[K14('ConvertHexColor2CSColor')]
0018  LOADK     R2 = K15 '10b472'
0019  CALL      R1 = call(R1, 1 args, 1 rets)
0020  GETTABUP  R2 = _ENV[K13('UIUtil')]
0021  GETTABLE  R2 = R2[K14('ConvertHexColor2CSColor')]
0022  LOADK     R3 = K16 'f71eff'
0023  CALL      R2 = call(R2, 1 args, 1 rets)
0024  GETTABUP  R3 = _ENV[K13('UIUtil')]
0025  GETTABLE  R3 = R3[K14('ConvertHexColor2CSColor')]
0026  LOADK     R4 = K17 'fe4141'
0027  CALL      R3 = call(R3, 1 args, 1 rets)
0028  GETTABUP  R4 = _ENV[K13('UIUtil')]
0029  GETTABLE  R4 = R4[K14('ConvertHexColor2CSColor')]
0030  LOADK     R5 = K18 'fe4c16'
0031  CALL      R4 = call(R4, -1 args, 1 rets)
0032  SETLIST   setlist R0[B=1,C=0]
0033  GETTABUP  R1 = _ENV[K0('IceComboRewardWindow')]
0034  CLOSURE   R2 = closure proto0
0035  SETTABLE  R1[K19('BeforeOpenCheck')] = R2
0036  GETTABUP  R1 = _ENV[K0('IceComboRewardWindow')]
0037  CLOSURE   R2 = closure proto1
0038  SETTABLE  R1[K20('Init')] = R2
0039  GETTABUP  R1 = _ENV[K0('IceComboRewardWindow')]
0040  CLOSURE   R2 = closure proto2
0041  SETTABLE  R1[K21('OnDestroy')] = R2
0042  GETTABUP  R1 = _ENV[K0('IceComboRewardWindow')]
0043  CLOSURE   R2 = closure proto3
0044  SETTABLE  R1[K22('PlayAnimation')] = R2
0045  GETTABUP  R1 = _ENV[K0('IceComboRewardWindow')]
0046  CLOSURE   R2 = closure proto4
0047  SETTABLE  R1[K23('OnCloseBtnClick')] = R2
0048  RETURN    return R0..R-1
; ---------- proto0 [BeforeOpenCheck] ----------
  ; fn ?  line 20-22 np=1 va=1 ms=2 code=3 consts=0 upvals=0 protos=0
  ;   locals: self(0-3)
  0000  LOADBOOL  R1 = true
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto1 [Init] ----------
  ; fn ?  line 24-44 np=8 va=0 ms=13 code=43 consts=17 upvals=2 protos=0
  ;   K[0]='IceComboBaseWindow'
  ;   K[1]='Init'
  ;   K[2]='m_tokenNum'
  ;   K[3]='m_multiNum'
  ;   K[4]='m_tokenNumText'
  ;   K[5]='text'
  ;   K[6]=nil
  ;   K[7]='m_tokenNumOutline'
  ;   K[8]='outlineColor'
  ;   K[9]='m_hitEffectGo'
  ;   K[10]='SetActive'
  ;   K[11]='m_multiContent'
  ;   K[12]='m_closeCallback'
  ;   K[13]=1
  ;   K[14]='PlayAnimation'
  ;   K[15]='UIUtil'
  ;   K[16]='gameObject'
  ;   upvals: _ENV, arrTextOutlineColor
  ;   locals: self(0-43), activityType(0-43), id(0-43), bAutoOpen(0-43), tokenNum(0-43), arrMultiNum(0-43), multiIndex(0-43), closeCallback(0-43)
  0000  GETTABUP  R8 = _ENV[K0('IceComboBaseWindow')]
  0001  GETTABLE  R8 = R8[K1('Init')]
  0002  MOVE      R9 = R0
  0003  MOVE      R10 = R0
  0004  MOVE      R11 = R0
  0005  MOVE      R12 = R0
  0006  CALL      R8 = call(R8, 0 args, 4 rets)
  0007  SETTABLE  R0[K2('m_tokenNum')] = R4
  0008  GETTABLE  R8 = R5[R6]
  0009  SETTABLE  R0[K3('m_multiNum')] = R8
  0010  GETTABLE  R8 = R0[K4('m_tokenNumText')]
  0011  GETTABLE  R9 = R0[K3('m_multiNum')]
  0012  IDIV      R9 = R9 idiv R4
  0013  SETTABLE  R8[K5('text')] = R9
  0014  GETTABUP  R8 = arrTextOutlineColor[R6]
  0015  EQ        if R1 eq K6(nil)   -> -126697
  0016  JMP       (jump)   -> 20
  0017  GETTABLE  R8 = R0[K7('m_tokenNumOutline')]
  0018  GETTABUP  R9 = arrTextOutlineColor[R6]
  0019  SETTABLE  R8[K8('outlineColor')] = R9
  0020  GETTABLE  R8 = R0[K9('m_hitEffectGo')]
  0021  SELF      R9 = R8[K10('SetActive')] (self)
  0022  LOADBOOL  R10 = false
  0023  CALL      R8 = call(R8, 0 args, 2 rets)
  0024  GETTABLE  R8 = R0[K11('m_multiContent')]
  0025  SELF      R9 = R8[K1('Init')] (self)
  0026  MOVE      R10 = R0
  0027  GETTABLE  R11 = R0[K3('m_multiNum')]
  0028  CALL      R8 = call(R8, 0 args, 3 rets)
  0029  SETTABLE  R0[K12('m_closeCallback')] = R7
  0030  GETTABLE  R8 = R0[K3('m_multiNum')]
  0031  LT        if R0 lt R8   -> 6697
  0032  JMP       (jump)   -> 36
  0033  SELF      R9 = R0[K14('PlayAnimation')] (self)
  0034  CALL      R8 = call(R8, 0 args, 1 rets)
  0035  JMP       (jump)   -> 42
  0036  GETTABUP  R8 = _ENV[K15('UIUtil')]
  0037  GETTABLE  R8 = R8[K10('SetActive')]
  0038  GETTABLE  R9 = R0[K11('m_multiContent')]
  0039  GETTABLE  R9 = R9[K16('gameObject')]
  0040  LOADBOOL  R10 = false
  0041  CALL      R8 = call(R8, 0 args, 2 rets)
  0042  RETURN    return R0..R-1
; ---------- proto2 [OnDestroy] ----------
  ; fn ?  line 46-54 np=1 va=0 ms=4 code=17 consts=8 upvals=1 protos=0
  ;   K[0]='IceComboBaseWindow'
  ;   K[1]='OnDestroy'
  ;   K[2]='m_seq'
  ;   K[3]=nil
  ;   K[4]='Kill'
  ;   K[5]='GM'
  ;   K[6]='UIManager'
  ;   K[7]='RemoveAllEventLocks'
  ;   upvals: _ENV
  ;   locals: self(0-17)
  0000  GETTABUP  R1 = _ENV[K0('IceComboBaseWindow')]
  0001  GETTABLE  R1 = R1[K1('OnDestroy')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  GETTABLE  R1 = R0[K2('m_seq')]
  0005  EQ        if R1 eq K3(nil)   -> -130294
  0006  JMP       (jump)   -> 11
  0007  GETTABLE  R1 = R0[K2('m_seq')]
  0008  SELF      R2 = R1[K4('Kill')] (self)
  0009  CALL      R1 = call(R1, 0 args, 1 rets)
  0010  SETTABLE  R0[K2('m_seq')] = K3(nil)
  0011  GETTABUP  R1 = _ENV[K5('GM')]
  0012  GETTABLE  R1 = R1[K6('UIManager')]
  0013  SELF      R2 = R1[K7('RemoveAllEventLocks')] (self)
  0014  MOVE      R3 = R0
  0015  CALL      R1 = call(R1, 0 args, 2 rets)
  0016  RETURN    return R0..R-1
; ---------- proto3 [PlayAnimation] ----------
  ; fn ?  line 56-92 np=1 va=0 ms=16 code=110 consts=38 upvals=1 protos=3
  ;   K[0]='GM'
  ;   K[1]='UIManager'
  ;   K[2]='SetEventLock'
  ;   K[3]='m_multiContent'
  ;   K[4]='GetHighlightCell'
  ;   K[5]='m_tokenRootGo'
  ;   K[6]='transform'
  ;   K[7]='V3One'
  ;   K[8]='UIUtil'
  ;   K[9]='SetLocalScale'
  ;   K[10]=0.85
  ;   K[11]='DOTween'
  ;   K[12]='Sequence'
  ;   K[13]='AppendInterval'
  ;   K[14]=0.5
  ;   K[15]='Append'
  ;   K[16]='PlayHighlightAnimation'
  ;   K[17]=nil
  ;   K[18]='position'
  ;   K[19]='normalized'
  ;   K[20]=100
  ;   K[21]='DOMove'
  ;   K[22]=0.2
  ;   K[23]='SetEase'
  ;   K[24]='Ease'
  ;   K[25]='OutSine'
  ;   K[26]='Join'
  ;   K[27]='DOScale'
  ;   K[28]='Vector3'
  ;   K[29]=1.2
  ;   K[30]=1
  ;   K[31]=0.3
  ;   K[32]='InSine'
  ;   K[33]='AppendCallback'
  ;   K[34]=0
  ;   K[35]=0.05
  ;   K[36]=0.1
  ;   K[37]='m_seq'
  ;   upvals: _ENV
  ;   locals: self(0-110), cell(9-110), tokenRect(11-110), originScale(12-110), seq(21-110), rect(32-85), targetPosition(33-85), backOffset(37-85)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('UIManager')]
  0002  SELF      R2 = R1[K2('SetEventLock')] (self)
  0003  LOADBOOL  R3 = true
  0004  MOVE      R4 = R0
  0005  CALL      R1 = call(R1, 0 args, 3 rets)
  0006  GETTABLE  R1 = R0[K3('m_multiContent')]
  0007  SELF      R2 = R1[K4('GetHighlightCell')] (self)
  0008  CALL      R1 = call(R1, 1 args, 1 rets)
  0009  GETTABLE  R2 = R0[K5('m_tokenRootGo')]
  0010  GETTABLE  R2 = R2[K6('transform')]
  0011  GETTABUP  R3 = _ENV[K7('V3One')]
  0012  GETTABUP  R4 = _ENV[K8('UIUtil')]
  0013  GETTABLE  R4 = R4[K9('SetLocalScale')]
  0014  MOVE      R5 = R0
  0015  LOADK     R6 = K10 0.85
  0016  LOADK     R7 = K10 0.85
  0017  CALL      R4 = call(R4, 0 args, 3 rets)
  0018  GETTABUP  R4 = _ENV[K11('DOTween')]
  0019  GETTABLE  R4 = R4[K12('Sequence')]
  0020  CALL      R4 = call(R4, 1 args, 0 rets)
  0021  SELF      R6 = R4[K13('AppendInterval')] (self)
  0022  LOADK     R7 = K14 0.5
  0023  CALL      R5 = call(R5, 0 args, 2 rets)
  0024  SELF      R6 = R4[K15('Append')] (self)
  0025  GETTABLE  R7 = R0[K3('m_multiContent')]
  0026  SELF      R8 = R7[K16('PlayHighlightAnimation')] (self)
  0027  CALL      R7 = call(R7, -1 args, 1 rets)
  0028  CALL      R5 = call(R5, 0 args, -1 rets)
  0029  EQ        if R1 eq K17(nil)   -> -130256
  0030  JMP       (jump)   -> 85
  0031  GETTABLE  R5 = R1[K6('transform')]
  0032  GETTABLE  R6 = R2[K18('position')]
  0033  GETTABLE  R7 = R5[K18('position')]
  0034  SUB       R7 = R6 sub R7
  0035  GETTABLE  R7 = R7[K19('normalized')]
  0036  MUL       R7 = K20(100) mul R7
  0037  SELF      R9 = R4[K15('Append')] (self)
  0038  SELF      R11 = R5[K21('DOMove')] (self)
  0039  GETTABLE  R12 = R5[K18('position')]
  0040  ADD       R12 = R7 add R12
  0041  LOADK     R13 = K22 0.2
  0042  CALL      R10 = call(R10, 1 args, 3 rets)
  0043  SELF      R11 = R10[K23('SetEase')] (self)
  0044  GETTABUP  R12 = _ENV[K24('Ease')]
  0045  GETTABLE  R12 = R12[K25('OutSine')]
  0046  CALL      R10 = call(R10, -1 args, 2 rets)
  0047  CALL      R8 = call(R8, 0 args, -1 rets)
  0048  SELF      R9 = R4[K26('Join')] (self)
  0049  SELF      R11 = R5[K27('DOScale')] (self)
  0050  GETTABUP  R12 = _ENV[K28('Vector3')]
  0051  LOADK     R13 = K29 1.2
  0052  LOADK     R14 = K29 1.2
  0053  LOADK     R15 = K30 1
  0054  CALL      R12 = call(R12, 1 args, 3 rets)
  0055  LOADK     R13 = K22 0.2
  0056  CALL      R10 = call(R10, 1 args, 3 rets)
  0057  SELF      R11 = R10[K23('SetEase')] (self)
  0058  GETTABUP  R12 = _ENV[K24('Ease')]
  0059  GETTABLE  R12 = R12[K25('OutSine')]
  0060  CALL      R10 = call(R10, -1 args, 2 rets)
  0061  CALL      R8 = call(R8, 0 args, -1 rets)
  0062  SELF      R9 = R4[K15('Append')] (self)
  0063  SELF      R11 = R5[K21('DOMove')] (self)
  0064  MOVE      R12 = R0
  0065  LOADK     R13 = K31 0.3
  0066  CALL      R10 = call(R10, 1 args, 3 rets)
  0067  SELF      R11 = R10[K23('SetEase')] (self)
  0068  GETTABUP  R12 = _ENV[K24('Ease')]
  0069  GETTABLE  R12 = R12[K32('InSine')]
  0070  CALL      R10 = call(R10, -1 args, 2 rets)
  0071  CALL      R8 = call(R8, 0 args, -1 rets)
  0072  SELF      R9 = R4[K26('Join')] (self)
  0073  SELF      R11 = R5[K27('DOScale')] (self)
  0074  GETTABUP  R12 = _ENV[K7('V3One')]
  0075  LOADK     R13 = K31 0.3
  0076  CALL      R10 = call(R10, 1 args, 3 rets)
  0077  SELF      R11 = R10[K23('SetEase')] (self)
  0078  GETTABUP  R12 = _ENV[K24('Ease')]
  0079  GETTABLE  R12 = R12[K32('InSine')]
  0080  CALL      R10 = call(R10, -1 args, 2 rets)
  0081  CALL      R8 = call(R8, 0 args, -1 rets)
  0082  SELF      R9 = R4[K33('AppendCallback')] (self)
  0083  CLOSURE   R10 = closure proto0
  0084  CALL      R8 = call(R8, 0 args, 2 rets)
  0085  SELF      R6 = R4[K15('Append')] (self)
  0086  SELF      R8 = R2[K27('DOScale')] (self)
  0087  GETTABUP  R9 = _ENV[K28('Vector3')]
  0088  LOADK     R10 = K22 0.2
  0089  LOADK     R11 = K22 0.2
  0090  LOADK     R12 = K34 0
  0091  CALL      R9 = call(R9, 1 args, 3 rets)
  0092  ADD       R9 = R9 add R3
  0093  LOADK     R10 = K35 0.05
  0094  CALL      R7 = call(R7, -1 args, 3 rets)
  0095  CALL      R5 = call(R5, 0 args, -1 rets)
  0096  SELF      R6 = R4[K33('AppendCallback')] (self)
  0097  CLOSURE   R7 = closure proto1
  0098  CALL      R5 = call(R5, 0 args, 2 rets)
  0099  SELF      R6 = R4[K15('Append')] (self)
  0100  SELF      R8 = R2[K27('DOScale')] (self)
  0101  MOVE      R9 = R0
  0102  LOADK     R10 = K36 0.1
  0103  CALL      R7 = call(R7, -1 args, 3 rets)
  0104  CALL      R5 = call(R5, 0 args, -1 rets)
  0105  SELF      R6 = R4[K33('AppendCallback')] (self)
  0106  CLOSURE   R7 = closure proto2
  0107  CALL      R5 = call(R5, 0 args, 2 rets)
  0108  SETTABLE  R0[K37('m_seq')] = R4
  0109  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 73-75 np=0 va=0 ms=3 code=6 consts=3 upvals=2 protos=0
    ;   K[0]='UIUtil'
    ;   K[1]='SetActive'
    ;   K[2]='gameObject'
    ;   upvals: _ENV, cell
    0000  GETTABUP  R0 = _ENV[K0('UIUtil')]
    0001  GETTABLE  R0 = R0[K1('SetActive')]
    0002  GETTABUP  R1 = cell[K2('gameObject')]
    0003  LOADBOOL  R2 = false
    0004  CALL      R0 = call(R0, 0 args, 2 rets)
    0005  RETURN    return R0..R-1
  ; ---------- proto1 [] ----------
    ; fn ?  line 78-85 np=0 va=0 ms=3 code=19 consts=14 upvals=2 protos=0
    ;   K[0]='m_tokenNumText'
    ;   K[1]='text'
    ;   K[2]='m_tokenNum'
    ;   K[3]='m_hitEffectGo'
    ;   K[4]='SetActive'
    ;   K[5]='GM'
    ;   K[6]='AudioModel'
    ;   K[7]='PlayEffect'
    ;   K[8]='AudioFileConfigName'
    ;   K[9]='SfxTaskReady'
    ;   K[10]='PlatformInterface'
    ;   K[11]='Vibrate'
    ;   K[12]='EVibrationType'
    ;   K[13]='Medium'
    ;   upvals: self, _ENV
    0000  GETTABUP  R0 = self[K0('m_tokenNumText')]
    0001  GETTABUP  R1 = self[K2('m_tokenNum')]
    0002  SETTABLE  R0[K1('text')] = R1
    0003  GETTABUP  R0 = self[K3('m_hitEffectGo')]
    0004  SELF      R1 = R0[K4('SetActive')] (self)
    0005  LOADBOOL  R2 = true
    0006  CALL      R0 = call(R0, 0 args, 2 rets)
    0007  GETTABUP  R0 = _ENV[K5('GM')]
    0008  GETTABLE  R0 = R0[K6('AudioModel')]
    0009  SELF      R1 = R0[K7('PlayEffect')] (self)
    0010  GETTABUP  R2 = _ENV[K8('AudioFileConfigName')]
    0011  GETTABLE  R2 = R2[K9('SfxTaskReady')]
    0012  CALL      R0 = call(R0, 0 args, 2 rets)
    0013  GETTABUP  R0 = _ENV[K10('PlatformInterface')]
    0014  GETTABLE  R0 = R0[K11('Vibrate')]
    0015  GETTABUP  R1 = _ENV[K12('EVibrationType')]
    0016  GETTABLE  R1 = R1[K13('Medium')]
    0017  CALL      R0 = call(R0, 0 args, 1 rets)
    0018  RETURN    return R0..R-1
  ; ---------- proto2 [m_seq] ----------
    ; fn ?  line 87-90 np=0 va=0 ms=4 code=8 consts=5 upvals=2 protos=0
    ;   K[0]='m_seq'
    ;   K[1]=nil
    ;   K[2]='GM'
    ;   K[3]='UIManager'
    ;   K[4]='SetEventLock'
    ;   upvals: self, _ENV
    0000  SETTABUP  self[K0('m_seq')] = K1(nil)
    0001  GETTABUP  R0 = _ENV[K2('GM')]
    0002  GETTABLE  R0 = R0[K3('UIManager')]
    0003  SELF      R1 = R0[K4('SetEventLock')] (self)
    0004  LOADBOOL  R2 = false
    0005  GETUPVAL  R3 = self
    0006  CALL      R0 = call(R0, 0 args, 3 rets)
    0007  RETURN    return R0..R-1
; ---------- proto4 [OnCloseBtnClick] ----------
  ; fn ?  line 94-99 np=1 va=0 ms=3 code=11 consts=5 upvals=1 protos=0
  ;   K[0]='IceComboBaseWindow'
  ;   K[1]='OnCloseBtnClick'
  ;   K[2]='m_closeCallback'
  ;   K[3]=nil
  ;   K[4]='m_tokenRootGo'
  ;   upvals: _ENV
  ;   locals: self(0-11)
  0000  GETTABUP  R1 = _ENV[K0('IceComboBaseWindow')]
  0001  GETTABLE  R1 = R1[K1('OnCloseBtnClick')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  GETTABLE  R1 = R0[K2('m_closeCallback')]
  0005  EQ        if R1 eq K3(nil)   -> -130294
  0006  JMP       (jump)   -> 10
  0007  GETTABLE  R1 = R0[K2('m_closeCallback')]
  0008  GETTABLE  R2 = R0[K4('m_tokenRootGo')]
  0009  CALL      R1 = call(R1, 0 args, 1 rets)
  0010  RETURN    return R0..R-1
