# LuckyDay_View_LuckyDayMainWindow_1254.luac
; fn @LuckyDayMainWindow.lua  line 0-0 np=0 va=1 ms=3 code=40 consts=16 upvals=1 protos=10
;   K[0]='LuckyDayMainWindow'
;   K[1]='setmetatable'
;   K[2]='canClickWindowMask'
;   K[3]=true
;   K[4]='BaseWindow'
;   K[5]='__index'
;   K[6]='Init'
;   K[7]='OnDestroy'
;   K[8]='_OnStateChanged'
;   K[9]='UpdateContent'
;   K[10]='UpdatePerSecond'
;   K[11]='OnCloseBtnClick'
;   K[12]='OnCloseView'
;   K[13]='_GenerateAnimationLeafGo'
;   K[14]='PlayFlyLeafAnimation'
;   K[15]='PlayLeafRewardAnimation'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  SETTABLE  R1[K2('canClickWindowMask')] = K3(true)
0003  GETTABUP  R2 = _ENV[K4('BaseWindow')]
0004  CALL      R0 = call(R0, 1 args, 2 rets)
0005  SETTABUP  _ENV[K0('LuckyDayMainWindow')] = R0
0006  GETTABUP  R0 = _ENV[K0('LuckyDayMainWindow')]
0007  GETTABUP  R1 = _ENV[K0('LuckyDayMainWindow')]
0008  SETTABLE  R0[K5('__index')] = R1
0009  GETTABUP  R0 = _ENV[K0('LuckyDayMainWindow')]
0010  CLOSURE   R1 = closure proto0
0011  SETTABLE  R0[K6('Init')] = R1
0012  GETTABUP  R0 = _ENV[K0('LuckyDayMainWindow')]
0013  CLOSURE   R1 = closure proto1
0014  SETTABLE  R0[K7('OnDestroy')] = R1
0015  GETTABUP  R0 = _ENV[K0('LuckyDayMainWindow')]
0016  CLOSURE   R1 = closure proto2
0017  SETTABLE  R0[K8('_OnStateChanged')] = R1
0018  GETTABUP  R0 = _ENV[K0('LuckyDayMainWindow')]
0019  CLOSURE   R1 = closure proto3
0020  SETTABLE  R0[K9('UpdateContent')] = R1
0021  GETTABUP  R0 = _ENV[K0('LuckyDayMainWindow')]
0022  CLOSURE   R1 = closure proto4
0023  SETTABLE  R0[K10('UpdatePerSecond')] = R1
0024  GETTABUP  R0 = _ENV[K0('LuckyDayMainWindow')]
0025  CLOSURE   R1 = closure proto5
0026  SETTABLE  R0[K11('OnCloseBtnClick')] = R1
0027  GETTABUP  R0 = _ENV[K0('LuckyDayMainWindow')]
0028  CLOSURE   R1 = closure proto6
0029  SETTABLE  R0[K12('OnCloseView')] = R1
0030  GETTABUP  R0 = _ENV[K0('LuckyDayMainWindow')]
0031  CLOSURE   R1 = closure proto7
0032  SETTABLE  R0[K13('_GenerateAnimationLeafGo')] = R1
0033  GETTABUP  R0 = _ENV[K0('LuckyDayMainWindow')]
0034  CLOSURE   R1 = closure proto8
0035  SETTABLE  R0[K14('PlayFlyLeafAnimation')] = R1
0036  GETTABUP  R0 = _ENV[K0('LuckyDayMainWindow')]
0037  CLOSURE   R1 = closure proto9
0038  SETTABLE  R0[K15('PlayLeafRewardAnimation')] = R1
0039  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 8-31 np=4 va=0 ms=9 code=62 consts=27 upvals=1 protos=1
  ;   K[0]='m_activityDefinition'
  ;   K[1]='LuckyDayDefinition'
  ;   K[2]='m_model'
  ;   K[3]='GM'
  ;   K[4]='ActivityManager'
  ;   K[5]='GetModel'
  ;   K[6]='m_activityType'
  ;   K[7]=nil
  ;   K[8]='Close'
  ;   K[9]='SetWindowOpened'
  ;   K[10]='m_shouldFly'
  ;   K[11]='TryTrigger'
  ;   K[12]='EventDispatcher'
  ;   K[13]='AddListener'
  ;   K[14]='StateChangedEvent'
  ;   K[15]='_OnStateChanged'
  ;   K[16]='LogWindowAction'
  ;   K[17]='EBIType'
  ;   K[18]='UIActionType'
  ;   K[19]='Open'
  ;   K[20]='EBIReferType'
  ;   K[21]='AutoPopup'
  ;   K[22]='UserClick'
  ;   K[23]='UpdateContent'
  ;   K[24]='UpdatePerSecond'
  ;   K[25]='DelayExecuteFuncInView'
  ;   K[26]=0.4
  ;   upvals: _ENV
  ;   locals: self(0-62), activityType(0-62), bAutoPop(0-62), animFinishCount(0-62)
  0000  GETTABUP  R4 = _ENV[K1('LuckyDayDefinition')]
  0001  GETTABLE  R4 = R4[R1]
  0002  SETTABLE  R0[K0('m_activityDefinition')] = R4
  0003  GETTABUP  R4 = _ENV[K3('GM')]
  0004  GETTABLE  R4 = R4[K4('ActivityManager')]
  0005  SELF      R5 = R4[K5('GetModel')] (self)
  0006  MOVE      R6 = R0
  0007  CALL      R4 = call(R4, 1 args, 2 rets)
  0008  SETTABLE  R0[K2('m_model')] = R4
  0009  SETTABLE  R0[K6('m_activityType')] = R1
  0010  GETTABLE  R4 = R0[K0('m_activityDefinition')]
  0011  EQ        if R1 eq K7(nil)   -> -128748
  0012  JMP       (jump)   -> 16
  0013  GETTABLE  R4 = R0[K2('m_model')]
  0014  EQ        if R0 eq K7(nil)   -> -128745
  0015  JMP       (jump)   -> 19
  0016  SELF      R5 = R0[K8('Close')] (self)
  0017  CALL      R4 = call(R4, 0 args, 1 rets)
  0018  RETURN    return R0..R-1
  0019  GETTABLE  R4 = R0[K2('m_model')]
  0020  SELF      R5 = R4[K9('SetWindowOpened')] (self)
  0021  CALL      R4 = call(R4, 0 args, 1 rets)
  0022  TEST      if not R3 then   -> -131047
  0023  JMP       (jump)   -> 28
  0024  GETTABLE  R4 = R0[K2('m_model')]
  0025  SELF      R5 = R4[K11('TryTrigger')] (self)
  0026  CALL      R4 = call(R4, 1 args, 1 rets)
  0027  SETTABLE  R0[K10('m_shouldFly')] = R4
  0028  GETTABUP  R4 = _ENV[K12('EventDispatcher')]
  0029  GETTABLE  R4 = R4[K13('AddListener')]
  0030  GETTABLE  R5 = R0[K0('m_activityDefinition')]
  0031  GETTABLE  R5 = R5[K14('StateChangedEvent')]
  0032  MOVE      R6 = R0
  0033  GETTABLE  R7 = R0[K15('_OnStateChanged')]
  0034  CALL      R4 = call(R4, 0 args, 3 rets)
  0035  SELF      R5 = R0[K16('LogWindowAction')] (self)
  0036  GETTABUP  R6 = _ENV[K17('EBIType')]
  0037  GETTABLE  R6 = R6[K18('UIActionType')]
  0038  GETTABLE  R6 = R6[K19('Open')]
  0039  NEWTABLE  R7 = {} (1 items)
  0040  TEST      if not R2 then   -> -131030
  0041  JMP       (jump)   -> 46
  0042  GETTABUP  R8 = _ENV[K20('EBIReferType')]
  0043  GETTABLE  R8 = R8[K21('AutoPopup')]
  0044  TEST      if not R8 then   -> -131025
  0045  JMP       (jump)   -> 48
  0046  GETTABUP  R8 = _ENV[K20('EBIReferType')]
  0047  GETTABLE  R8 = R8[K22('UserClick')]
  0048  SETLIST   setlist R7[B=1,C=1]
  0049  CALL      R4 = call(R4, 0 args, 3 rets)
  0050  SELF      R5 = R0[K23('UpdateContent')] (self)
  0051  MOVE      R6 = R0
  0052  CALL      R4 = call(R4, 0 args, 2 rets)
  0053  SELF      R5 = R0[K24('UpdatePerSecond')] (self)
  0054  CALL      R4 = call(R4, 0 args, 1 rets)
  0055  GETTABUP  R4 = _ENV[K25('DelayExecuteFuncInView')]
  0056  CLOSURE   R5 = closure proto0
  0057  LOADK     R6 = K26 0.4
  0058  MOVE      R7 = R0
  0059  LOADBOOL  R8 = true
  0060  CALL      R4 = call(R4, 0 args, 4 rets)
  0061  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 30-30 np=0 va=0 ms=2 code=1 consts=0 upvals=0 protos=0
    0000  RETURN    return R0..R-1
