# TimeLimitedProgressActivity_Model_TimeLimitedActivityProgressConfig_1700.luac
; fn @TimeLimitedActivityProgressConfig.lua  line 0-0 np=0 va=1 ms=3 code=21 consts=9 upvals=1 protos=4
;   K[0]='TimeLimitedActivityProgressConfig'
;   K[1]='setmetatable'
;   K[2]='ActivityProgressConfig'
;   K[3]='__index'
;   K[4]='Create'
;   K[5]='TimeLimitedActivityProgressConfig'
;   K[6]='_Init'
;   K[7]='GetTimeLimitRewards'
;   K[8]='GetTimeLimitDuration'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  GETTABUP  R2 = _ENV[K2('ActivityProgressConfig')]
0003  CALL      R0 = call(R0, 1 args, 2 rets)
0004  SETTABUP  _ENV[K0('TimeLimitedActivityProgressConfig')] = R0
0005  GETTABUP  R0 = _ENV[K0('TimeLimitedActivityProgressConfig')]
0006  GETTABUP  R1 = _ENV[K0('TimeLimitedActivityProgressConfig')]
0007  SETTABLE  R0[K3('__index')] = R1
0008  GETTABUP  R0 = _ENV[K0('TimeLimitedActivityProgressConfig')]
0009  CLOSURE   R1 = closure proto0
0010  SETTABLE  R0[K4('Create')] = R1
0011  GETTABUP  R0 = _ENV[K5('TimeLimitedActivityProgressConfig')]
0012  CLOSURE   R1 = closure proto1
0013  SETTABLE  R0[K6('_Init')] = R1
0014  GETTABUP  R0 = _ENV[K5('TimeLimitedActivityProgressConfig')]
0015  CLOSURE   R1 = closure proto2
0016  SETTABLE  R0[K7('GetTimeLimitRewards')] = R1
0017  GETTABUP  R0 = _ENV[K5('TimeLimitedActivityProgressConfig')]
0018  CLOSURE   R1 = closure proto3
0019  SETTABLE  R0[K8('GetTimeLimitDuration')] = R1
0020  RETURN    return R0..R-1
; ---------- proto0 [Create] ----------
  ; fn ?  line 5-10 np=1 va=0 ms=4 code=8 consts=3 upvals=1 protos=0
  ;   K[0]='setmetatable'
  ;   K[1]='TimeLimitedActivityProgressConfig'
  ;   K[2]='_Init'
  ;   upvals: _ENV
  ;   locals: rawConfig(0-8), instance(4-8)
  0000  GETTABUP  R1 = _ENV[K0('setmetatable')]
  0001  MOVE      R2 = R0
  0002  GETTABUP  R3 = _ENV[K1('TimeLimitedActivityProgressConfig')]
  0003  CALL      R1 = call(R1, 1 args, 2 rets)
  0004  SELF      R3 = R1[K2('_Init')] (self)
  0005  CALL      R2 = call(R2, 0 args, 1 rets)
  0006  RETURN    return R1..R0
  0007  RETURN    return R0..R-1
