# DoubleWheelActivity_View_DoubleWheelActivityWheelCell_2014.luac
; fn @DoubleWheelActivityWheelCell.lua  line 0-0 np=0 va=1 ms=2 code=42 consts=14 upvals=1 protos=12
;   K[0]='DoubleWheelActivityWheelCell'
;   K[1]='__index'
;   K[2]='Init'
;   K[3]='_InitModelData'
;   K[4]='_InitView'
;   K[5]='_UpdateView'
;   K[6]='GetWheel'
;   K[7]='GetModel'
;   K[8]='GetRewardContent'
;   K[9]='_OnUpdateRewards'
;   K[10]='ShowResultEffect'
;   K[11]='ToRewardTaken'
;   K[12]='SetPaidRewardsClaimed'
;   K[13]='Unlock'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('DoubleWheelActivityWheelCell')] = R0
0002  GETTABUP  R0 = _ENV[K0('DoubleWheelActivityWheelCell')]
0003  GETTABUP  R1 = _ENV[K0('DoubleWheelActivityWheelCell')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  GETTABUP  R0 = _ENV[K0('DoubleWheelActivityWheelCell')]
0006  CLOSURE   R1 = closure proto0
0007  SETTABLE  R0[K2('Init')] = R1
0008  GETTABUP  R0 = _ENV[K0('DoubleWheelActivityWheelCell')]
0009  CLOSURE   R1 = closure proto1
0010  SETTABLE  R0[K3('_InitModelData')] = R1
0011  GETTABUP  R0 = _ENV[K0('DoubleWheelActivityWheelCell')]
0012  CLOSURE   R1 = closure proto2
0013  SETTABLE  R0[K4('_InitView')] = R1
0014  GETTABUP  R0 = _ENV[K0('DoubleWheelActivityWheelCell')]
0015  CLOSURE   R1 = closure proto3
0016  SETTABLE  R0[K5('_UpdateView')] = R1
0017  GETTABUP  R0 = _ENV[K0('DoubleWheelActivityWheelCell')]
0018  CLOSURE   R1 = closure proto4
0019  SETTABLE  R0[K6('GetWheel')] = R1
0020  GETTABUP  R0 = _ENV[K0('DoubleWheelActivityWheelCell')]
0021  CLOSURE   R1 = closure proto5
0022  SETTABLE  R0[K7('GetModel')] = R1
0023  GETTABUP  R0 = _ENV[K0('DoubleWheelActivityWheelCell')]
0024  CLOSURE   R1 = closure proto6
0025  SETTABLE  R0[K8('GetRewardContent')] = R1
0026  GETTABUP  R0 = _ENV[K0('DoubleWheelActivityWheelCell')]
0027  CLOSURE   R1 = closure proto7
0028  SETTABLE  R0[K9('_OnUpdateRewards')] = R1
0029  GETTABUP  R0 = _ENV[K0('DoubleWheelActivityWheelCell')]
0030  CLOSURE   R1 = closure proto8
0031  SETTABLE  R0[K10('ShowResultEffect')] = R1
0032  GETTABUP  R0 = _ENV[K0('DoubleWheelActivityWheelCell')]
0033  CLOSURE   R1 = closure proto9
0034  SETTABLE  R0[K11('ToRewardTaken')] = R1
0035  GETTABUP  R0 = _ENV[K0('DoubleWheelActivityWheelCell')]
0036  CLOSURE   R1 = closure proto10
0037  SETTABLE  R0[K12('SetPaidRewardsClaimed')] = R1
0038  GETTABUP  R0 = _ENV[K0('DoubleWheelActivityWheelCell')]
0039  CLOSURE   R1 = closure proto11
0040  SETTABLE  R0[K13('Unlock')] = R1
0041  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 21-30 np=6 va=0 ms=8 code=10 consts=7 upvals=0 protos=0
  ;   K[0]='m_wheel'
  ;   K[1]='m_model'
  ;   K[2]='m_wheelIndex'
  ;   K[3]='m_rewardIndex'
  ;   K[4]='m_bIsPaid'
  ;   K[5]='_InitModelData'
  ;   K[6]='_InitView'
  ;   locals: self(0-10), wheel(0-10), model(0-10), wheelIndex(0-10), rewardIndex(0-10), bIsPaid(0-10)
  0000  SETTABLE  R0[K0('m_wheel')] = R1
  0001  SETTABLE  R0[K1('m_model')] = R2
  0002  SETTABLE  R0[K2('m_wheelIndex')] = R3
  0003  SETTABLE  R0[K3('m_rewardIndex')] = R4
  0004  SETTABLE  R0[K4('m_bIsPaid')] = R5
  0005  SELF      R7 = R0[K5('_InitModelData')] (self)
  0006  CALL      R6 = call(R6, 0 args, 1 rets)
  0007  SELF      R7 = R0[K6('_InitView')] (self)
  0008  CALL      R6 = call(R6, 0 args, 1 rets)
  0009  RETURN    return R0..R-1
; ---------- proto1 [_InitModelData] ----------
  ; fn ?  line 32-44 np=1 va=0 ms=7 code=44 consts=13 upvals=0 protos=0
  ;   K[0]='GetModel'
  ;   K[1]='GetRewardConfig'
  ;   K[2]='m_wheelIndex'
  ;   K[3]='m_rewardIndex'
  ;   K[4]='m_bIsPaid'
  ;   K[5]='m_arrRewards'
  ;   K[6]='GetPaidRewards'
  ;   K[7]='GetRewards'
  ;   K[8]='GetCurrentWheelIndex'
  ;   K[9]='m_bIsTaken'
  ;   K[10]='IsRewardIndexTaken'
  ;   K[11]='m_bHasPaidThisWheel'
  ;   K[12]='HasPaidThisWheel'
  ;   locals: self(0-44), model(2-44), rewardConfig(6-44), currentWheelIndex(18-44)
  0000  SELF      R2 = R0[K0('GetModel')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  SELF      R3 = R1[K1('GetRewardConfig')] (self)
  0003  GETTABLE  R4 = R0[K2('m_wheelIndex')]
  0004  GETTABLE  R5 = R0[K3('m_rewardIndex')]
  0005  CALL      R2 = call(R2, 1 args, 3 rets)
  0006  GETTABLE  R3 = R0[K4('m_bIsPaid')]
  0007  TEST      if not R3 then   -> -131063
  0008  JMP       (jump)   -> 13
  0009  SELF      R4 = R2[K6('GetPaidRewards')] (self)
  0010  CALL      R3 = call(R3, 1 args, 1 rets)
  0011  SETTABLE  R0[K5('m_arrRewards')] = R3
  0012  JMP       (jump)   -> 16
  0013  SELF      R4 = R2[K7('GetRewards')] (self)
  0014  CALL      R3 = call(R3, 1 args, 1 rets)
  0015  SETTABLE  R0[K5('m_arrRewards')] = R3
  0016  SELF      R4 = R1[K8('GetCurrentWheelIndex')] (self)
  0017  CALL      R3 = call(R3, 1 args, 1 rets)
  0018  GETTABLE  R4 = R0[K2('m_wheelIndex')]
  0019  LT        if R1 lt R3   -> -129000
  0020  JMP       (jump)   -> 29
  0021  GETTABLE  R4 = R0[K2('m_wheelIndex')]
  0022  EQ        if R0 eq R4   -> -129508
  0023  JMP       (jump)   -> 28
  0024  SELF      R5 = R1[K10('IsRewardIndexTaken')] (self)
  0025  GETTABLE  R6 = R0[K3('m_rewardIndex')]
  0026  CALL      R4 = call(R4, 1 args, 2 rets)
  0027  JMP       (jump)   -> 30
  0028  LOADBOOL  R4 = false
  0029  LOADBOOL  R4 = true
  0030  SETTABLE  R0[K9('m_bIsTaken')] = R4
  0031  GETTABLE  R4 = R0[K2('m_wheelIndex')]
  0032  LT        if R1 lt R3   -> -128987
  0033  JMP       (jump)   -> 41
  0034  GETTABLE  R4 = R0[K2('m_wheelIndex')]
  0035  EQ        if R0 eq R4   -> -129495
  0036  JMP       (jump)   -> 40
  0037  SELF      R5 = R1[K12('HasPaidThisWheel')] (self)
  0038  CALL      R4 = call(R4, 1 args, 1 rets)
  0039  JMP       (jump)   -> 42
  0040  LOADBOOL  R4 = false
  0041  LOADBOOL  R4 = true
  0042  SETTABLE  R0[K11('m_bHasPaidThisWheel')] = R4
  0043  RETURN    return R0..R-1
; ---------- proto2 [_InitView] ----------
  ; fn ?  line 46-53 np=1 va=0 ms=6 code=22 consts=14 upvals=1 protos=0
  ;   K[0]='m_rewardContent'
  ;   K[1]='Init'
  ;   K[2]='m_arrRewards'
  ;   K[3]='ERewardScene'
  ;   K[4]='Other'
  ;   K[5]='AddHandlerAndRecordMap'
  ;   K[6]='event'
  ;   K[7]='SimpleRewardContent'
  ;   K[8]='EventType'
  ;   K[9]='OnUpdateRewards'
  ;   K[10]='obj'
  ;   K[11]='method'
  ;   K[12]='_OnUpdateRewards'
  ;   K[13]='_UpdateView'
  ;   upvals: _ENV
  ;   locals: self(0-22)
  0000  GETTABLE  R1 = R0[K0('m_rewardContent')]
  0001  SELF      R2 = R1[K1('Init')] (self)
  0002  GETTABLE  R3 = R0[K2('m_arrRewards')]
  0003  GETTABUP  R4 = _ENV[K3('ERewardScene')]
  0004  GETTABLE  R4 = R4[K4('Other')]
  0005  CALL      R1 = call(R1, 0 args, 3 rets)
  0006  GETTABUP  R1 = _ENV[K5('AddHandlerAndRecordMap')]
  0007  GETTABLE  R2 = R0[K0('m_rewardContent')]
  0008  GETTABLE  R2 = R2[K6('event')]
  0009  GETTABUP  R3 = _ENV[K7('SimpleRewardContent')]
  0010  GETTABLE  R3 = R3[K8('EventType')]
  0011  GETTABLE  R3 = R3[K9('OnUpdateRewards')]
  0012  NEWTABLE  R4 = {} (0 items)
  0013  SETTABLE  R4[K10('obj')] = R0
  0014  GETTABLE  R5 = R0[K12('_OnUpdateRewards')]
  0015  SETTABLE  R4[K11('method')] = R5
  0016  CALL      R1 = call(R1, 0 args, 3 rets)
  0017  SELF      R2 = R0[K12('_OnUpdateRewards')] (self)
  0018  CALL      R1 = call(R1, 0 args, 1 rets)
  0019  SELF      R2 = R0[K13('_UpdateView')] (self)
  0020  CALL      R1 = call(R1, 0 args, 1 rets)
  0021  RETURN    return R0..R-1
; ---------- proto3 [_UpdateView] ----------
  ; fn ?  line 55-61 np=1 va=0 ms=4 code=22 consts=12 upvals=1 protos=0
  ;   K[0]='m_takenBgCanvasGroup'
  ;   K[1]='alpha'
  ;   K[2]='m_bIsTaken'
  ;   K[3]=1
  ;   K[4]=0
  ;   K[5]='m_bIsPaid'
  ;   K[6]='UIUtil'
  ;   K[7]='SetActive'
  ;   K[8]='m_lockWithAni'
  ;   K[9]='gameObject'
  ;   K[10]='m_bHasPaidThisWheel'
  ;   K[11]='_OnUpdateRewards'
  ;   upvals: _ENV
  ;   locals: self(0-22)
  0000  GETTABLE  R1 = R0[K0('m_takenBgCanvasGroup')]
  0001  GETTABLE  R2 = R0[K2('m_bIsTaken')]
  0002  TEST      if not R2 then   -> -131068
  0003  JMP       (jump)   -> 7
  0004  LOADK     R2 = K3 1
  0005  TEST      if not R2 then   -> -131064
  0006  JMP       (jump)   -> 8
  0007  LOADK     R2 = K4 0
  0008  SETTABLE  R1[K1('alpha')] = R2
  0009  GETTABLE  R1 = R0[K5('m_bIsPaid')]
  0010  TEST      if not R1 then   -> -131060
  0011  JMP       (jump)   -> 19
  0012  GETTABUP  R1 = _ENV[K6('UIUtil')]
  0013  GETTABLE  R1 = R1[K7('SetActive')]
  0014  GETTABLE  R2 = R0[K8('m_lockWithAni')]
  0015  GETTABLE  R2 = R2[K9('gameObject')]
  0016  GETTABLE  R3 = R0[K10('m_bHasPaidThisWheel')]
  0017  NOT       R3 = not R0
  0018  CALL      R1 = call(R1, 0 args, 2 rets)
  0019  SELF      R2 = R0[K11('_OnUpdateRewards')] (self)
  0020  CALL      R1 = call(R1, 0 args, 1 rets)
  0021  RETURN    return R0..R-1
; ---------- proto4 [GetWheel] ----------
  ; fn ?  line 63-65 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_wheel'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_wheel')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto5 [GetModel] ----------
  ; fn ?  line 67-69 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_model'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto6 [GetRewardContent] ----------
  ; fn ?  line 71-73 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_rewardContent'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_rewardContent')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto7 [_OnUpdateRewards] ----------
  ; fn ?  line 75-80 np=1 va=0 ms=9 code=21 consts=7 upvals=1 protos=0
  ;   K[0]='ipairs'
  ;   K[1]='m_rewardContent'
  ;   K[2]='GetRewardItems'
  ;   K[3]='SetClaimed'
  ;   K[4]='m_bIsTaken'
  ;   K[5]='m_bIsPaid'
  ;   K[6]='m_bHasPaidThisWheel'
  ;   upvals: _ENV
  ;   locals: self(0-21), (for generator)(5-20), (for state)(5-20), (for control)(5-20), _(6-18), rewardItem(6-18)
  0000  GETTABUP  R1 = _ENV[K0('ipairs')]
  0001  GETTABLE  R2 = R0[K1('m_rewardContent')]
  0002  SELF      R3 = R2[K2('GetRewardItems')] (self)
  0003  CALL      R2 = call(R2, -1 args, 1 rets)
  0004  CALL      R1 = call(R1, 3 args, -1 rets)
  0005  JMP       (jump)   -> 18
  0006  SELF      R7 = R5[K3('SetClaimed')] (self)
  0007  GETTABLE  R8 = R0[K4('m_bIsTaken')]
  0008  TEST      if not R8 then   -> -131062
  0009  JMP       (jump)   -> 17
  0010  GETTABLE  R8 = R0[K5('m_bIsPaid')]
  0011  TEST      if not R8 then   -> -131059
  0012  JMP       (jump)   -> 16
  0013  GETTABLE  R8 = R0[K6('m_bHasPaidThisWheel')]
  0014  JMP       (jump)   -> 17
  0015  LOADBOOL  R8 = false
  0016  LOADBOOL  R8 = true
  0017  CALL      R6 = call(R6, 0 args, 2 rets)
  0018  TFORCALL  tforcall R1
  0019  TFORLOOP  tforloop R3(sBx=-14)   -> 6
  0020  RETURN    return R0..R-1
