# UI_SubView_ElecCountdownUI_382.luac
; fn @ElecCountdownUI.lua  line 0-0 np=0 va=1 ms=2 code=12 consts=4 upvals=1 protos=2
;   K[0]='ElecCountdownUI'
;   K[1]='__index'
;   K[2]='Init'
;   K[3]='UpdatePerSecond'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('ElecCountdownUI')] = R0
0002  GETTABUP  R0 = _ENV[K0('ElecCountdownUI')]
0003  GETTABUP  R1 = _ENV[K0('ElecCountdownUI')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  GETTABUP  R0 = _ENV[K0('ElecCountdownUI')]
0006  CLOSURE   R1 = closure proto0
0007  SETTABLE  R0[K2('Init')] = R1
0008  GETTABUP  R0 = _ENV[K0('ElecCountdownUI')]
0009  CLOSURE   R1 = closure proto1
0010  SETTABLE  R0[K3('UpdatePerSecond')] = R1
0011  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 4-7 np=2 va=0 ms=4 code=4 consts=2 upvals=0 protos=0
  ;   K[0]='m_endTime'
  ;   K[1]='UpdatePerSecond'
  ;   locals: self(0-4), endTime(0-4)
  0000  SETTABLE  R0[K0('m_endTime')] = R1
  0001  SELF      R3 = R0[K1('UpdatePerSecond')] (self)
  0002  CALL      R2 = call(R2, 0 args, 1 rets)
  0003  RETURN    return R0..R-1
; ---------- proto1 [UpdatePerSecond] ----------
  ; fn ?  line 9-18 np=1 va=0 ms=7 code=30 consts=12 upvals=1 protos=0
  ;   K[0]='m_endTime'
  ;   K[1]='GM'
  ;   K[2]='GameModel'
  ;   K[3]='GetServerTime'
  ;   K[4]='TimeUtil'
  ;   K[5]='ParseTimeDescription'
  ;   K[6]=2
  ;   K[7]='m_time1'
  ;   K[8]='text'
  ;   K[9]=1
  ;   K[10]=''
  ;   K[11]='m_time2'
  ;   upvals: _ENV
  ;   locals: self(0-30), remain(10-30), _(17-30), sepResult(17-30)
  0000  GETTABLE  R1 = R0[K0('m_endTime')]
  0001  TEST      if not R1 then   -> -131068
  0002  JMP       (jump)   -> 4
  0003  RETURN    return R0..R-1
  0004  GETTABLE  R1 = R0[K0('m_endTime')]
  0005  GETTABUP  R2 = _ENV[K1('GM')]
  0006  GETTABLE  R2 = R2[K2('GameModel')]
  0007  SELF      R3 = R2[K3('GetServerTime')] (self)
  0008  CALL      R2 = call(R2, 1 args, 1 rets)
  0009  SUB       R1 = R2 sub R1
  0010  GETTABUP  R2 = _ENV[K4('TimeUtil')]
  0011  GETTABLE  R2 = R2[K5('ParseTimeDescription')]
  0012  MOVE      R3 = R0
  0013  LOADK     R4 = K6 2
  0014  LOADBOOL  R5 = true
  0015  LOADBOOL  R6 = false
  0016  CALL      R2 = call(R2, 2 args, 4 rets)
  0017  GETTABLE  R4 = R0[K7('m_time1')]
  0018  GETTABLE  R5 = R3[K9(1)]
  0019  TEST      if not R5 then   -> -131050
  0020  JMP       (jump)   -> 22
  0021  LOADK     R5 = K10 ''
  0022  SETTABLE  R4[K8('text')] = R5
  0023  GETTABLE  R4 = R0[K11('m_time2')]
  0024  GETTABLE  R5 = R3[K6(2)]
  0025  TEST      if not R5 then   -> -131044
  0026  JMP       (jump)   -> 28
  0027  LOADK     R5 = K10 ''
  0028  SETTABLE  R4[K8('text')] = R5
  0029  RETURN    return R0..R-1