; ---------- proto1 [_Init] ----------
  ; fn ?  line 12-24 np=1 va=1 ms=6 code=50 consts=18 upvals=1 protos=0
  ;   K[0]='ActivityProgressConfig'
  ;   K[1]='_Init'
  ;   K[2]='Table'
  ;   K[3]='IsEmpty'
  ;   K[4]='timelimitRewards'
  ;   K[5]='RewardApi'
  ;   K[6]='CryptRewards'
  ;   K[7]='GameConfig'
  ;   K[8]='IsTestMode'
  ;   K[9]='tostring'
  ;   K[10]='GetLevel'
  ;   K[11]='Log'
  ;   K[12]='Assert'
  ;   K[13]='GetTimeLimitRewards'
  ;   K[14]='timelimitRewards字段不允许为空, 请检查, level: '
  ;   K[15]='GetTimeLimitDuration'
  ;   K[16]=nil
  ;   K[17]='timelimitDuration字段不允许为空, 请检查, level: '
  ;   upvals: _ENV
  ;   locals: self(0-50), levelStr(25-49)
  0000  GETTABUP  R1 = _ENV[K0('ActivityProgressConfig')]
  0001  GETTABLE  R1 = R1[K1('_Init')]
  0002  MOVE      R2 = R0
  0003  VARARG    R3 = vararg(0)
  0004  CALL      R1 = call(R1, 0 args, -1 rets)
  0005  GETTABUP  R1 = _ENV[K2('Table')]
  0006  GETTABLE  R1 = R1[K3('IsEmpty')]
  0007  GETTABLE  R2 = R0[K4('timelimitRewards')]
  0008  CALL      R1 = call(R1, 1 args, 1 rets)
  0009  TEST      if not R1 then   -> -131060
  0010  JMP       (jump)   -> 16
  0011  GETTABUP  R1 = _ENV[K5('RewardApi')]
  0012  GETTABLE  R1 = R1[K6('CryptRewards')]
  0013  GETTABLE  R2 = R0[K4('timelimitRewards')]
  0014  LOADBOOL  R3 = true
  0015  CALL      R1 = call(R1, 0 args, 2 rets)
  0016  GETTABUP  R1 = _ENV[K7('GameConfig')]
  0017  GETTABLE  R1 = R1[K8('IsTestMode')]
  0018  CALL      R1 = call(R1, 1 args, 0 rets)
  0019  TEST      if not R1 then   -> -131051
  0020  JMP       (jump)   -> 49
  0021  GETTABUP  R1 = _ENV[K9('tostring')]
  0022  SELF      R3 = R0[K10('GetLevel')] (self)
  0023  CALL      R2 = call(R2, -1 args, 1 rets)
  0024  CALL      R1 = call(R1, 1 args, -1 rets)
  0025  GETTABUP  R2 = _ENV[K11('Log')]
  0026  GETTABLE  R2 = R2[K12('Assert')]
  0027  GETTABUP  R3 = _ENV[K2('Table')]
  0028  GETTABLE  R3 = R3[K3('IsEmpty')]
  0029  SELF      R5 = R0[K13('GetTimeLimitRewards')] (self)
  0030  CALL      R4 = call(R4, -1 args, 1 rets)
  0031  CALL      R3 = call(R3, 1 args, -1 rets)
  0032  NOT       R3 = not R0
  0033  LOADK     R4 = K14 'timelimitRewards字段不允许为空, 请检查, level: '
  0034  MOVE      R5 = R0
  0035  CONCAT    R4 = concat(R4..R4)
  0036  CALL      R2 = call(R2, 0 args, 2 rets)
  0037  GETTABUP  R2 = _ENV[K11('Log')]
  0038  GETTABLE  R2 = R2[K12('Assert')]
  0039  SELF      R4 = R0[K15('GetTimeLimitDuration')] (self)
  0040  CALL      R3 = call(R3, 1 args, 1 rets)
  0041  EQ        if R0 eq K16(nil)   -> -129221
  0042  JMP       (jump)   -> 44
  0043  LOADBOOL  R3 = false
  0044  LOADBOOL  R3 = true
  0045  LOADK     R4 = K17 'timelimitDuration字段不允许为空, 请检查, level: '
  0046  MOVE      R5 = R0
  0047  CONCAT    R4 = concat(R4..R4)
  0048  CALL      R2 = call(R2, 0 args, 2 rets)
  0049  RETURN    return R0..R-1
; ---------- proto2 [GetTimeLimitRewards] ----------
  ; fn ?  line 27-29 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='timelimitRewards'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('timelimitRewards')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto3 [GetTimeLimitDuration] ----------
  ; fn ?  line 32-34 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='timelimitDuration'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('timelimitDuration')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
