# LuckyBlastActivity_View_LuckyBlastActivityHelpWindow_1786.luac
; fn @LuckyBlastActivityHelpWindow.lua  line 0-0 np=0 va=1 ms=3 code=21 consts=10 upvals=1 protos=3
;   K[0]='LuckyBlastActivityHelpWindow'
;   K[1]='setmetatable'
;   K[2]='windowMaskAlpha'
;   K[3]='EWindowMaskAlpha'
;   K[4]='Dark'
;   K[5]='LuckyBlastActivityBaseWindow'
;   K[6]='__index'
;   K[7]='_InitModelData'
;   K[8]='_InitView'
;   K[9]='_GetMaxTextKey'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  GETTABUP  R2 = _ENV[K3('EWindowMaskAlpha')]
0003  GETTABLE  R2 = R2[K4('Dark')]
0004  SETTABLE  R1[K2('windowMaskAlpha')] = R2
0005  GETTABUP  R2 = _ENV[K5('LuckyBlastActivityBaseWindow')]
0006  CALL      R0 = call(R0, 1 args, 2 rets)
0007  SETTABUP  _ENV[K0('LuckyBlastActivityHelpWindow')] = R0
0008  GETTABUP  R0 = _ENV[K0('LuckyBlastActivityHelpWindow')]
0009  GETTABUP  R1 = _ENV[K0('LuckyBlastActivityHelpWindow')]
0010  SETTABLE  R0[K6('__index')] = R1
0011  GETTABUP  R0 = _ENV[K0('LuckyBlastActivityHelpWindow')]
0012  CLOSURE   R1 = closure proto0
0013  SETTABLE  R0[K7('_InitModelData')] = R1
0014  GETTABUP  R0 = _ENV[K0('LuckyBlastActivityHelpWindow')]
0015  CLOSURE   R1 = closure proto1
0016  SETTABLE  R0[K8('_InitView')] = R1
0017  GETTABUP  R0 = _ENV[K0('LuckyBlastActivityHelpWindow')]
0018  CLOSURE   R1 = closure proto2
0019  SETTABLE  R0[K9('_GetMaxTextKey')] = R1
0020  RETURN    return R0..R-1
; ---------- proto0 [_InitModelData] ----------
  ; fn ?  line 13-19 np=1 va=0 ms=6 code=14 consts=6 upvals=0 protos=0
  ;   K[0]='GetModel'
  ;   K[1]='m_bHasTimeLimit'
  ;   K[2]='HasTimeLimit'
  ;   K[3]='m_step2CountDownDuration'
  ;   K[4]='GetRoundTimeByStage'
  ;   K[5]='GetNextStage'
  ;   locals: self(0-14), model(2-14)
  0000  SELF      R2 = R0[K0('GetModel')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  SELF      R3 = R1[K2('HasTimeLimit')] (self)
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  SETTABLE  R0[K1('m_bHasTimeLimit')] = R2
  0005  GETTABLE  R2 = R0[K1('m_bHasTimeLimit')]
  0006  TEST      if not R2 then   -> -131064
  0007  JMP       (jump)   -> 13
  0008  SELF      R3 = R1[K4('GetRoundTimeByStage')] (self)
  0009  SELF      R5 = R1[K5('GetNextStage')] (self)
  0010  CALL      R4 = call(R4, -1 args, 1 rets)
  0011  CALL      R2 = call(R2, 1 args, -1 rets)
  0012  SETTABLE  R0[K3('m_step2CountDownDuration')] = R2
  0013  RETURN    return R0..R-1
; ---------- proto1 [_InitView] ----------
  ; fn ?  line 22-28 np=1 va=0 ms=7 code=26 consts=15 upvals=1 protos=0
  ;   K[0]='m_progressMaxText'
  ;   K[1]='text'
  ;   K[2]='GM'
  ;   K[3]='GameTextModel'
  ;   K[4]='GetText'
  ;   K[5]='_GetMaxTextKey'
  ;   K[6]='UIUtil'
  ;   K[7]='SetActive'
  ;   K[8]='m_step2CountDownGo'
  ;   K[9]='m_bHasTimeLimit'
  ;   K[10]='m_step2CountDownText'
  ;   K[11]='TimeUtil'
  ;   K[12]='ParseTimeDescription'
  ;   K[13]='m_step2CountDownDuration'
  ;   K[14]=2
  ;   upvals: _ENV
  ;   locals: self(0-26)
  0000  GETTABLE  R1 = R0[K0('m_progressMaxText')]
  0001  GETTABUP  R2 = _ENV[K2('GM')]
  0002  GETTABLE  R2 = R2[K3('GameTextModel')]
  0003  SELF      R3 = R2[K4('GetText')] (self)
  0004  SELF      R5 = R0[K5('_GetMaxTextKey')] (self)
  0005  CALL      R4 = call(R4, -1 args, 1 rets)
  0006  CALL      R2 = call(R2, 1 args, -1 rets)
  0007  SETTABLE  R1[K1('text')] = R2
  0008  GETTABUP  R1 = _ENV[K6('UIUtil')]
  0009  GETTABLE  R1 = R1[K7('SetActive')]
  0010  GETTABLE  R2 = R0[K8('m_step2CountDownGo')]
  0011  GETTABLE  R3 = R0[K9('m_bHasTimeLimit')]
  0012  CALL      R1 = call(R1, 0 args, 2 rets)
  0013  GETTABLE  R1 = R0[K9('m_bHasTimeLimit')]
  0014  TEST      if not R1 then   -> -131056
  0015  JMP       (jump)   -> 25
  0016  GETTABLE  R1 = R0[K10('m_step2CountDownText')]
  0017  GETTABUP  R2 = _ENV[K11('TimeUtil')]
  0018  GETTABLE  R2 = R2[K12('ParseTimeDescription')]
  0019  GETTABLE  R3 = R0[K13('m_step2CountDownDuration')]
  0020  LOADK     R4 = K14 2
  0021  LOADBOOL  R5 = false
  0022  LOADBOOL  R6 = false
  0023  CALL      R2 = call(R2, 1 args, 4 rets)
  0024  SETTABLE  R1[K1('text')] = R2
  0025  RETURN    return R0..R-1
; ---------- proto2 [_GetMaxTextKey] ----------
  ; fn ?  line 30-36 np=1 va=0 ms=2 code=9 consts=3 upvals=0 protos=0
  ;   K[0]='m_bHasTimeLimit'
  ;   K[1]='luckyBlast_loopmax_max'
  ;   K[2]='luckyBlast_done_max'
  ;   locals: self(0-9)
  0000  GETTABLE  R1 = R0[K0('m_bHasTimeLimit')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 6
  0003  LOADK     R1 = K1 'luckyBlast_loopmax_max'
  0004  RETURN    return R1..R0
  0005  JMP       (jump)   -> 8
  0006  LOADK     R1 = K2 'luckyBlast_done_max'
  0007  RETURN    return R1..R0
  0008  RETURN    return R0..R-1