; ---------- proto1 [OnDestroy] ----------
  ; fn ?  line 33-42 np=1 va=0 ms=4 code=21 consts=10 upvals=1 protos=0
  ;   K[0]='m_progressTween'
  ;   K[1]='Kill'
  ;   K[2]=nil
  ;   K[3]='Scheduler'
  ;   K[4]='UnscheduleTarget'
  ;   K[5]='EventDispatcher'
  ;   K[6]='RemoveTarget'
  ;   K[7]='GM'
  ;   K[8]='UIManager'
  ;   K[9]='RemoveAllEventLocks'
  ;   upvals: _ENV
  ;   locals: self(0-21)
  0000  GETTABLE  R1 = R0[K0('m_progressTween')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 7
  0003  GETTABLE  R1 = R0[K0('m_progressTween')]
  0004  SELF      R2 = R1[K1('Kill')] (self)
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  SETTABLE  R0[K0('m_progressTween')] = K2(nil)
  0007  GETTABUP  R1 = _ENV[K3('Scheduler')]
  0008  GETTABLE  R1 = R1[K4('UnscheduleTarget')]
  0009  MOVE      R2 = R0
  0010  CALL      R1 = call(R1, 0 args, 1 rets)
  0011  GETTABUP  R1 = _ENV[K5('EventDispatcher')]
  0012  GETTABLE  R1 = R1[K6('RemoveTarget')]
  0013  MOVE      R2 = R0
  0014  CALL      R1 = call(R1, 0 args, 1 rets)
  0015  GETTABUP  R1 = _ENV[K7('GM')]
  0016  GETTABLE  R1 = R1[K8('UIManager')]
  0017  SELF      R2 = R1[K9('RemoveAllEventLocks')] (self)
  0018  MOVE      R3 = R0
  0019  CALL      R1 = call(R1, 0 args, 2 rets)
  0020  RETURN    return R0..R-1
; ---------- proto2 [_OnStateChanged] ----------
  ; fn ?  line 44-46 np=1 va=0 ms=3 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='Close'
  ;   locals: self(0-3)
  0000  SELF      R2 = R0[K0('Close')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  RETURN    return R0..R-1
; ---------- proto3 [UpdateContent] ----------
  ; fn ?  line 48-107 np=2 va=0 ms=14 code=98 consts=31 upvals=1 protos=2
  ;   K[0]='m_model'
  ;   K[1]='CanClaimReward'
  ;   K[2]='m_okBtnGo'
  ;   K[3]='SetActive'
  ;   K[4]='m_claimBtnGo'
  ;   K[5]='GetFinishCount'
  ;   K[6]=1
  ;   K[7]=3
  ;   K[8]='m_leafAnimator'
  ;   K[9]='gameObject'
  ;   K[10]='m_slider'
  ;   K[11]='value'
  ;   K[12]=0
  ;   K[13]='GetConfigRewards'
  ;   K[14]='m_rewardItem'
  ;   K[15]='Init'
  ;   K[16]='TryClaimReward'
  ;   K[17]='m_bInProgressAnimation'
  ;   K[18]=true
  ;   K[19]='GM'
  ;   K[20]='UIManager'
  ;   K[21]='SetEventLock'
  ;   K[22]='DOTween'
  ;   K[23]='Sequence'
  ;   K[24]='AppendCallback'
  ;   K[25]='AppendInterval'
  ;   K[26]=0.8
  ;   K[27]='Append'
  ;   K[28]='DOValue'
  ;   K[29]=0.5
  ;   K[30]='m_progressTween'
  ;   upvals: _ENV
  ;   locals: self(0-98), animFinishCount(0-98), canClaim(3-98), finishCount(16-98), (for index)(19-44), (for limit)(19-44), (for step)(19-44), i(20-43), finished(24-43), rewards(47-98), s(72-97), nextLeafAnimator(76-97), nextSlider(86-97)
  0000  GETTABLE  R2 = R0[K0('m_model')]
  0001  SELF      R3 = R2[K1('CanClaimReward')] (self)
  0002  CALL      R2 = call(R2, 1 args, 1 rets)
  0003  GETTABLE  R3 = R0[K2('m_okBtnGo')]
  0004  SELF      R4 = R3[K3('SetActive')] (self)
  0005  NOT       R5 = not R0
  0006  CALL      R3 = call(R3, 0 args, 2 rets)
  0007  GETTABLE  R3 = R0[K4('m_claimBtnGo')]
  0008  SELF      R4 = R3[K3('SetActive')] (self)
  0009  MOVE      R5 = R0
  0010  CALL      R3 = call(R3, 0 args, 2 rets)
  0011  TESTSET   if R1 then R3   -> -130546
  0012  JMP       (jump)   -> 16
  0013  GETTABLE  R3 = R0[K0('m_model')]
  0014  SELF      R4 = R3[K5('GetFinishCount')] (self)
  0015  CALL      R3 = call(R3, 1 args, 1 rets)
  0016  LOADK     R4 = K6 1
  0017  LOADK     R5 = K7 3
  0018  LOADK     R6 = K6 1
  0019  FORPREP   forprep R4(sBx=23)   -> 43
  0020  LE        if R1 le R3   -> -127463
  0021  JMP       (jump)   -> 23
  0022  LOADBOOL  R8 = false
  0023  LOADBOOL  R8 = true
  0024  LOADK     R9 = K8 'm_leafAnimator'
  0025  MOVE      R10 = R0
  0026  CONCAT    R9 = concat(R9..R9)
  0027  GETTABLE  R9 = R0[R9]
  0028  GETTABLE  R9 = R9[K9('gameObject')]
  0029  SELF      R10 = R9[K3('SetActive')] (self)
  0030  MOVE      R11 = R0
  0031  CALL      R9 = call(R9, 0 args, 2 rets)
  0032  LOADK     R9 = K10 'm_slider'
  0033  MOVE      R10 = R0
  0034  CONCAT    R9 = concat(R9..R9)
  0035  GETTABLE  R9 = R0[R9]
  0036  TEST      if not R8 then   -> -131034
  0037  JMP       (jump)   -> 41
  0038  LOADK     R10 = K6 1
  0039  TEST      if not R10 then   -> -131030
  0040  JMP       (jump)   -> 42
  0041  LOADK     R10 = K12 0
  0042  SETTABLE  R9[K11('value')] = R10
  0043  FORLOOP   forloop R4(sBx=-24)   -> 20
  0044  GETTABLE  R4 = R0[K0('m_model')]
  0045  SELF      R5 = R4[K13('GetConfigRewards')] (self)
  0046  CALL      R4 = call(R4, 1 args, 1 rets)
  0047  GETTABLE  R5 = R4[K6(1)]
  0048  TEST      if not R5 then   -> -131022
  0049  JMP       (jump)   -> 54
  0050  GETTABLE  R5 = R0[K14('m_rewardItem')]
  0051  SELF      R6 = R5[K15('Init')] (self)
  0052  GETTABLE  R7 = R4[K6(1)]
  0053  CALL      R5 = call(R5, 0 args, 2 rets)
  0054  TEST      if not R2 then   -> -131016
  0055  JMP       (jump)   -> 59
  0056  GETTABLE  R5 = R0[K0('m_model')]
  0057  SELF      R6 = R5[K16('TryClaimReward')] (self)
  0058  CALL      R5 = call(R5, 0 args, 1 rets)
  0059  TEST      if not R1 then   -> -131011
  0060  JMP       (jump)   -> 97
  0061  ADD       R3 = K6(1) add R1
  0062  SETTABLE  R0[K17('m_bInProgressAnimation')] = K18(true)
  0063  GETTABUP  R5 = _ENV[K19('GM')]
  0064  GETTABLE  R5 = R5[K20('UIManager')]
  0065  SELF      R6 = R5[K21('SetEventLock')] (self)
  0066  LOADBOOL  R7 = true
  0067  MOVE      R8 = R0
  0068  CALL      R5 = call(R5, 0 args, 3 rets)
  0069  GETTABUP  R5 = _ENV[K22('DOTween')]
  0070  GETTABLE  R5 = R5[K23('Sequence')]
  0071  CALL      R5 = call(R5, 1 args, 0 rets)
  0072  LOADK     R6 = K8 'm_leafAnimator'
  0073  ADD       R7 = K6(1) add R1
  0074  CONCAT    R6 = concat(R6..R6)
  0075  GETTABLE  R6 = R0[R6]
  0076  SELF      R8 = R5[K24('AppendCallback')] (self)
  0077  CLOSURE   R9 = closure proto0
  0078  CALL      R7 = call(R7, 0 args, 2 rets)
  0079  SELF      R8 = R5[K25('AppendInterval')] (self)
  0080  LOADK     R9 = K26 0.8
  0081  CALL      R7 = call(R7, 0 args, 2 rets)
  0082  LOADK     R7 = K10 'm_slider'
  0083  ADD       R8 = K6(1) add R1
  0084  CONCAT    R7 = concat(R7..R7)
  0085  GETTABLE  R7 = R0[R7]
  0086  SELF      R9 = R5[K27('Append')] (self)
  0087  SELF      R11 = R7[K28('DOValue')] (self)
  0088  LOADK     R12 = K6 1
  0089  LOADK     R13 = K29 0.5
  0090  CALL      R10 = call(R10, -1 args, 3 rets)
  0091  CALL      R8 = call(R8, 0 args, -1 rets)
  0092  SELF      R9 = R5[K24('AppendCallback')] (self)
  0093  CLOSURE   R10 = closure proto1
  0094  CALL      R8 = call(R8, 0 args, 2 rets)
  0095  SETTABLE  R0[K30('m_progressTween')] = R5
  0096  JMP       (jump)   -> 97
  0097  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 77-83 np=0 va=0 ms=3 code=18 consts=5 upvals=1 protos=0
    ;   K[0]='IsNull'
    ;   K[1]='gameObject'
    ;   K[2]='SetActive'
    ;   K[3]='SetTrigger'
    ;   K[4]='open'
    ;   upvals: nextLeafAnimator
    0000  GETUPVAL  R0 = nextLeafAnimator
    0001  TEST      if not R0 then   -> -131069
    0002  JMP       (jump)   -> 8
    0003  GETUPVAL  R0 = nextLeafAnimator
    0004  SELF      R1 = R0[K0('IsNull')] (self)
    0005  CALL      R0 = call(R0, 1 args, 1 rets)
    0006  TEST      if not R0 then   -> -131064
    0007  JMP       (jump)   -> 9
    0008  RETURN    return R0..R-1
    0009  GETTABUP  R0 = nextLeafAnimator[K1('gameObject')]
    0010  SELF      R1 = R0[K2('SetActive')] (self)
    0011  LOADBOOL  R2 = true
    0012  CALL      R0 = call(R0, 0 args, 2 rets)
    0013  GETUPVAL  R0 = nextLeafAnimator
    0014  SELF      R1 = R0[K3('SetTrigger')] (self)
    0015  LOADK     R2 = K4 'open'
    0016  CALL      R0 = call(R0, 0 args, 2 rets)
    0017  RETURN    return R0..R-1
  ; ---------- proto1 [m_progressTween] ----------
    ; fn ?  line 88-103 np=0 va=0 ms=5 code=34 consts=19 upvals=4 protos=1
    ;   K[0]='m_bInProgressAnimation'
    ;   K[1]=false
    ;   K[2]='GM'
    ;   K[3]='UIManager'
    ;   K[4]='SetEventLock'
    ;   K[5]=3
    ;   K[6]='m_shouldClaim'
    ;   K[7]=true
    ;   K[8]='m_model'
    ;   K[9]='RefreshOrder'
    ;   K[10]='m_shouldFly'
    ;   K[11]='EventDispatcher'
    ;   K[12]='DispatchEvent'
    ;   K[13]='m_activityDefinition'
    ;   K[14]='OrderStateChangedEvent'
    ;   K[15]='DelayExecuteFuncInView'
    ;   K[16]=0.2
    ;   K[17]='m_progressTween'
    ;   K[18]=nil
    ;   upvals: self, _ENV, finishCount, canClaim
    0000  SETTABUP  self[K0('m_bInProgressAnimation')] = K1(false)
    0001  GETTABUP  R0 = _ENV[K2('GM')]
    0002  GETTABLE  R0 = R0[K3('UIManager')]
    0003  SELF      R1 = R0[K4('SetEventLock')] (self)
    0004  LOADBOOL  R2 = false
    0005  GETUPVAL  R3 = self
    0006  CALL      R0 = call(R0, 0 args, 3 rets)
    0007  GETUPVAL  R0 = self
    0008  LE        if R0 le R0   -> 2570
    0009  JMP       (jump)   -> 15
    0010  GETUPVAL  R0 = self
    0011  TEST      if not R0 then   -> -131059
    0012  JMP       (jump)   -> 15
    0013  SETTABUP  self[K6('m_shouldClaim')] = K7(true)
    0014  JMP       (jump)   -> 32
    0015  GETTABUP  R0 = self[K8('m_model')]
    0016  SELF      R1 = R0[K9('RefreshOrder')] (self)
    0017  CALL      R0 = call(R0, 1 args, 1 rets)
    0018  TEST      if not R0 then   -> -131052
    0019  JMP       (jump)   -> 32
    0020  SETTABUP  self[K10('m_shouldFly')] = K7(true)
    0021  GETTABUP  R0 = _ENV[K11('EventDispatcher')]
    0022  GETTABLE  R0 = R0[K12('DispatchEvent')]
    0023  GETTABUP  R1 = self[K13('m_activityDefinition')]
    0024  GETTABLE  R1 = R1[K14('OrderStateChangedEvent')]
    0025  CALL      R0 = call(R0, 0 args, 1 rets)
    0026  GETTABUP  R0 = _ENV[K15('DelayExecuteFuncInView')]
    0027  CLOSURE   R1 = closure proto0
    0028  LOADK     R2 = K16 0.2
    0029  GETUPVAL  R3 = self
    0030  LOADBOOL  R4 = true
    0031  CALL      R0 = call(R0, 0 args, 4 rets)
    0032  SETTABUP  self[K17('m_progressTween')] = K18(nil)
    0033  RETURN    return R0..R-1
    ; ---------- proto0 [] ----------
      ; fn ?  line 99-99 np=0 va=0 ms=2 code=1 consts=0 upvals=0 protos=0
      0000  RETURN    return R0..R-1
; ---------- proto4 [UpdatePerSecond] ----------
  ; fn ?  line 109-116 np=1 va=0 ms=5 code=17 consts=9 upvals=1 protos=0
  ;   K[0]='m_model'
  ;   K[1]='GetLeftDuration'
  ;   K[2]='m_timeText'
  ;   K[3]='text'
  ;   K[4]='TimeUtil'
  ;   K[5]='ToMSOrHMS'
  ;   K[6]=0
  ;   K[7]='m_bInProgressAnimation'
  ;   K[8]='Close'
  ;   upvals: _ENV
  ;   locals: self(0-17), leftDuration(3-17)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  SELF      R2 = R1[K1('GetLeftDuration')] (self)
  0002  CALL      R1 = call(R1, 1 args, 1 rets)
  0003  GETTABLE  R2 = R0[K2('m_timeText')]
  0004  GETTABUP  R3 = _ENV[K4('TimeUtil')]
  0005  GETTABLE  R3 = R3[K5('ToMSOrHMS')]
  0006  MOVE      R4 = R0
  0007  CALL      R3 = call(R3, 1 args, 1 rets)
  0008  SETTABLE  R2[K3('text')] = R3
  0009  LE        if R0 le K6(0)   -> -130287
  0010  JMP       (jump)   -> 16
  0011  GETTABLE  R2 = R0[K7('m_bInProgressAnimation')]
  0012  TEST      if not R2 then   -> -131057
  0013  JMP       (jump)   -> 16
  0014  SELF      R3 = R0[K8('Close')] (self)
  0015  CALL      R2 = call(R2, 0 args, 1 rets)
  0016  RETURN    return R0..R-1
; ---------- proto5 [OnCloseBtnClick] ----------
  ; fn ?  line 118-131 np=1 va=0 ms=4 code=26 consts=10 upvals=1 protos=0
  ;   K[0]='Close'
  ;   K[1]='m_shouldFly'
  ;   K[2]='m_model'
  ;   K[3]='IsInDuration'
  ;   K[4]=false
  ;   K[5]='MainBoardView'
  ;   K[6]='GetInstance'
  ;   K[7]='GetOrderArea'
  ;   K[8]='TryFinishOrderGroupAnimNow'
  ;   K[9]='PlayFlyLeafAnimation'
  ;   upvals: _ENV
  ;   locals: self(0-26), mainBoardView(17-25)
  0000  SELF      R2 = R0[K0('Close')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  GETTABLE  R1 = R0[K1('m_shouldFly')]
  0003  TEST      if not R1 then   -> -131067
  0004  JMP       (jump)   -> 25
  0005  GETTABLE  R1 = R0[K2('m_model')]
  0006  TEST      if not R1 then   -> -131064
  0007  JMP       (jump)   -> 25
  0008  GETTABLE  R1 = R0[K2('m_model')]
  0009  SELF      R2 = R1[K3('IsInDuration')] (self)
  0010  CALL      R1 = call(R1, 1 args, 1 rets)
  0011  TEST      if not R1 then   -> -131059
  0012  JMP       (jump)   -> 25
  0013  SETTABLE  R0[K1('m_shouldFly')] = K4(false)
  0014  GETTABUP  R1 = _ENV[K5('MainBoardView')]
  0015  SELF      R2 = R1[K6('GetInstance')] (self)
  0016  CALL      R1 = call(R1, 1 args, 1 rets)
  0017  TEST      if not R1 then   -> -131053
  0018  JMP       (jump)   -> 23
  0019  SELF      R3 = R1[K7('GetOrderArea')] (self)
  0020  CALL      R2 = call(R2, 1 args, 1 rets)
  0021  SELF      R3 = R2[K8('TryFinishOrderGroupAnimNow')] (self)
  0022  CALL      R2 = call(R2, 0 args, 1 rets)
  0023  SELF      R3 = R0[K9('PlayFlyLeafAnimation')] (self)
  0024  CALL      R2 = call(R2, 0 args, 1 rets)
  0025  RETURN    return R0..R-1
; ---------- proto6 [OnCloseView] ----------
  ; fn ?  line 133-140 np=1 va=0 ms=3 code=11 consts=5 upvals=1 protos=0
  ;   K[0]='BaseWindow'
  ;   K[1]='OnCloseView'
  ;   K[2]='m_shouldClaim'
  ;   K[3]=false
  ;   K[4]='PlayLeafRewardAnimation'
  ;   upvals: _ENV
  ;   locals: self(0-11)
  0000  GETTABUP  R1 = _ENV[K0('BaseWindow')]
  0001  GETTABLE  R1 = R1[K1('OnCloseView')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  GETTABLE  R1 = R0[K2('m_shouldClaim')]
  0005  TEST      if not R1 then   -> -131065
  0006  JMP       (jump)   -> 10
  0007  SETTABLE  R0[K2('m_shouldClaim')] = K3(false)
  0008  SELF      R2 = R0[K4('PlayLeafRewardAnimation')] (self)
  0009  CALL      R1 = call(R1, 0 args, 1 rets)
  0010  RETURN    return R0..R-1
; ---------- proto7 [_GenerateAnimationLeafGo] ----------
  ; fn ?  line 142-177 np=2 va=0 ms=13 code=55 consts=27 upvals=1 protos=2
  ;   K[0]='m_leafGo'
  ;   K[1]='transform'
  ;   K[2]='position'
  ;   K[3]='m_leafBoardAnimator'
  ;   K[4]='enabled'
  ;   K[5]=false
  ;   K[6]='m_leafIdleEffectGo'
  ;   K[7]='SetActive'
  ;   K[8]='m_leafOverlayGo'
  ;   K[9]='m_leafEffectGo1'
  ;   K[10]='m_leafEffectGo2'
  ;   K[11]='m_leafEffectGo3'
  ;   K[12]='GM'
  ;   K[13]='UIManager'
  ;   K[14]='SetEventLock'
  ;   K[15]='m_model'
  ;   K[16]='GetFinishCount'
  ;   K[17]='GetSortingOrder'
  ;   K[18]='DataResource'
  ;   K[19]='UIPrefabConfig'
  ;   K[20]='GetConfig'
  ;   K[21]='UIPrefabConfigName'
  ;   K[22]='LuckyDayWindowLeaf'
  ;   K[23]='ResourceLoader'
  ;   K[24]='LoadPrefab'
  ;   K[25]='GetCanvasRoot'
  ;   K[26]='V3Zero'
  ;   upvals: _ENV
  ;   locals: self(0-55), callback(0-55), startWorldPos(3-55), finishCount(33-55), sortingOrder(35-55), resConfig(42-55)
  0000  GETTABLE  R2 = R0[K0('m_leafGo')]
  0001  GETTABLE  R2 = R2[K1('transform')]
  0002  GETTABLE  R2 = R2[K2('position')]
  0003  GETTABLE  R3 = R0[K3('m_leafBoardAnimator')]
  0004  SETTABLE  R3[K4('enabled')] = K5(false)
  0005  GETTABLE  R3 = R0[K6('m_leafIdleEffectGo')]
  0006  SELF      R4 = R3[K7('SetActive')] (self)
  0007  LOADBOOL  R5 = false
  0008  CALL      R3 = call(R3, 0 args, 2 rets)
  0009  GETTABLE  R3 = R0[K8('m_leafOverlayGo')]
  0010  SELF      R4 = R3[K7('SetActive')] (self)
  0011  LOADBOOL  R5 = false
  0012  CALL      R3 = call(R3, 0 args, 2 rets)
  0013  GETTABLE  R3 = R0[K9('m_leafEffectGo1')]
  0014  SELF      R4 = R3[K7('SetActive')] (self)
  0015  LOADBOOL  R5 = false
  0016  CALL      R3 = call(R3, 0 args, 2 rets)
  0017  GETTABLE  R3 = R0[K10('m_leafEffectGo2')]
  0018  SELF      R4 = R3[K7('SetActive')] (self)
  0019  LOADBOOL  R5 = false
  0020  CALL      R3 = call(R3, 0 args, 2 rets)
  0021  GETTABLE  R3 = R0[K11('m_leafEffectGo3')]
  0022  SELF      R4 = R3[K7('SetActive')] (self)
  0023  LOADBOOL  R5 = false
  0024  CALL      R3 = call(R3, 0 args, 2 rets)
  0025  GETTABUP  R3 = _ENV[K12('GM')]
  0026  GETTABLE  R3 = R3[K13('UIManager')]
  0027  SELF      R4 = R3[K14('SetEventLock')] (self)
  0028  LOADBOOL  R5 = true
  0029  CALL      R3 = call(R3, 0 args, 2 rets)
  0030  GETTABLE  R3 = R0[K15('m_model')]
  0031  SELF      R4 = R3[K16('GetFinishCount')] (self)
  0032  CALL      R3 = call(R3, 1 args, 1 rets)
  0033  SELF      R5 = R0[K17('GetSortingOrder')] (self)
  0034  CALL      R4 = call(R4, 1 args, 1 rets)
  0035  GETTABUP  R5 = _ENV[K12('GM')]
  0036  GETTABLE  R5 = R5[K18('DataResource')]
  0037  GETTABLE  R5 = R5[K19('UIPrefabConfig')]
  0038  SELF      R6 = R5[K20('GetConfig')] (self)
  0039  GETTABUP  R7 = _ENV[K21('UIPrefabConfigName')]
  0040  GETTABLE  R7 = R7[K22('LuckyDayWindowLeaf')]
  0041  CALL      R5 = call(R5, 1 args, 2 rets)
  0042  GETTABUP  R6 = _ENV[K12('GM')]
  0043  GETTABLE  R6 = R6[K23('ResourceLoader')]
  0044  SELF      R7 = R6[K24('LoadPrefab')] (self)
  0045  MOVE      R8 = R0
  0046  GETTABUP  R9 = _ENV[K12('GM')]
  0047  GETTABLE  R9 = R9[K13('UIManager')]
  0048  SELF      R10 = R9[K25('GetCanvasRoot')] (self)
  0049  CALL      R9 = call(R9, 1 args, 1 rets)
  0050  GETTABUP  R10 = _ENV[K26('V3Zero')]
  0051  CLOSURE   R11 = closure proto0
  0052  CLOSURE   R12 = closure proto1
  0053  CALL      R6 = call(R6, 0 args, 6 rets)
  0054  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 160-174 np=1 va=0 ms=5 code=40 consts=12 upvals=6 protos=0
    ;   K[0]='GM'
    ;   K[1]='UIManager'
    ;   K[2]='SetEventLock'
    ;   K[3]='UIUtil'
    ;   K[4]='IsEmptyComponent'
    ;   K[5]='m_leafGo'
    ;   K[6]='SetActive'
    ;   K[7]='transform'
    ;   K[8]='position'
    ;   K[9]='GetLuaTable'
    ;   K[10]='Init'
    ;   K[11]=1
    ;   upvals: _ENV, self, startWorldPos, finishCount, sortingOrder, callback
    ;   locals: go(0-40)
    0000  GETTABUP  R1 = _ENV[K0('GM')]
    0001  GETTABLE  R1 = R1[K1('UIManager')]
    0002  SELF      R2 = R1[K2('SetEventLock')] (self)
    0003  LOADBOOL  R3 = false
    0004  CALL      R1 = call(R1, 0 args, 2 rets)
    0005  GETTABUP  R1 = _ENV[K3('UIUtil')]
    0006  GETTABLE  R1 = R1[K4('IsEmptyComponent')]
    0007  GETTABUP  R2 = self[K5('m_leafGo')]
    0008  CALL      R1 = call(R1, 1 args, 1 rets)
    0009  TEST      if not R1 then   -> -131060
    0010  JMP       (jump)   -> 20
    0011  GETTABUP  R1 = _ENV[K3('UIUtil')]
    0012  GETTABLE  R1 = R1[K6('SetActive')]
    0013  GETTABUP  R2 = self[K5('m_leafGo')]
    0014  LOADBOOL  R3 = false
    0015  CALL      R1 = call(R1, 0 args, 2 rets)
    0016  GETTABUP  R1 = self[K5('m_leafGo')]
    0017  GETTABLE  R1 = R1[K7('transform')]
    0018  GETTABLE  R1 = R1[K8('position')]
    0019  SETUPVAL  self = R0
    0020  SELF      R2 = R0[K9('GetLuaTable')] (self)
    0021  CALL      R1 = call(R1, 1 args, 1 rets)
    0022  SELF      R2 = R1[K10('Init')] (self)
    0023  GETUPVAL  R3 = _ENV
    0024  GETUPVAL  R4 = _ENV
    0025  ADD       R4 = K11(1) add R4
    0026  CALL      R1 = call(R1, 0 args, 3 rets)
    0027  GETTABLE  R1 = R0[K7('transform')]
    0028  GETUPVAL  R2 = _ENV
    0029  SETTABLE  R1[K8('position')] = R2
    0030  SELF      R2 = R0[K6('SetActive')] (self)
    0031  LOADBOOL  R3 = true
    0032  CALL      R1 = call(R1, 0 args, 2 rets)
    0033  GETUPVAL  R1 = _ENV
    0034  TEST      if not R1 then   -> -131036
    0035  JMP       (jump)   -> 39
    0036  GETUPVAL  R1 = _ENV
    0037  MOVE      R2 = R0
    0038  CALL      R1 = call(R1, 0 args, 1 rets)
    0039  RETURN    return R0..R-1
  ; ---------- proto1 [] ----------
    ; fn ?  line 174-176 np=0 va=0 ms=3 code=6 consts=3 upvals=1 protos=0
    ;   K[0]='GM'
    ;   K[1]='UIManager'
    ;   K[2]='SetEventLock'
    ;   upvals: _ENV
    0000  GETTABUP  R0 = _ENV[K0('GM')]
    0001  GETTABLE  R0 = R0[K1('UIManager')]
    0002  SELF      R1 = R0[K2('SetEventLock')] (self)
    0003  LOADBOOL  R2 = false
    0004  CALL      R0 = call(R0, 0 args, 2 rets)
    0005  RETURN    return R0..R-1
; ---------- proto8 [PlayFlyLeafAnimation] ----------
  ; fn ?  line 180-227 np=1 va=0 ms=11 code=37 consts=17 upvals=1 protos=1
  ;   K[0]='MainBoardView'
  ;   K[1]='GetInstance'
  ;   K[2]='GetOrderArea'
  ;   K[3]='GM'
  ;   K[4]='ModeViewController'
  ;   K[5]='GetBoardInfo'
  ;   K[6]=0.5
  ;   K[7]='m_model'
  ;   K[8]='GetCurrentOrderId'
  ;   K[9]='GetCellById'
  ;   K[10]='GetTopLeftEntryTbByActivityType'
  ;   K[11]='m_activityType'
  ;   K[12]='Log'
  ;   K[13]='Error'
  ;   K[14]='幸运日动画逻辑错误'
  ;   K[15]='ToggleVisibility'
  ;   K[16]='_GenerateAnimationLeafGo'
  ;   upvals: _ENV
  ;   locals: self(0-37), boardView(3-37), orderArea(7-37), cam(11-37), flyTime(12-37), orderId(15-37), orderCell(18-37), entry(23-37)
  0000  GETTABUP  R1 = _ENV[K0('MainBoardView')]
  0001  GETTABLE  R1 = R1[K1('GetInstance')]
  0002  CALL      R1 = call(R1, 1 args, 0 rets)
  0003  TESTSET   if R0 then R2   -> -130555
  0004  JMP       (jump)   -> 7
  0005  SELF      R3 = R1[K2('GetOrderArea')] (self)
  0006  CALL      R2 = call(R2, 1 args, 1 rets)
  0007  GETTABUP  R3 = _ENV[K3('GM')]
  0008  GETTABLE  R3 = R3[K4('ModeViewController')]
  0009  SELF      R4 = R3[K5('GetBoardInfo')] (self)
  0010  CALL      R3 = call(R3, 1 args, 1 rets)
  0011  LOADK     R4 = K6 0.5
  0012  GETTABLE  R5 = R0[K7('m_model')]
  0013  SELF      R6 = R5[K8('GetCurrentOrderId')] (self)
  0014  CALL      R5 = call(R5, 1 args, 1 rets)
  0015  SELF      R7 = R2[K9('GetCellById')] (self)
  0016  MOVE      R8 = R0
  0017  CALL      R6 = call(R6, 1 args, 2 rets)
  0018  TESTSET   if R0 then R7   -> -127980
  0019  JMP       (jump)   -> 23
  0020  SELF      R8 = R6[K10('GetTopLeftEntryTbByActivityType')] (self)
  0021  GETTABLE  R9 = R0[K11('m_activityType')]
  0022  CALL      R7 = call(R7, 1 args, 2 rets)
  0023  TEST      if not R7 then   -> -131046
  0024  JMP       (jump)   -> 30
  0025  GETTABUP  R8 = _ENV[K12('Log')]
  0026  GETTABLE  R8 = R8[K13('Error')]
  0027  LOADK     R9 = K14 '幸运日动画逻辑错误'
  0028  CALL      R8 = call(R8, 0 args, 1 rets)
  0029  RETURN    return R0..R-1
  0030  SELF      R9 = R7[K15('ToggleVisibility')] (self)
  0031  LOADBOOL  R10 = false
  0032  CALL      R8 = call(R8, 0 args, 2 rets)
  0033  SELF      R9 = R0[K16('_GenerateAnimationLeafGo')] (self)
  0034  CLOSURE   R10 = closure proto0
  0035  CALL      R8 = call(R8, 0 args, 2 rets)
  0036  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 196-226 np=1 va=0 ms=6 code=22 consts=8 upvals=4 protos=2
    ;   K[0]='GM'
    ;   K[1]='UIManager'
    ;   K[2]='SetEventLock'
    ;   K[3]='DOTween'
    ;   K[4]='Sequence'
    ;   K[5]='AppendInterval'
    ;   K[6]=0.3
    ;   K[7]='AppendCallback'
    ;   upvals: _ENV, entry, cam, flyTime
    ;   locals: flyItemGo(0-22), funcFly(1-22), seq(9-22)
    0000  CLOSURE   R1 = closure proto0
    0001  GETTABUP  R2 = _ENV[K0('GM')]
    0002  GETTABLE  R2 = R2[K1('UIManager')]
    0003  SELF      R3 = R2[K2('SetEventLock')] (self)
    0004  LOADBOOL  R4 = true
    0005  CALL      R2 = call(R2, 0 args, 2 rets)
    0006  GETTABUP  R2 = _ENV[K3('DOTween')]
    0007  GETTABLE  R2 = R2[K4('Sequence')]
    0008  CALL      R2 = call(R2, 1 args, 0 rets)
    0009  SELF      R4 = R2[K5('AppendInterval')] (self)
    0010  LOADK     R5 = K6 0.3
    0011  CALL      R3 = call(R3, 0 args, 2 rets)
    0012  SELF      R4 = R2[K7('AppendCallback')] (self)
    0013  MOVE      R5 = R0
    0014  CALL      R3 = call(R3, 0 args, 2 rets)
    0015  SELF      R4 = R2[K5('AppendInterval')] (self)
    0016  GETUPVAL  R5 = _ENV
    0017  CALL      R3 = call(R3, 0 args, 2 rets)
    0018  SELF      R4 = R2[K7('AppendCallback')] (self)
    0019  CLOSURE   R5 = closure proto1
    0020  CALL      R3 = call(R3, 0 args, 2 rets)
    0021  RETURN    return R0..R-1
    ; ---------- proto0 [] ----------
      ; fn ?  line 197-216 np=0 va=0 ms=5 code=48 consts=17 upvals=5 protos=1
      ;   K[0]='UIUtil'
      ;   K[1]='IsEmptyComponent'
      ;   K[2]='AddressableLoader'
      ;   K[3]='Destroy'
      ;   K[4]='WorldToScreenPoint'
      ;   K[5]='transform'
      ;   K[6]='position'
      ;   K[7]='DOMove'
      ;   K[8]='PositionUtil'
      ;   K[9]='UICameraScreen2World'
      ;   K[10]='SetEase'
      ;   K[11]='Ease'
      ;   K[12]='OutQuad'
      ;   K[13]='OnComplete'
      ;   K[14]='DOScale'
      ;   K[15]=0.2
      ;   K[16]='InBack'
      ;   upvals: _ENV, flyItemGo, entry, cam, flyTime
      ;   locals: screenPos(23-48)
      0000  GETTABUP  R0 = _ENV[K0('UIUtil')]
      0001  GETTABLE  R0 = R0[K1('IsEmptyComponent')]
      0002  GETUPVAL  R1 = _ENV
      0003  CALL      R0 = call(R0, 1 args, 1 rets)
      0004  TEST      if not R0 then   -> -131066
      0005  JMP       (jump)   -> 7
      0006  RETURN    return R0..R-1
      0007  GETTABUP  R0 = _ENV[K0('UIUtil')]
      0008  GETTABLE  R0 = R0[K1('IsEmptyComponent')]
      0009  GETUPVAL  R1 = _ENV
      0010  CALL      R0 = call(R0, 1 args, 1 rets)
      0011  TEST      if not R0 then   -> -131059
      0012  JMP       (jump)   -> 18
      0013  GETTABUP  R0 = _ENV[K2('AddressableLoader')]
      0014  GETTABLE  R0 = R0[K3('Destroy')]
      0015  GETUPVAL  R1 = _ENV
      0016  CALL      R0 = call(R0, 0 args, 1 rets)
      0017  RETURN    return R0..R-1
      0018  GETUPVAL  R0 = _ENV
      0019  SELF      R1 = R0[K4('WorldToScreenPoint')] (self)
      0020  GETTABUP  R2 = entry[K5('transform')]
      0021  GETTABLE  R2 = R2[K6('position')]
      0022  CALL      R0 = call(R0, 1 args, 2 rets)
      0023  GETTABUP  R1 = flyItemGo[K5('transform')]
      0024  SELF      R2 = R1[K7('DOMove')] (self)
      0025  GETTABUP  R3 = _ENV[K8('PositionUtil')]
      0026  GETTABLE  R3 = R3[K9('UICameraScreen2World')]
      0027  MOVE      R4 = R0
      0028  CALL      R3 = call(R3, 1 args, 1 rets)
      0029  GETUPVAL  R4 = _ENV
      0030  CALL      R1 = call(R1, 1 args, 3 rets)
      0031  SELF      R2 = R1[K10('SetEase')] (self)
      0032  GETTABUP  R3 = _ENV[K11('Ease')]
      0033  GETTABLE  R3 = R3[K12('OutQuad')]
      0034  CALL      R1 = call(R1, 1 args, 2 rets)
      0035  SELF      R2 = R1[K13('OnComplete')] (self)
      0036  CLOSURE   R3 = closure proto0
      0037  CALL      R1 = call(R1, 0 args, 2 rets)
      0038  GETTABUP  R1 = flyItemGo[K5('transform')]
      0039  SELF      R2 = R1[K14('DOScale')] (self)
      0040  LOADK     R3 = K15 0.2
      0041  GETUPVAL  R4 = _ENV
      0042  CALL      R1 = call(R1, 1 args, 3 rets)
      0043  SELF      R2 = R1[K10('SetEase')] (self)
      0044  GETTABUP  R3 = _ENV[K11('Ease')]
      0045  GETTABLE  R3 = R3[K16('InBack')]
      0046  CALL      R1 = call(R1, 0 args, 2 rets)
      0047  RETURN    return R0..R-1
      ; ---------- proto0 [] ----------
        ; fn ?  line 208-214 np=0 va=0 ms=3 code=18 consts=6 upvals=3 protos=0
        ;   K[0]='AddressableLoader'
        ;   K[1]='Destroy'
        ;   K[2]='UIUtil'
        ;   K[3]='IsEmptyComponent'
        ;   K[4]='ToggleVisibility'
        ;   K[5]='OnHit'
        ;   upvals: _ENV, flyItemGo, entry
        0000  GETTABUP  R0 = _ENV[K0('AddressableLoader')]
        0001  GETTABLE  R0 = R0[K1('Destroy')]
        0002  GETUPVAL  R1 = _ENV
        0003  CALL      R0 = call(R0, 0 args, 1 rets)
        0004  GETTABUP  R0 = _ENV[K2('UIUtil')]
        0005  GETTABLE  R0 = R0[K3('IsEmptyComponent')]
        0006  GETUPVAL  R1 = _ENV
        0007  CALL      R0 = call(R0, 1 args, 1 rets)
        0008  TEST      if not R0 then   -> -131061
        0009  JMP       (jump)   -> 17
        0010  GETUPVAL  R0 = _ENV
        0011  SELF      R1 = R0[K4('ToggleVisibility')] (self)
        0012  LOADBOOL  R2 = true
        0013  CALL      R0 = call(R0, 0 args, 2 rets)
        0014  GETUPVAL  R0 = _ENV
        0015  SELF      R1 = R0[K5('OnHit')] (self)
        0016  CALL      R0 = call(R0, 0 args, 1 rets)
        0017  RETURN    return R0..R-1
    ; ---------- proto1 [] ----------
      ; fn ?  line 223-225 np=0 va=0 ms=3 code=6 consts=3 upvals=1 protos=0
      ;   K[0]='GM'
      ;   K[1]='UIManager'
      ;   K[2]='SetEventLock'
      ;   upvals: _ENV
      0000  GETTABUP  R0 = _ENV[K0('GM')]
      0001  GETTABLE  R0 = R0[K1('UIManager')]
      0002  SELF      R1 = R0[K2('SetEventLock')] (self)
      0003  LOADBOOL  R2 = false
      0004  CALL      R0 = call(R0, 0 args, 2 rets)
      0005  RETURN    return R0..R-1
; ---------- proto9 [PlayLeafRewardAnimation] ----------
  ; fn ?  line 230-269 np=1 va=0 ms=5 code=7 consts=3 upvals=1 protos=1
  ;   K[0]='m_model'
  ;   K[1]='GetConfigRewards'
  ;   K[2]='_GenerateAnimationLeafGo'
  ;   upvals: _ENV
  ;   locals: self(0-7), rewards(3-7)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  SELF      R2 = R1[K1('GetConfigRewards')] (self)
  0002  CALL      R1 = call(R1, 1 args, 1 rets)
  0003  SELF      R3 = R0[K2('_GenerateAnimationLeafGo')] (self)
  0004  CLOSURE   R4 = closure proto0
  0005  CALL      R2 = call(R2, 0 args, 2 rets)
  0006  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 232-268 np=1 va=0 ms=12 code=95 consts=38 upvals=3 protos=3
    ;   K[0]='IsNull'
    ;   K[1]='GM'
    ;   K[2]='UIManager'
    ;   K[3]='OpenView'
    ;   K[4]='UIPrefabConfigName'
    ;   K[5]='AnimatedRewardWindow'
    ;   K[6]='ERewardScene'
    ;   K[7]='Other'
    ;   K[8]='transform'
    ;   K[9]='UIUtil'
    ;   K[10]='IsEmptyComponent'
    ;   K[11]='m_leafRewardEffectGo'
    ;   K[12]=nil
    ;   K[13]='SetParent'
    ;   K[14]='GetCanvasRoot'
    ;   K[15]='GetComponent'
    ;   K[16]='typeof'
    ;   K[17]='CS'
    ;   K[18]='UnityEngine'
    ;   K[19]='CanvasGroup'
    ;   K[20]='SetEventLock'
    ;   K[21]=0.6
    ;   K[22]='DOTween'
    ;   K[23]='Sequence'
    ;   K[24]='AppendInterval'
    ;   K[25]='Append'
    ;   K[26]='DOScale'
    ;   K[27]=2
    ;   K[28]=0.4
    ;   K[29]='SetEase'
    ;   K[30]='Ease'
    ;   K[31]='InBack'
    ;   K[32]='Insert'
    ;   K[33]=0.2
    ;   K[34]='DOFade'
    ;   K[35]=0
    ;   K[36]='InsertCallback'
    ;   K[37]='OnComplete'
    ;   upvals: _ENV, rewards, self
    ;   locals: flyItemGo(0-95), leafTrans(19-95), effectGo(26-34), canvasGroup(41-95), startDelay(60-95), seq(63-95)
    0000  TEST      if not R0 then   -> -131070
    0001  JMP       (jump)   -> 6
    0002  SELF      R2 = R0[K0('IsNull')] (self)
    0003  CALL      R1 = call(R1, 1 args, 1 rets)
    0004  TEST      if not R1 then   -> -131066
    0005  JMP       (jump)   -> 18
    0006  GETTABUP  R1 = _ENV[K1('GM')]
    0007  GETTABLE  R1 = R1[K2('UIManager')]
    0008  SELF      R2 = R1[K3('OpenView')] (self)
    0009  GETTABUP  R3 = _ENV[K4('UIPrefabConfigName')]
    0010  GETTABLE  R3 = R3[K5('AnimatedRewardWindow')]
    0011  GETUPVAL  R4 = _ENV
    0012  LOADNIL   R5..R5 = nil
    0013  LOADBOOL  R6 = true
    0014  GETTABUP  R7 = _ENV[K6('ERewardScene')]
    0015  GETTABLE  R7 = R7[K7('Other')]
    0016  CALL      R1 = call(R1, 0 args, 6 rets)
    0017  RETURN    return R0..R-1
    0018  GETTABLE  R1 = R0[K8('transform')]
    0019  GETTABUP  R2 = _ENV[K9('UIUtil')]
    0020  GETTABLE  R2 = R2[K10('IsEmptyComponent')]
    0021  GETUPVAL  R3 = _ENV
    0022  CALL      R2 = call(R2, 1 args, 1 rets)
    0023  TEST      if not R2 then   -> -131046
    0024  JMP       (jump)   -> 34
    0025  GETTABUP  R2 = self[K11('m_leafRewardEffectGo')]
    0026  SETTABUP  self[K11('m_leafRewardEffectGo')] = K12(nil)
    0027  GETTABLE  R3 = R2[K8('transform')]
    0028  SELF      R4 = R3[K13('SetParent')] (self)
    0029  GETTABUP  R5 = _ENV[K1('GM')]
    0030  GETTABLE  R5 = R5[K2('UIManager')]
    0031  SELF      R6 = R5[K14('GetCanvasRoot')] (self)
    0032  CALL      R5 = call(R5, -1 args, 1 rets)
    0033  CALL      R3 = call(R3, 0 args, -1 rets)
    0034  SELF      R3 = R1[K15('GetComponent')] (self)
    0035  GETTABUP  R4 = _ENV[K16('typeof')]
    0036  GETTABUP  R5 = _ENV[K17('CS')]
    0037  GETTABLE  R5 = R5[K18('UnityEngine')]
    0038  GETTABLE  R5 = R5[K19('CanvasGroup')]
    0039  CALL      R4 = call(R4, -1 args, 1 rets)
    0040  CALL      R2 = call(R2, 1 args, -1 rets)
    0041  TEST      if not R2 then   -> -131028
    0042  JMP       (jump)   -> 54
    0043  GETTABUP  R3 = _ENV[K1('GM')]
    0044  GETTABLE  R3 = R3[K2('UIManager')]
    0045  SELF      R4 = R3[K3('OpenView')] (self)
    0046  GETTABUP  R5 = _ENV[K4('UIPrefabConfigName')]
    0047  GETTABLE  R5 = R5[K5('AnimatedRewardWindow')]
    0048  GETUPVAL  R6 = _ENV
    0049  LOADNIL   R7..R7 = nil
    0050  LOADBOOL  R8 = true
    0051  GETTABUP  R9 = _ENV[K6('ERewardScene')]
    0052  GETTABLE  R9 = R9[K7('Other')]
    0053  CALL      R3 = call(R3, 0 args, 6 rets)
    0054  GETTABUP  R3 = _ENV[K1('GM')]
    0055  GETTABLE  R3 = R3[K2('UIManager')]
    0056  SELF      R4 = R3[K20('SetEventLock')] (self)
    0057  LOADBOOL  R5 = true
    0058  CALL      R3 = call(R3, 0 args, 2 rets)
    0059  LOADK     R3 = K21 0.6
    0060  GETTABUP  R4 = _ENV[K22('DOTween')]
    0061  GETTABLE  R4 = R4[K23('Sequence')]
    0062  CALL      R4 = call(R4, 1 args, 0 rets)
    0063  SELF      R6 = R4[K24('AppendInterval')] (self)
    0064  MOVE      R7 = R0
    0065  CALL      R5 = call(R5, 0 args, 2 rets)
    0066  SELF      R6 = R4[K25('Append')] (self)
    0067  SELF      R8 = R1[K26('DOScale')] (self)
    0068  LOADK     R9 = K27 2
    0069  LOADK     R10 = K28 0.4
    0070  CALL      R7 = call(R7, 1 args, 3 rets)
    0071  SELF      R8 = R7[K29('SetEase')] (self)
    0072  GETTABUP  R9 = _ENV[K30('Ease')]
    0073  GETTABLE  R9 = R9[K31('InBack')]
    0074  CALL      R7 = call(R7, -1 args, 2 rets)
    0075  CALL      R5 = call(R5, 0 args, -1 rets)
    0076  SELF      R6 = R4[K32('Insert')] (self)
    0077  ADD       R7 = K33(0.2) add R3
    0078  SELF      R9 = R2[K34('DOFade')] (self)
    0079  LOADK     R10 = K35 0
    0080  LOADK     R11 = K33 0.2
    0081  CALL      R8 = call(R8, -1 args, 3 rets)
    0082  CALL      R5 = call(R5, 0 args, -1 rets)
    0083  SELF      R6 = R4[K36('InsertCallback')] (self)
    0084  ADD       R7 = K33(0.2) add R3
    0085  CLOSURE   R8 = closure proto0
    0086  CALL      R5 = call(R5, 0 args, 3 rets)
    0087  SELF      R6 = R4[K36('InsertCallback')] (self)
    0088  ADD       R7 = K28(0.4) add R3
    0089  CLOSURE   R8 = closure proto1
    0090  CALL      R5 = call(R5, 0 args, 3 rets)
    0091  SELF      R6 = R4[K37('OnComplete')] (self)
    0092  CLOSURE   R7 = closure proto2
    0093  CALL      R5 = call(R5, 0 args, 2 rets)
    0094  RETURN    return R0..R-1
    ; ---------- proto0 [] ----------
      ; fn ?  line 256-260 np=0 va=0 ms=3 code=13 consts=3 upvals=1 protos=0
      ;   K[0]='effectGo'
      ;   K[1]='IsNull'
      ;   K[2]='SetActive'
      ;   upvals: _ENV
      0000  GETTABUP  R0 = _ENV[K0('effectGo')]
      0001  TEST      if not R0 then   -> -131069
      0002  JMP       (jump)   -> 12
      0003  GETTABUP  R0 = _ENV[K0('effectGo')]
      0004  SELF      R1 = R0[K1('IsNull')] (self)
      0005  CALL      R0 = call(R0, 1 args, 1 rets)
      0006  TEST      if not R0 then   -> -131063
      0007  JMP       (jump)   -> 12
      0008  GETTABUP  R0 = _ENV[K0('effectGo')]
      0009  SELF      R1 = R0[K2('SetActive')] (self)
      0010  LOADBOOL  R2 = true
      0011  CALL      R0 = call(R0, 0 args, 2 rets)
      0012  RETURN    return R0..R-1
    ; ---------- proto1 [] ----------
      ; fn ?  line 261-263 np=0 va=0 ms=7 code=12 consts=7 upvals=2 protos=0
      ;   K[0]='GM'
      ;   K[1]='UIManager'
      ;   K[2]='OpenView'
      ;   K[3]='UIPrefabConfigName'
      ;   K[4]='AnimatedRewardWindow'
      ;   K[5]='ERewardScene'
      ;   K[6]='Other'
      ;   upvals: _ENV, rewards
      0000  GETTABUP  R0 = _ENV[K0('GM')]
      0001  GETTABLE  R0 = R0[K1('UIManager')]
      0002  SELF      R1 = R0[K2('OpenView')] (self)
      0003  GETTABUP  R2 = _ENV[K3('UIPrefabConfigName')]
      0004  GETTABLE  R2 = R2[K4('AnimatedRewardWindow')]
      0005  GETUPVAL  R3 = _ENV
      0006  LOADNIL   R4..R4 = nil
      0007  LOADBOOL  R5 = true
      0008  GETTABUP  R6 = _ENV[K5('ERewardScene')]
      0009  GETTABLE  R6 = R6[K6('Other')]
      0010  CALL      R0 = call(R0, 0 args, 6 rets)
      0011  RETURN    return R0..R-1
    ; ---------- proto2 [] ----------
      ; fn ?  line 264-267 np=0 va=0 ms=3 code=10 consts=5 upvals=2 protos=0
      ;   K[0]='AddressableLoader'
      ;   K[1]='Destroy'
      ;   K[2]='GM'
      ;   K[3]='UIManager'
      ;   K[4]='SetEventLock'
      ;   upvals: _ENV, flyItemGo
      0000  GETTABUP  R0 = _ENV[K0('AddressableLoader')]
      0001  GETTABLE  R0 = R0[K1('Destroy')]
      0002  GETUPVAL  R1 = _ENV
      0003  CALL      R0 = call(R0, 0 args, 1 rets)
      0004  GETTABUP  R0 = _ENV[K2('GM')]
      0005  GETTABLE  R0 = R0[K3('UIManager')]
      0006  SELF      R1 = R0[K4('SetEventLock')] (self)
      0007  LOADBOOL  R2 = false
      0008  CALL      R0 = call(R0, 0 args, 2 rets)
      0009  RETURN    return R0..R-1
