# LuckyBlastActivity_View_LuckyBlastActivityItemSpreadEffect_1768.luac
; fn @LuckyBlastActivityItemSpreadEffect.lua  line 0-0 np=0 va=1 ms=2 code=27 consts=9 upvals=1 protos=7
;   K[0]='LuckyBlastActivityItemSpreadEffect'
;   K[1]='__index'
;   K[2]='Init'
;   K[3]='_InitModelData'
;   K[4]='_InitView'
;   K[5]='GetModel'
;   K[6]='TrySyncEffectTime'
;   K[7]='SetEffectTime'
;   K[8]='UpdatePerSecond'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('LuckyBlastActivityItemSpreadEffect')] = R0
0002  GETTABUP  R0 = _ENV[K0('LuckyBlastActivityItemSpreadEffect')]
0003  GETTABUP  R1 = _ENV[K0('LuckyBlastActivityItemSpreadEffect')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  GETTABUP  R0 = _ENV[K0('LuckyBlastActivityItemSpreadEffect')]
0006  CLOSURE   R1 = closure proto0
0007  SETTABLE  R0[K2('Init')] = R1
0008  GETTABUP  R0 = _ENV[K0('LuckyBlastActivityItemSpreadEffect')]
0009  CLOSURE   R1 = closure proto1
0010  SETTABLE  R0[K3('_InitModelData')] = R1
0011  GETTABUP  R0 = _ENV[K0('LuckyBlastActivityItemSpreadEffect')]
0012  CLOSURE   R1 = closure proto2
0013  SETTABLE  R0[K4('_InitView')] = R1
0014  GETTABUP  R0 = _ENV[K0('LuckyBlastActivityItemSpreadEffect')]
0015  CLOSURE   R1 = closure proto3
0016  SETTABLE  R0[K5('GetModel')] = R1
0017  GETTABUP  R0 = _ENV[K0('LuckyBlastActivityItemSpreadEffect')]
0018  CLOSURE   R1 = closure proto4
0019  SETTABLE  R0[K6('TrySyncEffectTime')] = R1
0020  GETTABUP  R0 = _ENV[K0('LuckyBlastActivityItemSpreadEffect')]
0021  CLOSURE   R1 = closure proto5
0022  SETTABLE  R0[K7('SetEffectTime')] = R1
0023  GETTABUP  R0 = _ENV[K0('LuckyBlastActivityItemSpreadEffect')]
0024  CLOSURE   R1 = closure proto6
0025  SETTABLE  R0[K8('UpdatePerSecond')] = R1
0026  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 17-24 np=4 va=0 ms=6 code=10 consts=6 upvals=0 protos=0
  ;   K[0]='m_model'
  ;   K[1]='m_itemSpreadView'
  ;   K[2]='GetView'
  ;   K[3]='m_itemSpread'
  ;   K[4]='_InitModelData'
  ;   K[5]='_InitView'
  ;   locals: self(0-10), activityModel(0-10), entryLoader(0-10), itemSpread(0-10)
  0000  SETTABLE  R0[K0('m_model')] = R1
  0001  SELF      R5 = R2[K2('GetView')] (self)
  0002  CALL      R4 = call(R4, 1 args, 1 rets)
  0003  SETTABLE  R0[K1('m_itemSpreadView')] = R4
  0004  SETTABLE  R0[K3('m_itemSpread')] = R3
  0005  SELF      R5 = R0[K4('_InitModelData')] (self)
  0006  CALL      R4 = call(R4, 0 args, 1 rets)
  0007  SELF      R5 = R0[K5('_InitView')] (self)
  0008  CALL      R4 = call(R4, 0 args, 1 rets)
  0009  RETURN    return R0..R-1
; ---------- proto1 [_InitModelData] ----------
  ; fn ?  line 26-31 np=1 va=0 ms=7 code=23 consts=11 upvals=1 protos=0
  ;   K[0]='m_bHasTimeLimit'
  ;   K[1]='GetModel'
  ;   K[2]='HasTimeLimit'
  ;   K[3]='m_countDownEndTime'
  ;   K[4]='GetPdChainTriggerEndTime'
  ;   K[5]='GM'
  ;   K[6]='ItemDataModel'
  ;   K[7]='GetChainId'
  ;   K[8]='m_itemSpread'
  ;   K[9]='GetItemModel'
  ;   K[10]='GetType'
  ;   upvals: _ENV
  ;   locals: self(0-23)
  0000  SELF      R2 = R0[K1('GetModel')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  SELF      R2 = R1[K2('HasTimeLimit')] (self)
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  SETTABLE  R0[K0('m_bHasTimeLimit')] = R1
  0005  GETTABLE  R1 = R0[K0('m_bHasTimeLimit')]
  0006  TEST      if not R1 then   -> -131064
  0007  JMP       (jump)   -> 22
  0008  SELF      R2 = R0[K1('GetModel')] (self)
  0009  CALL      R1 = call(R1, 1 args, 1 rets)
  0010  SELF      R2 = R1[K4('GetPdChainTriggerEndTime')] (self)
  0011  GETTABUP  R3 = _ENV[K5('GM')]
  0012  GETTABLE  R3 = R3[K6('ItemDataModel')]
  0013  SELF      R4 = R3[K7('GetChainId')] (self)
  0014  GETTABLE  R5 = R0[K8('m_itemSpread')]
  0015  SELF      R6 = R5[K9('GetItemModel')] (self)
  0016  CALL      R5 = call(R5, 1 args, 1 rets)
  0017  SELF      R6 = R5[K10('GetType')] (self)
  0018  CALL      R5 = call(R5, -1 args, 1 rets)
  0019  CALL      R3 = call(R3, -1 args, -1 rets)
  0020  CALL      R1 = call(R1, 1 args, -1 rets)
  0021  SETTABLE  R0[K3('m_countDownEndTime')] = R1
  0022  RETURN    return R0..R-1
; ---------- proto2 [_InitView] ----------
  ; fn ?  line 33-37 np=1 va=0 ms=4 code=10 consts=6 upvals=1 protos=0
  ;   K[0]='TrySyncEffectTime'
  ;   K[1]='UIUtil'
  ;   K[2]='SetActive'
  ;   K[3]='m_countDownGo'
  ;   K[4]='m_bHasTimeLimit'
  ;   K[5]='UpdatePerSecond'
  ;   upvals: _ENV
  ;   locals: self(0-10)
  0000  SELF      R2 = R0[K0('TrySyncEffectTime')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  GETTABUP  R1 = _ENV[K1('UIUtil')]
  0003  GETTABLE  R1 = R1[K2('SetActive')]
  0004  GETTABLE  R2 = R0[K3('m_countDownGo')]
  0005  GETTABLE  R3 = R0[K4('m_bHasTimeLimit')]
  0006  CALL      R1 = call(R1, 0 args, 2 rets)
  0007  SELF      R2 = R0[K5('UpdatePerSecond')] (self)
  0008  CALL      R1 = call(R1, 0 args, 1 rets)
  0009  RETURN    return R0..R-1
; ---------- proto3 [GetModel] ----------
  ; fn ?  line 39-41 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_model'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto4 [TrySyncEffectTime] ----------
  ; fn ?  line 44-55 np=1 va=0 ms=6 code=24 consts=10 upvals=1 protos=0
  ;   K[0]='m_itemSpreadView'
  ;   K[1]='GetHintEffectGo'
  ;   K[2]=nil
  ;   K[3]='GetComponentInChildren'
  ;   K[4]='typeof'
  ;   K[5]='ParticleSystem'
  ;   K[6]='UIUtil'
  ;   K[7]='IsEmptyComponent'
  ;   K[8]='SetEffectTime'
  ;   K[9]='time'
  ;   upvals: _ENV
  ;   locals: self(0-24), hintEffectGo(3-24), hintEffect(11-24)
  0000  GETTABLE  R1 = R0[K0('m_itemSpreadView')]
  0001  SELF      R2 = R1[K1('GetHintEffectGo')] (self)
  0002  CALL      R1 = call(R1, 1 args, 1 rets)
  0003  EQ        if R0 eq K2(nil)   -> -130297
  0004  JMP       (jump)   -> 6
  0005  RETURN    return R0..R-1
  0006  SELF      R3 = R1[K3('GetComponentInChildren')] (self)
  0007  GETTABUP  R4 = _ENV[K4('typeof')]
  0008  GETTABUP  R5 = _ENV[K5('ParticleSystem')]
  0009  CALL      R4 = call(R4, -1 args, 1 rets)
  0010  CALL      R2 = call(R2, 1 args, -1 rets)
  0011  EQ        if R1 eq K2(nil)   -> -129777
  0012  JMP       (jump)   -> 19
  0013  GETTABUP  R3 = _ENV[K6('UIUtil')]
  0014  GETTABLE  R3 = R3[K7('IsEmptyComponent')]
  0015  MOVE      R4 = R0
  0016  CALL      R3 = call(R3, 1 args, 1 rets)
  0017  TEST      if not R3 then   -> -131053
  0018  JMP       (jump)   -> 20
  0019  RETURN    return R0..R-1
  0020  SELF      R4 = R0[K8('SetEffectTime')] (self)
  0021  GETTABLE  R5 = R2[K9('time')]
  0022  CALL      R3 = call(R3, 0 args, 2 rets)
  0023  RETURN    return R0..R-1
; ---------- proto5 [SetEffectTime] ----------
  ; fn ?  line 57-60 np=2 va=0 ms=5 code=8 consts=3 upvals=0 protos=0
  ;   K[0]='m_particleSystem'
  ;   K[1]='Simulate'
  ;   K[2]='Play'
  ;   locals: self(0-8), time(0-8)
  0000  GETTABLE  R2 = R0[K0('m_particleSystem')]
  0001  SELF      R3 = R2[K1('Simulate')] (self)
  0002  MOVE      R4 = R0
  0003  CALL      R2 = call(R2, 0 args, 2 rets)
  0004  GETTABLE  R2 = R0[K0('m_particleSystem')]
  0005  SELF      R3 = R2[K2('Play')] (self)
  0006  CALL      R2 = call(R2, 0 args, 1 rets)
  0007  RETURN    return R0..R-1
; ---------- proto6 [UpdatePerSecond] ----------
  ; fn ?  line 62-68 np=1 va=0 ms=8 code=29 consts=15 upvals=1 protos=0
  ;   K[0]='m_bHasTimeLimit'
  ;   K[1]='UIUtil'
  ;   K[2]='IsEmptyComponent'
  ;   K[3]='m_countDownText'
  ;   K[4]='math'
  ;   K[5]='max'
  ;   K[6]=0
  ;   K[7]='m_countDownEndTime'
  ;   K[8]='GM'
  ;   K[9]='GameModel'
  ;   K[10]='GetServerTime'
  ;   K[11]='text'
  ;   K[12]='TimeUtil'
  ;   K[13]='ParseTimeDescription'
  ;   K[14]=2
  ;   upvals: _ENV
  ;   locals: self(0-29), leftDuration(19-28)
  0000  GETTABLE  R1 = R0[K0('m_bHasTimeLimit')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 28
  0003  GETTABUP  R1 = _ENV[K1('UIUtil')]
  0004  GETTABLE  R1 = R1[K2('IsEmptyComponent')]
  0005  GETTABLE  R2 = R0[K3('m_countDownText')]
  0006  CALL      R1 = call(R1, 1 args, 1 rets)
  0007  TEST      if not R1 then   -> -131062
  0008  JMP       (jump)   -> 28
  0009  GETTABUP  R1 = _ENV[K4('math')]
  0010  GETTABLE  R1 = R1[K5('max')]
  0011  LOADK     R2 = K6 0
  0012  GETTABLE  R3 = R0[K7('m_countDownEndTime')]
  0013  GETTABUP  R4 = _ENV[K8('GM')]
  0014  GETTABLE  R4 = R4[K9('GameModel')]
  0015  SELF      R5 = R4[K10('GetServerTime')] (self)
  0016  CALL      R4 = call(R4, 1 args, 1 rets)
  0017  SUB       R3 = R4 sub R3
  0018  CALL      R1 = call(R1, 1 args, 2 rets)
  0019  GETTABLE  R2 = R0[K3('m_countDownText')]
  0020  GETTABUP  R3 = _ENV[K12('TimeUtil')]
  0021  GETTABLE  R3 = R3[K13('ParseTimeDescription')]
  0022  MOVE      R4 = R0
  0023  LOADK     R5 = K14 2
  0024  LOADBOOL  R6 = false
  0025  LOADBOOL  R7 = false
  0026  CALL      R3 = call(R3, 1 args, 4 rets)
  0027  SETTABLE  R2[K11('text')] = R3
  0028  RETURN    return R0..R-1