; ---------- proto8 [ShowResultEffect] ----------
  ; fn ?  line 82-87 np=1 va=0 ms=8 code=11 consts=4 upvals=1 protos=0
  ;   K[0]='ipairs'
  ;   K[1]='m_rewardContent'
  ;   K[2]='GetRewardItems'
  ;   K[3]='ShowResultEffect'
  ;   upvals: _ENV
  ;   locals: self(0-11), (for generator)(5-10), (for state)(5-10), (for control)(5-10), _(6-8), rewardItem(6-8)
  0000  GETTABUP  R1 = _ENV[K0('ipairs')]
  0001  GETTABLE  R2 = R0[K1('m_rewardContent')]
  0002  SELF      R3 = R2[K2('GetRewardItems')] (self)
  0003  CALL      R2 = call(R2, -1 args, 1 rets)
  0004  CALL      R1 = call(R1, 3 args, -1 rets)
  0005  JMP       (jump)   -> 8
  0006  SELF      R7 = R5[K3('ShowResultEffect')] (self)
  0007  CALL      R6 = call(R6, 0 args, 1 rets)
  0008  TFORCALL  tforcall R1
  0009  TFORLOOP  tforloop R3(sBx=-4)   -> 6
  0010  RETURN    return R0..R-1
; ---------- proto9 [ToRewardTaken] ----------
  ; fn ?  line 89-98 np=1 va=0 ms=8 code=16 consts=10 upvals=1 protos=1
  ;   K[0]='m_bIsTaken'
  ;   K[1]=true
  ;   K[2]='DOTween'
  ;   K[3]='Sequence'
  ;   K[4]='Append'
  ;   K[5]='m_takenBgCanvasGroup'
  ;   K[6]='DOFade'
  ;   K[7]=1
  ;   K[8]=0.5
  ;   K[9]='AppendCallback'
  ;   upvals: _ENV
  ;   locals: self(0-16), sequence(4-16)
  0000  SETTABLE  R0[K0('m_bIsTaken')] = K1(true)
  0001  GETTABUP  R1 = _ENV[K2('DOTween')]
  0002  GETTABLE  R1 = R1[K3('Sequence')]
  0003  CALL      R1 = call(R1, 1 args, 0 rets)
  0004  SELF      R3 = R1[K4('Append')] (self)
  0005  GETTABLE  R4 = R0[K5('m_takenBgCanvasGroup')]
  0006  SELF      R5 = R4[K6('DOFade')] (self)
  0007  LOADK     R6 = K7 1
  0008  LOADK     R7 = K8 0.5
  0009  CALL      R4 = call(R4, -1 args, 3 rets)
  0010  CALL      R2 = call(R2, 0 args, -1 rets)
  0011  SELF      R3 = R1[K9('AppendCallback')] (self)
  0012  CLOSURE   R4 = closure proto0
  0013  CALL      R2 = call(R2, 0 args, 2 rets)
  0014  RETURN    return R1..R0
  0015  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 94-96 np=0 va=0 ms=2 code=4 consts=1 upvals=1 protos=0
    ;   K[0]='_UpdateView'
    ;   upvals: self
    0000  GETUPVAL  R0 = self
    0001  SELF      R1 = R0[K0('_UpdateView')] (self)
    0002  CALL      R0 = call(R0, 0 args, 1 rets)
    0003  RETURN    return R0..R-1
