# AlbumActivity_View_AlbumDoublePackBuffWindow_1162.luac
; fn @AlbumDoublePackBuffWindow.lua  line 0-0 np=0 va=1 ms=3 code=45 consts=17 upvals=1 protos=9
;   K[0]='AlbumDoublePackBuffWindow'
;   K[1]='setmetatable'
;   K[2]='AlbumActivityBaseWindow'
;   K[3]='__index'
;   K[4]='Init'
;   K[5]='UpdatePerSecond'
;   K[6]='OnBuffStateChanged'
;   K[7]='OnCloseBtnClick'
;   K[8]='AlbumDoublePackBuffAnimWindow'
;   K[9]='showWindowMask'
;   K[10]=false
;   K[11]='AlbumActivityBaseWindow'
;   K[12]='Init'
;   K[13]='PlayAnim'
;   K[14]='OnDestroy'
;   K[15]='OnBuffStateChanged'
;   K[16]='GetTargetOrderRewardCells'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  GETTABUP  R2 = _ENV[K2('AlbumActivityBaseWindow')]
0003  CALL      R0 = call(R0, 1 args, 2 rets)
0004  SETTABUP  _ENV[K0('AlbumDoublePackBuffWindow')] = R0
0005  GETTABUP  R0 = _ENV[K0('AlbumDoublePackBuffWindow')]
0006  GETTABUP  R1 = _ENV[K0('AlbumDoublePackBuffWindow')]
0007  SETTABLE  R0[K3('__index')] = R1
0008  GETTABUP  R0 = _ENV[K0('AlbumDoublePackBuffWindow')]
0009  CLOSURE   R1 = closure proto0
0010  SETTABLE  R0[K4('Init')] = R1
0011  GETTABUP  R0 = _ENV[K0('AlbumDoublePackBuffWindow')]
0012  CLOSURE   R1 = closure proto1
0013  SETTABLE  R0[K5('UpdatePerSecond')] = R1
0014  GETTABUP  R0 = _ENV[K0('AlbumDoublePackBuffWindow')]
0015  CLOSURE   R1 = closure proto2
0016  SETTABLE  R0[K6('OnBuffStateChanged')] = R1
0017  GETTABUP  R0 = _ENV[K0('AlbumDoublePackBuffWindow')]
0018  CLOSURE   R1 = closure proto3
0019  SETTABLE  R0[K7('OnCloseBtnClick')] = R1
0020  GETTABUP  R0 = _ENV[K1('setmetatable')]
0021  NEWTABLE  R1 = {} (0 items)
0022  SETTABLE  R1[K9('showWindowMask')] = K10(false)
0023  GETTABUP  R2 = _ENV[K11('AlbumActivityBaseWindow')]
0024  CALL      R0 = call(R0, 1 args, 2 rets)
0025  SETTABUP  _ENV[K8('AlbumDoublePackBuffAnimWindow')] = R0
0026  GETTABUP  R0 = _ENV[K8('AlbumDoublePackBuffAnimWindow')]
0027  GETTABUP  R1 = _ENV[K8('AlbumDoublePackBuffAnimWindow')]
0028  SETTABLE  R0[K3('__index')] = R1
0029  GETTABUP  R0 = _ENV[K8('AlbumDoublePackBuffAnimWindow')]
0030  CLOSURE   R1 = closure proto4
0031  SETTABLE  R0[K12('Init')] = R1
0032  GETTABUP  R0 = _ENV[K8('AlbumDoublePackBuffAnimWindow')]
0033  CLOSURE   R1 = closure proto5
0034  SETTABLE  R0[K13('PlayAnim')] = R1
0035  GETTABUP  R0 = _ENV[K8('AlbumDoublePackBuffAnimWindow')]
0036  CLOSURE   R1 = closure proto6
0037  SETTABLE  R0[K14('OnDestroy')] = R1
0038  GETTABUP  R0 = _ENV[K8('AlbumDoublePackBuffAnimWindow')]
0039  CLOSURE   R1 = closure proto7
0040  SETTABLE  R0[K15('OnBuffStateChanged')] = R1
0041  GETTABUP  R0 = _ENV[K8('AlbumDoublePackBuffAnimWindow')]
0042  CLOSURE   R1 = closure proto8
0043  SETTABLE  R0[K16('GetTargetOrderRewardCells')] = R1
0044  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 4-17 np=3 va=0 ms=8 code=35 consts=18 upvals=1 protos=0
  ;   K[0]='AlbumActivityBaseWindow'
  ;   K[1]='Init'
  ;   K[2]='m_model'
  ;   K[3]='SetPopedAlbumBuffWindow'
  ;   K[4]='EAlbumBuffType'
  ;   K[5]='DoublePack'
  ;   K[6]='m_bUserClick'
  ;   K[7]='IsRMServerOpen'
  ;   K[8]='UIUtil'
  ;   K[9]='SetActive'
  ;   K[10]='m_rmSpineGo'
  ;   K[11]='m_defaultSpineGo'
  ;   K[12]='UpdatePerSecond'
  ;   K[13]='EventDispatcher'
  ;   K[14]='AddListener'
  ;   K[15]='m_activityDefinition'
  ;   K[16]='DoublePackBuffStateChanged'
  ;   K[17]='OnBuffStateChanged'
  ;   upvals: _ENV
  ;   locals: self(0-35), activityType(0-35), bUserClick(0-35), bRM(15-35)
  0000  GETTABUP  R3 = _ENV[K0('AlbumActivityBaseWindow')]
  0001  GETTABLE  R3 = R3[K1('Init')]
  0002  MOVE      R4 = R0
  0003  MOVE      R5 = R0
  0004  MOVE      R6 = R0
  0005  CALL      R3 = call(R3, 0 args, 3 rets)
  0006  GETTABLE  R3 = R0[K2('m_model')]
  0007  SELF      R4 = R3[K3('SetPopedAlbumBuffWindow')] (self)
  0008  GETTABUP  R5 = _ENV[K4('EAlbumBuffType')]
  0009  GETTABLE  R5 = R5[K5('DoublePack')]
  0010  CALL      R3 = call(R3, 0 args, 2 rets)
  0011  SETTABLE  R0[K6('m_bUserClick')] = R2
  0012  GETTABLE  R3 = R0[K2('m_model')]
  0013  SELF      R4 = R3[K7('IsRMServerOpen')] (self)
  0014  CALL      R3 = call(R3, 1 args, 1 rets)
  0015  GETTABUP  R4 = _ENV[K8('UIUtil')]
  0016  GETTABLE  R4 = R4[K9('SetActive')]
  0017  GETTABLE  R5 = R0[K10('m_rmSpineGo')]
  0018  MOVE      R6 = R0
  0019  CALL      R4 = call(R4, 0 args, 2 rets)
  0020  GETTABUP  R4 = _ENV[K8('UIUtil')]
  0021  GETTABLE  R4 = R4[K9('SetActive')]
  0022  GETTABLE  R5 = R0[K11('m_defaultSpineGo')]
  0023  NOT       R6 = not R0
  0024  CALL      R4 = call(R4, 0 args, 2 rets)
  0025  SELF      R5 = R0[K12('UpdatePerSecond')] (self)
  0026  CALL      R4 = call(R4, 0 args, 1 rets)
  0027  GETTABUP  R4 = _ENV[K13('EventDispatcher')]
  0028  GETTABLE  R4 = R4[K14('AddListener')]
  0029  GETTABLE  R5 = R0[K15('m_activityDefinition')]
  0030  GETTABLE  R5 = R5[K16('DoublePackBuffStateChanged')]
  0031  MOVE      R6 = R0
  0032  GETTABLE  R7 = R0[K17('OnBuffStateChanged')]
  0033  CALL      R4 = call(R4, 0 args, 3 rets)
  0034  RETURN    return R0..R-1
