# Model_Activity_ActivityQuest_ActivityQuestConfig_168.luac
; fn @ActivityQuestConfig.lua  line 0-0 np=0 va=1 ms=2 code=36 consts=13 upvals=1 protos=10
;   K[0]='ActivityQuestConfig'
;   K[1]='__index'
;   K[2]='Create'
;   K[3]='ActivityQuestConfig'
;   K[4]='_Init'
;   K[5]='GetGroup'
;   K[6]='GetIndex'
;   K[7]='GetQuestType'
;   K[8]='GetScore'
;   K[9]='_GetCycle'
;   K[10]='GetRewards'
;   K[11]='GetPaidRewards'
;   K[12]='IsCycleQuest'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('ActivityQuestConfig')] = R0
0002  GETTABUP  R0 = _ENV[K0('ActivityQuestConfig')]
0003  GETTABUP  R1 = _ENV[K0('ActivityQuestConfig')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  GETTABUP  R0 = _ENV[K0('ActivityQuestConfig')]
0006  CLOSURE   R1 = closure proto0
0007  SETTABLE  R0[K2('Create')] = R1
0008  GETTABUP  R0 = _ENV[K3('ActivityQuestConfig')]
0009  CLOSURE   R1 = closure proto1
0010  SETTABLE  R0[K4('_Init')] = R1
0011  GETTABUP  R0 = _ENV[K3('ActivityQuestConfig')]
0012  CLOSURE   R1 = closure proto2
0013  SETTABLE  R0[K5('GetGroup')] = R1
0014  GETTABUP  R0 = _ENV[K3('ActivityQuestConfig')]
0015  CLOSURE   R1 = closure proto3
0016  SETTABLE  R0[K6('GetIndex')] = R1
0017  GETTABUP  R0 = _ENV[K3('ActivityQuestConfig')]
0018  CLOSURE   R1 = closure proto4
0019  SETTABLE  R0[K7('GetQuestType')] = R1
0020  GETTABUP  R0 = _ENV[K3('ActivityQuestConfig')]
0021  CLOSURE   R1 = closure proto5
0022  SETTABLE  R0[K8('GetScore')] = R1
0023  GETTABUP  R0 = _ENV[K3('ActivityQuestConfig')]
0024  CLOSURE   R1 = closure proto6
0025  SETTABLE  R0[K9('_GetCycle')] = R1
0026  GETTABUP  R0 = _ENV[K3('ActivityQuestConfig')]
0027  CLOSURE   R1 = closure proto7
0028  SETTABLE  R0[K10('GetRewards')] = R1
0029  GETTABUP  R0 = _ENV[K3('ActivityQuestConfig')]
0030  CLOSURE   R1 = closure proto8
0031  SETTABLE  R0[K11('GetPaidRewards')] = R1
0032  GETTABUP  R0 = _ENV[K3('ActivityQuestConfig')]
0033  CLOSURE   R1 = closure proto9
0034  SETTABLE  R0[K12('IsCycleQuest')] = R1
0035  RETURN    return R0..R-1
; ---------- proto0 [Create] ----------
  ; fn ?  line 12-17 np=1 va=0 ms=4 code=8 consts=3 upvals=1 protos=0
  ;   K[0]='setmetatable'
  ;   K[1]='ActivityQuestConfig'
  ;   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('ActivityQuestConfig')]
  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 19-22 np=1 va=0 ms=4 code=11 consts=4 upvals=1 protos=0
  ;   K[0]='RewardApi'
  ;   K[1]='CryptRewards'
  ;   K[2]='rewards'
  ;   K[3]='paidRewards'
  ;   upvals: _ENV
  ;   locals: self(0-11)
  0000  GETTABUP  R1 = _ENV[K0('RewardApi')]
  0001  GETTABLE  R1 = R1[K1('CryptRewards')]
  0002  GETTABLE  R2 = R0[K2('rewards')]
  0003  LOADBOOL  R3 = true
  0004  CALL      R1 = call(R1, 0 args, 2 rets)
  0005  GETTABUP  R1 = _ENV[K0('RewardApi')]
  0006  GETTABLE  R1 = R1[K1('CryptRewards')]
  0007  GETTABLE  R2 = R0[K3('paidRewards')]
  0008  LOADBOOL  R3 = true
  0009  CALL      R1 = call(R1, 0 args, 2 rets)
  0010  RETURN    return R0..R-1
; ---------- proto2 [GetGroup] ----------
  ; fn ?  line 25-27 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='group'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('group')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto3 [GetIndex] ----------
  ; fn ?  line 30-32 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='task_index'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('task_index')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto4 [GetQuestType] ----------
  ; fn ?  line 35-37 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='task_type'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('task_type')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto5 [GetScore] ----------
  ; fn ?  line 40-42 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='task_num'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('task_num')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto6 [_GetCycle] ----------
  ; fn ?  line 45-47 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='cycle'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('cycle')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto7 [GetRewards] ----------
  ; fn ?  line 50-52 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='rewards'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('rewards')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto8 [GetPaidRewards] ----------
  ; fn ?  line 55-57 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='paidRewards'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('paidRewards')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto9 [IsCycleQuest] ----------
  ; fn ?  line 60-62 np=1 va=0 ms=3 code=8 consts=2 upvals=0 protos=0
  ;   K[0]='_GetCycle'
  ;   K[1]=1
  ;   locals: self(0-8)
  0000  SELF      R2 = R0[K0('_GetCycle')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  EQ        if R1 eq K1(1)   -> -130299
  0003  JMP       (jump)   -> 5
  0004  LOADBOOL  R1 = false
  0005  LOADBOOL  R1 = true
  0006  RETURN    return R1..R0
  0007  RETURN    return R0..R-1