; ---------- proto10 [SetPaidRewardsClaimed] ----------
  ; fn ?  line 100-103 np=1 va=0 ms=3 code=4 consts=3 upvals=0 protos=0
  ;   K[0]='m_bHasPaidThisWheel'
  ;   K[1]=true
  ;   K[2]='_UpdateView'
  ;   locals: self(0-4)
  0000  SETTABLE  R0[K0('m_bHasPaidThisWheel')] = K1(true)
  0001  SELF      R2 = R0[K2('_UpdateView')] (self)
  0002  CALL      R1 = call(R1, 0 args, 1 rets)
  0003  RETURN    return R0..R-1
; ---------- proto11 [Unlock] ----------
  ; fn ?  line 105-112 np=1 va=0 ms=8 code=29 consts=14 upvals=1 protos=0
  ;   K[0]='DOTween'
  ;   K[1]='Sequence'
  ;   K[2]='m_lockWithAni'
  ;   K[3]='transform'
  ;   K[4]='SetParent'
  ;   K[5]='GetWheel'
  ;   K[6]='GetWindow'
  ;   K[7]='GetUnlockRoot'
  ;   K[8]='Join'
  ;   K[9]='DOLocalRotateQuaternion'
  ;   K[10]='Quaternion'
  ;   K[11]='identity'
  ;   K[12]=0.3
  ;   K[13]='PlayUnlockAni'
  ;   upvals: _ENV
  ;   locals: self(0-29), sequence(3-29)
  0000  GETTABUP  R1 = _ENV[K0('DOTween')]
  0001  GETTABLE  R1 = R1[K1('Sequence')]
  0002  CALL      R1 = call(R1, 1 args, 0 rets)
  0003  GETTABLE  R2 = R0[K2('m_lockWithAni')]
  0004  GETTABLE  R2 = R2[K3('transform')]
  0005  SELF      R3 = R2[K4('SetParent')] (self)
  0006  SELF      R5 = R0[K5('GetWheel')] (self)
  0007  CALL      R4 = call(R4, 1 args, 1 rets)
  0008  SELF      R5 = R4[K6('GetWindow')] (self)
  0009  CALL      R4 = call(R4, 1 args, 1 rets)
  0010  SELF      R5 = R4[K7('GetUnlockRoot')] (self)
  0011  CALL      R4 = call(R4, -1 args, 1 rets)
  0012  CALL      R2 = call(R2, 0 args, -1 rets)
  0013  SELF      R3 = R1[K8('Join')] (self)
  0014  GETTABLE  R4 = R0[K2('m_lockWithAni')]
  0015  GETTABLE  R4 = R4[K3('transform')]
  0016  SELF      R5 = R4[K9('DOLocalRotateQuaternion')] (self)
  0017  GETTABUP  R6 = _ENV[K10('Quaternion')]
  0018  GETTABLE  R6 = R6[K11('identity')]
  0019  LOADK     R7 = K12 0.3
  0020  CALL      R4 = call(R4, -1 args, 3 rets)
  0021  CALL      R2 = call(R2, 0 args, -1 rets)
  0022  SELF      R3 = R1[K8('Join')] (self)
  0023  GETTABLE  R4 = R0[K2('m_lockWithAni')]
  0024  SELF      R5 = R4[K13('PlayUnlockAni')] (self)
  0025  CALL      R4 = call(R4, -1 args, 1 rets)
  0026  CALL      R2 = call(R2, 0 args, -1 rets)
  0027  RETURN    return R1..R0
  0028  RETURN    return R0..R-1