; ---------- proto1 [UpdatePerSecond] ----------
  ; fn ?  line 19-28 np=1 va=0 ms=7 code=35 consts=19 upvals=1 protos=0
  ;   K[0]='m_model'
  ;   K[1]=nil
  ;   K[2]='GetState'
  ;   K[3]='ActivityState'
  ;   K[4]='Started'
  ;   K[5]='GetBuffEndTime'
  ;   K[6]='EAlbumBuffType'
  ;   K[7]='DoublePack'
  ;   K[8]='m_countdownText'
  ;   K[9]='text'
  ;   K[10]='TimeUtil'
  ;   K[11]='ParseTimeDescription'
  ;   K[12]='math'
  ;   K[13]='max'
  ;   K[14]='GM'
  ;   K[15]='GameModel'
  ;   K[16]='GetServerTime'
  ;   K[17]=0
  ;   K[18]=''
  ;   upvals: _ENV
  ;   locals: self(0-35), buffEndTime(15-34)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  EQ        if R1 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 34
  0003  GETTABLE  R1 = R0[K0('m_model')]
  0004  SELF      R2 = R1[K2('GetState')] (self)
  0005  CALL      R1 = call(R1, 1 args, 1 rets)
  0006  GETTABUP  R2 = _ENV[K3('ActivityState')]
  0007  GETTABLE  R2 = R2[K4('Started')]
  0008  EQ        if R0 eq R2   -> -130548
  0009  JMP       (jump)   -> 34
  0010  GETTABLE  R1 = R0[K0('m_model')]
  0011  SELF      R2 = R1[K5('GetBuffEndTime')] (self)
  0012  GETTABUP  R3 = _ENV[K6('EAlbumBuffType')]
  0013  GETTABLE  R3 = R3[K7('DoublePack')]
  0014  CALL      R1 = call(R1, 1 args, 2 rets)
  0015  EQ        if R1 eq K1(nil)   -> -130286
  0016  JMP       (jump)   -> 32
  0017  GETTABLE  R2 = R0[K8('m_countdownText')]
  0018  GETTABUP  R3 = _ENV[K10('TimeUtil')]
  0019  GETTABLE  R3 = R3[K11('ParseTimeDescription')]
  0020  GETTABUP  R4 = _ENV[K12('math')]
  0021  GETTABLE  R4 = R4[K13('max')]
  0022  GETTABUP  R5 = _ENV[K14('GM')]
  0023  GETTABLE  R5 = R5[K15('GameModel')]
  0024  SELF      R6 = R5[K16('GetServerTime')] (self)
  0025  CALL      R5 = call(R5, 1 args, 1 rets)
  0026  SUB       R5 = R5 sub R1
  0027  LOADK     R6 = K17 0
  0028  CALL      R4 = call(R4, -1 args, 2 rets)
  0029  CALL      R3 = call(R3, 1 args, -1 rets)
  0030  SETTABLE  R2[K9('text')] = R3
  0031  JMP       (jump)   -> 34
  0032  GETTABLE  R2 = R0[K8('m_countdownText')]
  0033  SETTABLE  R2[K9('text')] = K18('')
  0034  RETURN    return R0..R-1
