# FrameDecoActivity_Model_FrameDecoActivityStageConfig_1728.luac
; fn @FrameDecoActivityStageConfig.lua  line 0-0 np=0 va=1 ms=2 code=36 consts=13 upvals=1 protos=10
;   K[0]='FrameDecoActivityStageConfig'
;   K[1]='__index'
;   K[2]='Create'
;   K[3]='FrameDecoActivityStageConfig'
;   K[4]='_Init'
;   K[5]='GetStage'
;   K[6]='GetIndex'
;   K[7]='GetDecoSlot'
;   K[8]='GetRewards'
;   K[9]='GetTokenNeeded'
;   K[10]='GetUICode'
;   K[11]='IsStageReward'
;   K[12]='IsDecoReward'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('FrameDecoActivityStageConfig')] = R0
0002  GETTABUP  R0 = _ENV[K0('FrameDecoActivityStageConfig')]
0003  GETTABUP  R1 = _ENV[K0('FrameDecoActivityStageConfig')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  GETTABUP  R0 = _ENV[K0('FrameDecoActivityStageConfig')]
0006  CLOSURE   R1 = closure proto0
0007  SETTABLE  R0[K2('Create')] = R1
0008  GETTABUP  R0 = _ENV[K3('FrameDecoActivityStageConfig')]
0009  CLOSURE   R1 = closure proto1
0010  SETTABLE  R0[K4('_Init')] = R1
0011  GETTABUP  R0 = _ENV[K3('FrameDecoActivityStageConfig')]
0012  CLOSURE   R1 = closure proto2
0013  SETTABLE  R0[K5('GetStage')] = R1
0014  GETTABUP  R0 = _ENV[K3('FrameDecoActivityStageConfig')]
0015  CLOSURE   R1 = closure proto3
0016  SETTABLE  R0[K6('GetIndex')] = R1
0017  GETTABUP  R0 = _ENV[K3('FrameDecoActivityStageConfig')]
0018  CLOSURE   R1 = closure proto4
0019  SETTABLE  R0[K7('GetDecoSlot')] = R1
0020  GETTABUP  R0 = _ENV[K3('FrameDecoActivityStageConfig')]
0021  CLOSURE   R1 = closure proto5
0022  SETTABLE  R0[K8('GetRewards')] = R1
0023  GETTABUP  R0 = _ENV[K3('FrameDecoActivityStageConfig')]
0024  CLOSURE   R1 = closure proto6
0025  SETTABLE  R0[K9('GetTokenNeeded')] = R1
0026  GETTABUP  R0 = _ENV[K3('FrameDecoActivityStageConfig')]
0027  CLOSURE   R1 = closure proto7
0028  SETTABLE  R0[K10('GetUICode')] = R1
0029  GETTABUP  R0 = _ENV[K3('FrameDecoActivityStageConfig')]
0030  CLOSURE   R1 = closure proto8
0031  SETTABLE  R0[K11('IsStageReward')] = R1
0032  GETTABUP  R0 = _ENV[K3('FrameDecoActivityStageConfig')]
0033  CLOSURE   R1 = closure proto9
0034  SETTABLE  R0[K12('IsDecoReward')] = R1
0035  RETURN    return R0..R-1
; ---------- proto0 [Create] ----------
  ; fn ?  line 10-15 np=1 va=0 ms=4 code=8 consts=3 upvals=1 protos=0
  ;   K[0]='setmetatable'
  ;   K[1]='FrameDecoActivityStageConfig'
  ;   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('FrameDecoActivityStageConfig')]
  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 17-19 np=1 va=0 ms=4 code=6 consts=3 upvals=1 protos=0
  ;   K[0]='RewardApi'
  ;   K[1]='CryptRewards'
  ;   K[2]='rewards'
  ;   upvals: _ENV
  ;   locals: self(0-6)
  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  RETURN    return R0..R-1
; ---------- proto2 [GetStage] ----------
  ; fn ?  line 21-23 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='stage'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('stage')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto3 [GetIndex] ----------
  ; fn ?  line 25-27 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='index'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('index')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto4 [GetDecoSlot] ----------
  ; fn ?  line 29-31 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='slot'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('slot')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto5 [GetRewards] ----------
  ; fn ?  line 33-35 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
; ---------- proto6 [GetTokenNeeded] ----------
  ; fn ?  line 37-39 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='need'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('need')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto7 [GetUICode] ----------
  ; fn ?  line 41-43 np=1 va=0 ms=2 code=7 consts=3 upvals=1 protos=0
  ;   K[0]='uiCode'
  ;   K[1]='ImageFileConfigName'
  ;   K[2]='framedeco_box_1'
  ;   upvals: _ENV
  ;   locals: self(0-7)
  0000  GETTABLE  R1 = R0[K0('uiCode')]
  0001  TEST      if not R1 then   -> -131068
  0002  JMP       (jump)   -> 5
  0003  GETTABUP  R1 = _ENV[K1('ImageFileConfigName')]
  0004  GETTABLE  R1 = R1[K2('framedeco_box_1')]
  0005  RETURN    return R1..R0
  0006  RETURN    return R0..R-1
; ---------- proto8 [IsStageReward] ----------
  ; fn ?  line 46-48 np=1 va=0 ms=3 code=8 consts=2 upvals=0 protos=0
  ;   K[0]='GetIndex'
  ;   K[1]=nil
  ;   locals: self(0-8)
  0000  SELF      R2 = R0[K0('GetIndex')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  EQ        if R1 eq K1(nil)   -> -130299
  0003  JMP       (jump)   -> 5
  0004  LOADBOOL  R1 = false
  0005  LOADBOOL  R1 = true
  0006  RETURN    return R1..R0
  0007  RETURN    return R0..R-1
; ---------- proto9 [IsDecoReward] ----------
  ; fn ?  line 51-53 np=1 va=0 ms=3 code=8 consts=2 upvals=0 protos=0
  ;   K[0]='GetDecoSlot'
  ;   K[1]=nil
  ;   locals: self(0-8)
  0000  SELF      R2 = R0[K0('GetDecoSlot')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  EQ        if R0 eq K1(nil)   -> -130299
  0003  JMP       (jump)   -> 5
  0004  LOADBOOL  R1 = false
  0005  LOADBOOL  R1 = true
  0006  RETURN    return R1..R0
  0007  RETURN    return R0..R-1