; ---------- proto2 [OnBuffStateChanged] ----------
  ; fn ?  line 30-32 np=2 va=0 ms=4 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='Close'
  ;   locals: self(0-3), buffType(0-3)
  0000  SELF      R3 = R0[K0('Close')] (self)
  0001  CALL      R2 = call(R2, 0 args, 1 rets)
  0002  RETURN    return R0..R-1
; ---------- proto3 [OnCloseBtnClick] ----------
  ; fn ?  line 34-39 np=1 va=0 ms=5 code=20 consts=12 upvals=1 protos=0
  ;   K[0]='Close'
  ;   K[1]='m_bUserClick'
  ;   K[2]='m_model'
  ;   K[3]='IsBuffOpenning'
  ;   K[4]='EAlbumBuffType'
  ;   K[5]='DoublePack'
  ;   K[6]='GM'
  ;   K[7]='UIManager'
  ;   K[8]='OpenView'
  ;   K[9]='UIPrefabConfigName'
  ;   K[10]='AlbumDoublePackBuffAnimWindow'
  ;   K[11]='m_activityType'
  ;   upvals: _ENV
  ;   locals: self(0-20)
  0000  SELF      R2 = R0[K0('Close')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  GETTABLE  R1 = R0[K1('m_bUserClick')]
  0003  TEST      if not R1 then   -> -131066
  0004  JMP       (jump)   -> 19
  0005  GETTABLE  R1 = R0[K2('m_model')]
  0006  SELF      R2 = R1[K3('IsBuffOpenning')] (self)
  0007  GETTABUP  R3 = _ENV[K4('EAlbumBuffType')]
  0008  GETTABLE  R3 = R3[K5('DoublePack')]
  0009  CALL      R1 = call(R1, 1 args, 2 rets)
  0010  TEST      if not R1 then   -> -131060
  0011  JMP       (jump)   -> 19
  0012  GETTABUP  R1 = _ENV[K6('GM')]
  0013  GETTABLE  R1 = R1[K7('UIManager')]
  0014  SELF      R2 = R1[K8('OpenView')] (self)
  0015  GETTABUP  R3 = _ENV[K9('UIPrefabConfigName')]
  0016  GETTABLE  R3 = R3[K10('AlbumDoublePackBuffAnimWindow')]
  0017  GETTABLE  R4 = R0[K11('m_activityType')]
  0018  CALL      R1 = call(R1, 0 args, 3 rets)
  0019  RETURN    return R0..R-1
; ---------- proto4 [Init] ----------
  ; fn ?  line 47-74 np=2 va=0 ms=12 code=65 consts=29 upvals=1 protos=0
  ;   K[0]='AlbumActivityBaseWindow'
  ;   K[1]='Init'
  ;   K[2]='m_model'
  ;   K[3]='IsBuffOpenning'
  ;   K[4]='EAlbumBuffType'
  ;   K[5]='DoublePack'
  ;   K[6]='Close'
  ;   K[7]='GetTargetOrderRewardCells'
  ;   K[8]='Table'
  ;   K[9]='IsEmpty'
  ;   K[10]='m_arrRewardCells'
  ;   K[11]='ipairs'
  ;   K[12]='GetReward'
  ;   K[13]='UpdateNumText'
  ;   K[14]='PROPERTY_COUNT'
  ;   K[15]=2
  ;   K[16]='IsRMServerOpen'
  ;   K[17]='m_icon'
  ;   K[18]='sprite'
  ;   K[19]='m_rmSprite'
  ;   K[20]='m_defaultSprite'
  ;   K[21]='SpriteUtil'
  ;   K[22]='SetNativeSize'
  ;   K[23]='PlayAnim'
  ;   K[24]='EventDispatcher'
  ;   K[25]='AddListener'
  ;   K[26]='m_activityDefinition'
  ;   K[27]='DoublePackBuffStateChanged'
  ;   K[28]='OnBuffStateChanged'
  ;   upvals: _ENV
  ;   locals: self(0-65), activityType(0-65), arrRewardCells(18-65), reward(26-40), (for generator)(29-40), (for state)(29-40), (for control)(29-40), _(30-38), rewardCell(30-38), bRM(43-65)
  0000  GETTABUP  R2 = _ENV[K0('AlbumActivityBaseWindow')]
  0001  GETTABLE  R2 = R2[K1('Init')]
  0002  MOVE      R3 = R0
  0003  MOVE      R4 = R0
  0004  LOADBOOL  R5 = true
  0005  CALL      R2 = call(R2, 0 args, 3 rets)
  0006  GETTABLE  R2 = R0[K2('m_model')]
  0007  SELF      R3 = R2[K3('IsBuffOpenning')] (self)
  0008  GETTABUP  R4 = _ENV[K4('EAlbumBuffType')]
  0009  GETTABLE  R4 = R4[K5('DoublePack')]
  0010  CALL      R2 = call(R2, 1 args, 2 rets)
  0011  TEST      if not R2 then   -> -131058
  0012  JMP       (jump)   -> 16
  0013  SELF      R3 = R0[K6('Close')] (self)
  0014  CALL      R2 = call(R2, 0 args, 1 rets)
  0015  RETURN    return R0..R-1
  0016  SELF      R3 = R0[K7('GetTargetOrderRewardCells')] (self)
  0017  CALL      R2 = call(R2, 1 args, 1 rets)
  0018  GETTABUP  R3 = _ENV[K8('Table')]
  0019  GETTABLE  R3 = R3[K9('IsEmpty')]
  0020  MOVE      R4 = R0
  0021  CALL      R3 = call(R3, 1 args, 1 rets)
  0022  TEST      if not R3 then   -> -131047
  0023  JMP       (jump)   -> 40
  0024  SETTABLE  R0[K10('m_arrRewardCells')] = R2
  0025  LOADNIL   R3..R3 = nil
  0026  GETTABUP  R4 = _ENV[K11('ipairs')]
  0027  MOVE      R5 = R0
  0028  CALL      R4 = call(R4, 3 args, 1 rets)
  0029  JMP       (jump)   -> 38
  0030  SELF      R10 = R8[K12('GetReward')] (self)
  0031  CALL      R9 = call(R9, 1 args, 1 rets)
  0032  MOVE      R3 = R0
  0033  SELF      R10 = R8[K13('UpdateNumText')] (self)
  0034  GETTABUP  R11 = _ENV[K14('PROPERTY_COUNT')]
  0035  GETTABLE  R11 = R3[R11]
  0036  IDIV      R11 = K15(2) idiv R11
  0037  CALL      R9 = call(R9, 0 args, 2 rets)
  0038  TFORCALL  tforcall R4
  0039  TFORLOOP  tforloop R6(sBx=-10)   -> 30
  0040  GETTABLE  R3 = R0[K2('m_model')]
  0041  SELF      R4 = R3[K16('IsRMServerOpen')] (self)
  0042  CALL      R3 = call(R3, 1 args, 1 rets)
  0043  GETTABLE  R4 = R0[K17('m_icon')]
  0044  TEST      if not R3 then   -> -131026
  0045  JMP       (jump)   -> 49
  0046  GETTABLE  R5 = R0[K19('m_rmSprite')]
  0047  TEST      if not R5 then   -> -131022
  0048  JMP       (jump)   -> 50
  0049  GETTABLE  R5 = R0[K20('m_defaultSprite')]
  0050  SETTABLE  R4[K18('sprite')] = R5
  0051  GETTABUP  R4 = _ENV[K21('SpriteUtil')]
  0052  GETTABLE  R4 = R4[K22('SetNativeSize')]
  0053  GETTABLE  R5 = R0[K17('m_icon')]
  0054  CALL      R4 = call(R4, 0 args, 1 rets)
  0055  SELF      R5 = R0[K23('PlayAnim')] (self)
  0056  CALL      R4 = call(R4, 0 args, 1 rets)
  0057  GETTABUP  R4 = _ENV[K24('EventDispatcher')]
  0058  GETTABLE  R4 = R4[K25('AddListener')]
  0059  GETTABLE  R5 = R0[K26('m_activityDefinition')]
  0060  GETTABLE  R5 = R5[K27('DoublePackBuffStateChanged')]
  0061  MOVE      R6 = R0
  0062  GETTABLE  R7 = R0[K28('OnBuffStateChanged')]
  0063  CALL      R4 = call(R4, 0 args, 3 rets)
  0064  RETURN    return R0..R-1
; ---------- proto5 [PlayAnim] ----------
  ; fn ?  line 76-126 np=1 va=0 ms=8 code=45 consts=23 upvals=1 protos=2
  ;   K[0]='TutorialHelper'
  ;   K[1]='ScrollToMainOrderRoot'
  ;   K[2]='DOTween'
  ;   K[3]='Sequence'
  ;   K[4]='AppendInterval'
  ;   K[5]=1
  ;   K[6]='Append'
  ;   K[7]='m_animRect'
  ;   K[8]='DOScale'
  ;   K[9]='V3Zero'
  ;   K[10]=0.3
  ;   K[11]='SetEase'
  ;   K[12]='Ease'
  ;   K[13]='InOutSine'
  ;   K[14]='Join'
  ;   K[15]='m_maskImg'
  ;   K[16]='DOFade'
  ;   K[17]=0
  ;   K[18]='AppendCallback'
  ;   K[19]='m_arrRewardCells'
  ;   K[20]=nil
  ;   K[21]=0.5
  ;   K[22]='m_seq'
  ;   upvals: _ENV
  ;   locals: self(0-45), seq(7-45)
  0000  GETTABUP  R1 = _ENV[K0('TutorialHelper')]
  0001  GETTABLE  R1 = R1[K1('ScrollToMainOrderRoot')]
  0002  LOADBOOL  R2 = true
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  GETTABUP  R1 = _ENV[K2('DOTween')]
  0005  GETTABLE  R1 = R1[K3('Sequence')]
  0006  CALL      R1 = call(R1, 1 args, 0 rets)
  0007  SELF      R3 = R1[K4('AppendInterval')] (self)
  0008  LOADK     R4 = K5 1
  0009  CALL      R2 = call(R2, 0 args, 2 rets)
  0010  SELF      R3 = R1[K6('Append')] (self)
  0011  GETTABLE  R4 = R0[K7('m_animRect')]
  0012  SELF      R5 = R4[K8('DOScale')] (self)
  0013  GETTABUP  R6 = _ENV[K9('V3Zero')]
  0014  LOADK     R7 = K10 0.3
  0015  CALL      R4 = call(R4, 1 args, 3 rets)
  0016  SELF      R5 = R4[K11('SetEase')] (self)
  0017  GETTABUP  R6 = _ENV[K12('Ease')]
  0018  GETTABLE  R6 = R6[K13('InOutSine')]
  0019  CALL      R4 = call(R4, -1 args, 2 rets)
  0020  CALL      R2 = call(R2, 0 args, -1 rets)
  0021  SELF      R3 = R1[K14('Join')] (self)
  0022  GETTABLE  R4 = R0[K15('m_maskImg')]
  0023  SELF      R5 = R4[K16('DOFade')] (self)
  0024  LOADK     R6 = K17 0
  0025  LOADK     R7 = K10 0.3
  0026  CALL      R4 = call(R4, -1 args, 3 rets)
  0027  CALL      R2 = call(R2, 0 args, -1 rets)
  0028  SELF      R3 = R1[K18('AppendCallback')] (self)
  0029  CLOSURE   R4 = closure proto0
  0030  CALL      R2 = call(R2, 0 args, 2 rets)
  0031  SELF      R3 = R1[K4('AppendInterval')] (self)
  0032  GETTABLE  R4 = R0[K19('m_arrRewardCells')]
  0033  EQ        if R1 eq K20(nil)   -> -128713
  0034  JMP       (jump)   -> 38
  0035  LOADK     R4 = K21 0.5
  0036  TEST      if not R4 then   -> -131033
  0037  JMP       (jump)   -> 39
  0038  LOADK     R4 = K17 0
  0039  CALL      R2 = call(R2, 0 args, 2 rets)
  0040  SELF      R3 = R1[K18('AppendCallback')] (self)
  0041  CLOSURE   R4 = closure proto1
  0042  CALL      R2 = call(R2, 0 args, 2 rets)
  0043  SETTABLE  R0[K22('m_seq')] = R1
  0044  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 84-106 np=0 va=0 ms=14 code=54 consts=24 upvals=2 protos=1
    ;   K[0]='GetTargetOrderRewardCells'
    ;   K[1]='GM'
    ;   K[2]='ModeViewController'
    ;   K[3]='GetBoardInfo'
    ;   K[4]='Table'
    ;   K[5]='IsEmpty'
    ;   K[6]='ipairs'
    ;   K[7]='WorldToScreenPoint'
    ;   K[8]='transform'
    ;   K[9]='position'
    ;   K[10]='PositionUtil'
    ;   K[11]='UICameraScreen2World'
    ;   K[12]='GameObject'
    ;   K[13]='Instantiate'
    ;   K[14]='m_effectGo'
    ;   K[15]='parent'
    ;   K[16]='UIUtil'
    ;   K[17]='SetActive'
    ;   K[18]='DOMove'
    ;   K[19]=0.4
    ;   K[20]='SetEase'
    ;   K[21]='Ease'
    ;   K[22]='InOutSine'
    ;   K[23]='OnComplete'
    ;   upvals: self, _ENV
    ;   locals: arrRewardCells(3-54), boardCamera(7-54), (for generator)(16-53), (for state)(16-53), (for control)(16-53), _(17-51), cell(17-51), screenPos(21-50), worldPos(25-50), effectGo(32-50)
    0000  GETUPVAL  R0 = self
    0001  SELF      R1 = R0[K0('GetTargetOrderRewardCells')] (self)
    0002  CALL      R0 = call(R0, 1 args, 1 rets)
    0003  GETTABUP  R1 = _ENV[K1('GM')]
    0004  GETTABLE  R1 = R1[K2('ModeViewController')]
    0005  SELF      R2 = R1[K3('GetBoardInfo')] (self)
    0006  CALL      R1 = call(R1, 1 args, 1 rets)
    0007  GETTABUP  R2 = _ENV[K4('Table')]
    0008  GETTABLE  R2 = R2[K5('IsEmpty')]
    0009  MOVE      R3 = R0
    0010  CALL      R2 = call(R2, 1 args, 1 rets)
    0011  TEST      if not R2 then   -> -131058
    0012  JMP       (jump)   -> 53
    0013  GETTABUP  R2 = _ENV[K6('ipairs')]
    0014  MOVE      R3 = R0
    0015  CALL      R2 = call(R2, 3 args, 1 rets)
    0016  JMP       (jump)   -> 51
    0017  SELF      R8 = R1[K7('WorldToScreenPoint')] (self)
    0018  GETTABLE  R9 = R6[K8('transform')]
    0019  GETTABLE  R9 = R9[K9('position')]
    0020  CALL      R7 = call(R7, 1 args, 2 rets)
    0021  GETTABUP  R8 = _ENV[K10('PositionUtil')]
    0022  GETTABLE  R8 = R8[K11('UICameraScreen2World')]
    0023  MOVE      R9 = R0
    0024  CALL      R8 = call(R8, 1 args, 1 rets)
    0025  GETTABUP  R9 = _ENV[K12('GameObject')]
    0026  GETTABLE  R9 = R9[K13('Instantiate')]
    0027  GETTABUP  R10 = self[K14('m_effectGo')]
    0028  GETTABUP  R11 = self[K14('m_effectGo')]
    0029  GETTABLE  R11 = R11[K8('transform')]
    0030  GETTABLE  R11 = R11[K15('parent')]
    0031  CALL      R9 = call(R9, 1 args, 2 rets)
    0032  GETTABUP  R10 = _ENV[K16('UIUtil')]
    0033  GETTABLE  R10 = R10[K17('SetActive')]
    0034  MOVE      R11 = R0
    0035  LOADBOOL  R12 = true
    0036  CALL      R10 = call(R10, 0 args, 2 rets)
    0037  GETTABLE  R10 = R9[K8('transform')]
    0038  SELF      R11 = R10[K18('DOMove')] (self)
    0039  MOVE      R12 = R0
    0040  LOADK     R13 = K19 0.4
    0041  CALL      R10 = call(R10, 1 args, 3 rets)
    0042  SELF      R11 = R10[K20('SetEase')] (self)
    0043  GETTABUP  R12 = _ENV[K21('Ease')]
    0044  GETTABLE  R12 = R12[K22('InOutSine')]
    0045  CALL      R10 = call(R10, 1 args, 2 rets)
    0046  SELF      R11 = R10[K23('OnComplete')] (self)
    0047  CLOSURE   R12 = closure proto0
    0048  CALL      R10 = call(R10, 0 args, 2 rets)
    0049  JMP       (jump)   -> 51
    0050  JMP       (jump)   -> 51
    0051  TFORCALL  tforcall R2
    0052  TFORLOOP  tforloop R4(sBx=-36)   -> 17
    0053  RETURN    return R0..R-1
    ; ---------- proto0 [] ----------
      ; fn ?  line 94-103 np=0 va=0 ms=4 code=30 consts=10 upvals=3 protos=0
      ;   K[0]=nil
      ;   K[1]='IsNull'
      ;   K[2]='GameObject'
      ;   K[3]='Destroy'
      ;   K[4]='UIUtil'
      ;   K[5]='IsEmptyComponent'
      ;   K[6]='PlayHitAnim'
      ;   K[7]='UpdateNumText'
      ;   K[8]='GetReward'
      ;   K[9]='PROPERTY_COUNT'
      ;   upvals: effectGo, _ENV, cell
      0000  GETUPVAL  R0 = effectGo
      0001  EQ        if R1 eq K0(nil)   -> -130813
      0002  JMP       (jump)   -> 12
      0003  GETUPVAL  R0 = 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[K2('GameObject')]
      0009  GETTABLE  R0 = R0[K3('Destroy')]
      0010  GETUPVAL  R1 = effectGo
      0011  CALL      R0 = call(R0, 0 args, 1 rets)
      0012  GETTABUP  R0 = _ENV[K4('UIUtil')]
      0013  GETTABLE  R0 = R0[K5('IsEmptyComponent')]
      0014  GETUPVAL  R1 = effectGo
      0015  CALL      R0 = call(R0, 1 args, 1 rets)
      0016  TEST      if not R0 then   -> -131053
      0017  JMP       (jump)   -> 29
      0018  GETUPVAL  R0 = effectGo
      0019  SELF      R1 = R0[K6('PlayHitAnim')] (self)
      0020  CALL      R0 = call(R0, 0 args, 1 rets)
      0021  GETUPVAL  R0 = effectGo
      0022  SELF      R1 = R0[K7('UpdateNumText')] (self)
      0023  GETUPVAL  R2 = effectGo
      0024  SELF      R3 = R2[K8('GetReward')] (self)
      0025  CALL      R2 = call(R2, 1 args, 1 rets)
      0026  GETTABUP  R3 = _ENV[K9('PROPERTY_COUNT')]
      0027  GETTABLE  R2 = R2[R3]
      0028  CALL      R0 = call(R0, 0 args, 2 rets)
      0029  RETURN    return R0..R-1
  ; ---------- proto1 [m_seq] ----------
    ; fn ?  line 109-122 np=0 va=0 ms=4 code=19 consts=10 upvals=2 protos=1
    ;   K[0]='m_seq'
    ;   K[1]=nil
    ;   K[2]='GM'
    ;   K[3]='TutorialModel'
    ;   K[4]='IsTutorialFinished'
    ;   K[5]='ETutorialId'
    ;   K[6]='AlbumDoublePackBuff'
    ;   K[7]='DelayExecuteFuncInView'
    ;   K[8]=0.5
    ;   K[9]='Close'
    ;   upvals: self, _ENV
    0000  SETTABUP  self[K0('m_seq')] = K1(nil)
    0001  GETTABUP  R0 = _ENV[K2('GM')]
    0002  GETTABLE  R0 = R0[K3('TutorialModel')]
    0003  SELF      R1 = R0[K4('IsTutorialFinished')] (self)
    0004  GETTABUP  R2 = _ENV[K5('ETutorialId')]
    0005  GETTABLE  R2 = R2[K6('AlbumDoublePackBuff')]
    0006  CALL      R0 = call(R0, 1 args, 2 rets)
    0007  TEST      if not R0 then   -> -131063
    0008  JMP       (jump)   -> 15
    0009  GETTABUP  R0 = _ENV[K7('DelayExecuteFuncInView')]
    0010  CLOSURE   R1 = closure proto0
    0011  LOADK     R2 = K8 0.5
    0012  GETUPVAL  R3 = self
    0013  CALL      R0 = call(R0, 0 args, 3 rets)
    0014  JMP       (jump)   -> 18
    0015  GETUPVAL  R0 = self
    0016  SELF      R1 = R0[K9('Close')] (self)
    0017  CALL      R0 = call(R0, 0 args, 1 rets)
    0018  RETURN    return R0..R-1
    ; ---------- proto0 [] ----------
      ; fn ?  line 113-118 np=0 va=0 ms=5 code=12 consts=6 upvals=2 protos=1
      ;   K[0]='Close'
      ;   K[1]='GM'
      ;   K[2]='UIManager'
      ;   K[3]='OpenView'
      ;   K[4]='UIPrefabConfigName'
      ;   K[5]='OrderDayWindow'
      ;   upvals: self, _ENV
      0000  GETUPVAL  R0 = self
      0001  SELF      R1 = R0[K0('Close')] (self)
      0002  CALL      R0 = call(R0, 0 args, 1 rets)
      0003  GETTABUP  R0 = _ENV[K1('GM')]
      0004  GETTABLE  R0 = R0[K2('UIManager')]
      0005  SELF      R1 = R0[K3('OpenView')] (self)
      0006  GETTABUP  R2 = _ENV[K4('UIPrefabConfigName')]
      0007  GETTABLE  R2 = R2[K5('OrderDayWindow')]
      0008  LOADBOOL  R3 = true
      0009  CLOSURE   R4 = closure proto0
      0010  CALL      R0 = call(R0, 0 args, 4 rets)
      0011  RETURN    return R0..R-1
      ; ---------- proto0 [] ----------
        ; fn ?  line 115-117 np=1 va=0 ms=3 code=3 consts=1 upvals=0 protos=0
        ;   K[0]='PlayAlbumDoubleBuffAnim'
        ;   locals: window(0-3)
        0000  SELF      R2 = R0[K0('PlayAlbumDoubleBuffAnim')] (self)
        0001  CALL      R1 = call(R1, 0 args, 1 rets)
        0002  RETURN    return R0..R-1
; ---------- proto6 [OnDestroy] ----------
  ; fn ?  line 128-134 np=1 va=0 ms=3 code=12 consts=5 upvals=1 protos=0
  ;   K[0]='AlbumActivityBaseWindow'
  ;   K[1]='OnDestroy'
  ;   K[2]='m_seq'
  ;   K[3]=nil
  ;   K[4]='Kill'
  ;   upvals: _ENV
  ;   locals: self(0-12)
  0000  GETTABUP  R1 = _ENV[K0('AlbumActivityBaseWindow')]
  0001  GETTABLE  R1 = R1[K1('OnDestroy')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  GETTABLE  R1 = R0[K2('m_seq')]
  0005  EQ        if R1 eq K3(nil)   -> -130294
  0006  JMP       (jump)   -> 11
  0007  GETTABLE  R1 = R0[K2('m_seq')]
  0008  SELF      R2 = R1[K4('Kill')] (self)
  0009  CALL      R1 = call(R1, 0 args, 1 rets)
  0010  SETTABLE  R0[K2('m_seq')] = K3(nil)
  0011  RETURN    return R0..R-1
; ---------- proto7 [OnBuffStateChanged] ----------
  ; fn ?  line 136-138 np=2 va=0 ms=4 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='Close'
  ;   locals: self(0-3), buffType(0-3)
  0000  SELF      R3 = R0[K0('Close')] (self)
  0001  CALL      R2 = call(R2, 0 args, 1 rets)
  0002  RETURN    return R0..R-1
; ---------- proto8 [GetTargetOrderRewardCells] ----------
  ; fn ?  line 140-165 np=1 va=0 ms=14 code=40 consts=12 upvals=1 protos=1
  ;   K[0]='MainBoardView'
  ;   K[1]='GetInstance'
  ;   K[2]=nil
  ;   K[3]='GetOrderArea'
  ;   K[4]='GetCells'
  ;   K[5]='Table'
  ;   K[6]='IsEmpty'
  ;   K[7]='pairs'
  ;   K[8]='GetRewardCellByFilter'
  ;   K[9]=nil
  ;   K[10]='table'
  ;   K[11]='insert'
  ;   upvals: _ENV
  ;   locals: self(0-40), boardView(3-40), orderArea(8-40), mapCells(12-40), arrRewardCell(20-40), rewardCell(21-40), (for generator)(24-38), (for state)(24-38), (for control)(24-38), _(25-36), cell(25-36)
  0000  GETTABUP  R1 = _ENV[K0('MainBoardView')]
  0001  GETTABLE  R1 = R1[K1('GetInstance')]
  0002  CALL      R1 = call(R1, 1 args, 0 rets)
  0003  EQ        if R0 eq K2(nil)   -> -130297
  0004  JMP       (jump)   -> 6
  0005  RETURN    return R0..R-1
  0006  SELF      R3 = R1[K3('GetOrderArea')] (self)
  0007  CALL      R2 = call(R2, 1 args, 1 rets)
  0008  TESTSET   if R0 then R3   -> -130038
  0009  JMP       (jump)   -> 12
  0010  SELF      R4 = R2[K4('GetCells')] (self)
  0011  CALL      R3 = call(R3, 1 args, 1 rets)
  0012  GETTABUP  R4 = _ENV[K5('Table')]
  0013  GETTABLE  R4 = R4[K6('IsEmpty')]
  0014  MOVE      R5 = R0
  0015  CALL      R4 = call(R4, 1 args, 1 rets)
  0016  TEST      if not R4 then   -> -131054
  0017  JMP       (jump)   -> 19
  0018  RETURN    return R0..R-1
  0019  NEWTABLE  R4 = {} (0 items)
  0020  LOADNIL   R5..R5 = nil
  0021  GETTABUP  R6 = _ENV[K7('pairs')]
  0022  MOVE      R7 = R0
  0023  CALL      R6 = call(R6, 3 args, 1 rets)
  0024  JMP       (jump)   -> 36
  0025  SELF      R12 = R10[K8('GetRewardCellByFilter')] (self)
  0026  CLOSURE   R13 = closure proto0
  0027  CALL      R11 = call(R11, 1 args, 2 rets)
  0028  MOVE      R5 = R0
  0029  EQ        if R1 eq K9(nil)   -> -128216
  0030  JMP       (jump)   -> 36
  0031  GETTABUP  R11 = _ENV[K10('table')]
  0032  GETTABLE  R11 = R11[K11('insert')]
  0033  MOVE      R12 = R0
  0034  MOVE      R13 = R0
  0035  CALL      R11 = call(R11, 0 args, 2 rets)
  0036  TFORCALL  tforcall R6
  0037  TFORLOOP  tforloop R8(sBx=-13)   -> 25
  0038  RETURN    return R4..R3
  0039  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 155-158 np=1 va=0 ms=5 code=14 consts=5 upvals=2 protos=0
    ;   K[0]='GetReward'
    ;   K[1]=nil
    ;   K[2]='m_model'
    ;   K[3]='IsAlbumPack'
    ;   K[4]='PROPERTY_TYPE'
    ;   upvals: self, _ENV
    ;   locals: cell(0-14), reward(2-14)
    0000  SELF      R2 = R0[K0('GetReward')] (self)
    0001  CALL      R1 = call(R1, 1 args, 1 rets)
    0002  EQ        if R1 eq K1(nil)   -> -130299
    0003  JMP       (jump)   -> 10
    0004  GETTABUP  R2 = self[K2('m_model')]
    0005  SELF      R3 = R2[K3('IsAlbumPack')] (self)
    0006  GETTABUP  R4 = _ENV[K4('PROPERTY_TYPE')]
    0007  GETTABLE  R4 = R1[R4]
    0008  CALL      R2 = call(R2, 1 args, 2 rets)
    0009  JMP       (jump)   -> 12
    0010  LOADBOOL  R2 = false
    0011  LOADBOOL  R2 = true
    0012  RETURN    return R2..R1
    0013  RETURN    return R0..R-1
