# BakeOut_View_BakeOutCoinExchangeWindow_870.luac
; fn @BakeOutCoinExchangeWindow.lua  line 0-0 np=0 va=1 ms=13 code=56 consts=26 upvals=1 protos=11
;   K[0]='BakeOutCoinExchangeWindow'
;   K[1]='setmetatable'
;   K[2]='windowMaskAlpha'
;   K[3]='EWindowMaskAlpha'
;   K[4]='Dark'
;   K[5]='BaseWindow'
;   K[6]='__index'
;   K[7]='Init'
;   K[8]='UpdateContent'
;   K[9]='UpdatePerSecond'
;   K[10]='OnExchangeBtnClicked'
;   K[11]='UpdateOwnCellData'
;   K[12]='OnCloseView'
;   K[13]='GetExchangeBtnGo'
;   K[14]=3
;   K[15]=80
;   K[16]=0.01
;   K[17]=0.05
;   K[18]=2.5
;   K[19]=0.6
;   K[20]=0.4
;   K[21]=0.03
;   K[22]='PlayTokenFlyAnimation'
;   K[23]='ShowRewardTip'
;   K[24]='HideRewardTip'
;   K[25]='OnMaskClicked'
;   upvals: _ENV
;   locals: countX(33-56), countY(34-56), starCount(35-56), intervalX(36-56), intervalY(37-56), scaleDelay(38-56), scaleDuration(39-56), scale(40-56), maxScaleDelay(41-56), moveDuration(42-56), moveDelay(43-56)
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  GETTABUP  R2 = _ENV[K3('EWindowMaskAlpha')]
0003  GETTABLE  R2 = R2[K4('Dark')]
0004  SETTABLE  R1[K2('windowMaskAlpha')] = R2
0005  GETTABUP  R2 = _ENV[K5('BaseWindow')]
0006  CALL      R0 = call(R0, 1 args, 2 rets)
0007  SETTABUP  _ENV[K0('BakeOutCoinExchangeWindow')] = R0
0008  GETTABUP  R0 = _ENV[K0('BakeOutCoinExchangeWindow')]
0009  GETTABUP  R1 = _ENV[K0('BakeOutCoinExchangeWindow')]
0010  SETTABLE  R0[K6('__index')] = R1
0011  GETTABUP  R0 = _ENV[K0('BakeOutCoinExchangeWindow')]
0012  CLOSURE   R1 = closure proto0
0013  SETTABLE  R0[K7('Init')] = R1
0014  GETTABUP  R0 = _ENV[K0('BakeOutCoinExchangeWindow')]
0015  CLOSURE   R1 = closure proto1
0016  SETTABLE  R0[K8('UpdateContent')] = R1
0017  GETTABUP  R0 = _ENV[K0('BakeOutCoinExchangeWindow')]
0018  CLOSURE   R1 = closure proto2
0019  SETTABLE  R0[K9('UpdatePerSecond')] = R1
0020  GETTABUP  R0 = _ENV[K0('BakeOutCoinExchangeWindow')]
0021  CLOSURE   R1 = closure proto3
0022  SETTABLE  R0[K10('OnExchangeBtnClicked')] = R1
0023  GETTABUP  R0 = _ENV[K0('BakeOutCoinExchangeWindow')]
0024  CLOSURE   R1 = closure proto4
0025  SETTABLE  R0[K11('UpdateOwnCellData')] = R1
0026  GETTABUP  R0 = _ENV[K0('BakeOutCoinExchangeWindow')]
0027  CLOSURE   R1 = closure proto5
0028  SETTABLE  R0[K12('OnCloseView')] = R1
0029  GETTABUP  R0 = _ENV[K0('BakeOutCoinExchangeWindow')]
0030  CLOSURE   R1 = closure proto6
0031  SETTABLE  R0[K13('GetExchangeBtnGo')] = R1
0032  LOADK     R0 = K14 3
0033  LOADK     R1 = K14 3
0034  MUL       R2 = R1 mul R0
0035  LOADK     R3 = K15 80
0036  LOADK     R4 = K15 80
0037  LOADK     R5 = K16 0.01
0038  LOADK     R6 = K17 0.05
0039  LOADK     R7 = K18 2.5
0040  LOADK     R8 = K19 0.6
0041  LOADK     R9 = K20 0.4
0042  LOADK     R10 = K21 0.03
0043  GETTABUP  R11 = _ENV[K0('BakeOutCoinExchangeWindow')]
0044  CLOSURE   R12 = closure proto7
0045  SETTABLE  R11[K22('PlayTokenFlyAnimation')] = R12
0046  GETTABUP  R11 = _ENV[K0('BakeOutCoinExchangeWindow')]
0047  CLOSURE   R12 = closure proto8
0048  SETTABLE  R11[K23('ShowRewardTip')] = R12
0049  GETTABUP  R11 = _ENV[K0('BakeOutCoinExchangeWindow')]
0050  CLOSURE   R12 = closure proto9
0051  SETTABLE  R11[K24('HideRewardTip')] = R12
0052  GETTABUP  R11 = _ENV[K0('BakeOutCoinExchangeWindow')]
0053  CLOSURE   R12 = closure proto10
0054  SETTABLE  R11[K25('OnMaskClicked')] = R12
0055  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 7-30 np=1 va=0 ms=6 code=73 consts=42 upvals=1 protos=0
  ;   K[0]='ScreenFitter'
  ;   K[1]='GetSceneViewSizeOffset'
  ;   K[2]='UIUtil'
  ;   K[3]='AddSizeDelta'
  ;   K[4]='m_fullContentRectTrans'
  ;   K[5]='y'
  ;   K[6]='AddLocalPosition'
  ;   K[7]=2
  ;   K[8]='m_model'
  ;   K[9]='GM'
  ;   K[10]='ActivityManager'
  ;   K[11]='GetModel'
  ;   K[12]='ActivityType'
  ;   K[13]='BakeOut'
  ;   K[14]='m_modelId'
  ;   K[15]='GetId'
  ;   K[16]='m_ownCellData'
  ;   K[17]='rank'
  ;   K[18]='GetDisplayCurRank'
  ;   K[19]='score'
  ;   K[20]='GetToken'
  ;   K[21]='name'
  ;   K[22]='UserProfileModel'
  ;   K[23]='GetName'
  ;   K[24]='icon'
  ;   K[25]='GetAvatar'
  ;   K[26]='UpdateOwnCellData'
  ;   K[27]='m_jarSpine'
  ;   K[28]='Init'
  ;   K[29]='UpdateContent'
  ;   K[30]='EventDispatcher'
  ;   K[31]='DispatchEvent'
  ;   K[32]='EEventType'
  ;   K[33]='HighlightHud'
  ;   K[34]='highlight'
  ;   K[35]=true
  ;   K[36]='hudKey'
  ;   K[37]='ESceneViewHudButtonKey'
  ;   K[38]='Coin'
  ;   K[39]='SetActive'
  ;   K[40]='m_rewardTip'
  ;   K[41]='gameObject'
  ;   upvals: _ENV
  ;   locals: self(0-73), adjustSizeOffset(3-73)
  0000  GETTABUP  R1 = _ENV[K0('ScreenFitter')]
  0001  GETTABLE  R1 = R1[K1('GetSceneViewSizeOffset')]
  0002  CALL      R1 = call(R1, 1 args, 0 rets)
  0003  GETTABUP  R2 = _ENV[K2('UIUtil')]
  0004  GETTABLE  R2 = R2[K3('AddSizeDelta')]
  0005  GETTABLE  R3 = R0[K4('m_fullContentRectTrans')]
  0006  LOADNIL   R4..R4 = nil
  0007  GETTABLE  R5 = R1[K5('y')]
  0008  UNM       R5 = unm R0
  0009  CALL      R2 = call(R2, 0 args, 3 rets)
  0010  GETTABUP  R2 = _ENV[K2('UIUtil')]
  0011  GETTABLE  R2 = R2[K6('AddLocalPosition')]
  0012  GETTABLE  R3 = R0[K4('m_fullContentRectTrans')]
  0013  LOADNIL   R4..R4 = nil
  0014  GETTABLE  R5 = R1[K5('y')]
  0015  UNM       R5 = unm R0
  0016  DIV       R5 = K7(2) div R5
  0017  CALL      R2 = call(R2, 0 args, 3 rets)
  0018  GETTABUP  R2 = _ENV[K9('GM')]
  0019  GETTABLE  R2 = R2[K10('ActivityManager')]
  0020  SELF      R3 = R2[K11('GetModel')] (self)
  0021  GETTABUP  R4 = _ENV[K12('ActivityType')]
  0022  GETTABLE  R4 = R4[K13('BakeOut')]
  0023  CALL      R2 = call(R2, 1 args, 2 rets)
  0024  SETTABLE  R0[K8('m_model')] = R2
  0025  GETTABLE  R2 = R0[K8('m_model')]
  0026  SELF      R3 = R2[K15('GetId')] (self)
  0027  CALL      R2 = call(R2, 1 args, 1 rets)
  0028  SETTABLE  R0[K14('m_modelId')] = R2
  0029  NEWTABLE  R2 = {} (0 items)
  0030  GETTABLE  R3 = R0[K8('m_model')]
  0031  SELF      R4 = R3[K18('GetDisplayCurRank')] (self)
  0032  CALL      R3 = call(R3, 1 args, 1 rets)
  0033  SETTABLE  R2[K17('rank')] = R3
  0034  GETTABLE  R3 = R0[K8('m_model')]
  0035  SELF      R4 = R3[K20('GetToken')] (self)
  0036  CALL      R3 = call(R3, 1 args, 1 rets)
  0037  SETTABLE  R2[K19('score')] = R3
  0038  GETTABUP  R3 = _ENV[K9('GM')]
  0039  GETTABLE  R3 = R3[K22('UserProfileModel')]
  0040  SELF      R4 = R3[K23('GetName')] (self)
  0041  CALL      R3 = call(R3, 1 args, 1 rets)
  0042  SETTABLE  R2[K21('name')] = R3
  0043  GETTABUP  R3 = _ENV[K9('GM')]
  0044  GETTABLE  R3 = R3[K22('UserProfileModel')]
  0045  SELF      R4 = R3[K25('GetAvatar')] (self)
  0046  CALL      R3 = call(R3, 1 args, 1 rets)
  0047  SETTABLE  R2[K24('icon')] = R3
  0048  SETTABLE  R0[K16('m_ownCellData')] = R2
  0049  SELF      R3 = R0[K26('UpdateOwnCellData')] (self)
  0050  CALL      R2 = call(R2, 0 args, 1 rets)
  0051  GETTABLE  R2 = R0[K27('m_jarSpine')]
  0052  SELF      R3 = R2[K28('Init')] (self)
  0053  CALL      R2 = call(R2, 0 args, 1 rets)
  0054  SELF      R3 = R0[K29('UpdateContent')] (self)
  0055  CALL      R2 = call(R2, 0 args, 1 rets)
  0056  GETTABUP  R2 = _ENV[K30('EventDispatcher')]
  0057  GETTABLE  R2 = R2[K31('DispatchEvent')]
  0058  GETTABUP  R3 = _ENV[K32('EEventType')]
  0059  GETTABLE  R3 = R3[K33('HighlightHud')]
  0060  NEWTABLE  R4 = {} (0 items)
  0061  SETTABLE  R4[K34('highlight')] = K35(true)
  0062  GETTABUP  R5 = _ENV[K37('ESceneViewHudButtonKey')]
  0063  GETTABLE  R5 = R5[K38('Coin')]
  0064  SETTABLE  R4[K36('hudKey')] = R5
  0065  CALL      R2 = call(R2, 0 args, 2 rets)
  0066  GETTABUP  R2 = _ENV[K2('UIUtil')]
  0067  GETTABLE  R2 = R2[K39('SetActive')]
  0068  GETTABLE  R3 = R0[K40('m_rewardTip')]
  0069  GETTABLE  R3 = R3[K41('gameObject')]
  0070  LOADBOOL  R4 = false
  0071  CALL      R2 = call(R2, 0 args, 2 rets)
  0072  RETURN    return R0..R-1
; ---------- proto1 [UpdateContent] ----------
  ; fn ?  line 32-39 np=1 va=0 ms=7 code=36 consts=16 upvals=1 protos=0
  ;   K[0]='m_model'
  ;   K[1]='GetExchangeCoinCostNum'
  ;   K[2]='m_fillButton'
  ;   K[3]='Init'
  ;   K[4]=0
  ;   K[5]='GM'
  ;   K[6]='GameTextModel'
  ;   K[7]='GetText'
  ;   K[8]='shop_free_button'
  ;   K[9]='CanExchangeCoin'
  ;   K[10]='SetEnabled'
  ;   K[11]='m_gainTokenNum'
  ;   K[12]='GetExchangeTokenGainNum'
  ;   K[13]='m_gainText'
  ;   K[14]='text'
  ;   K[15]='x'
  ;   upvals: _ENV
  ;   locals: self(0-36), costNum(3-36), a(20-36)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  SELF      R2 = R1[K1('GetExchangeCoinCostNum')] (self)
  0002  CALL      R1 = call(R1, 1 args, 1 rets)
  0003  GETTABLE  R2 = R0[K2('m_fillButton')]
  0004  SELF      R3 = R2[K3('Init')] (self)
  0005  EQ        if R0 eq K4(0)   -> -130293
  0006  JMP       (jump)   -> 14
  0007  GETTABUP  R4 = _ENV[K5('GM')]
  0008  GETTABLE  R4 = R4[K6('GameTextModel')]
  0009  SELF      R5 = R4[K7('GetText')] (self)
  0010  LOADK     R6 = K8 'shop_free_button'
  0011  CALL      R4 = call(R4, 1 args, 2 rets)
  0012  TEST      if not R4 then   -> -131057
  0013  JMP       (jump)   -> 15
  0014  MOVE      R4 = R0
  0015  LOADNIL   R5..R5 = nil
  0016  CALL      R2 = call(R2, 0 args, 3 rets)
  0017  GETTABLE  R2 = R0[K0('m_model')]
  0018  SELF      R3 = R2[K9('CanExchangeCoin')] (self)
  0019  CALL      R2 = call(R2, 1 args, 1 rets)
  0020  GETTABLE  R3 = R0[K2('m_fillButton')]
  0021  SELF      R4 = R3[K10('SetEnabled')] (self)
  0022  GETTABLE  R5 = R0[K0('m_model')]
  0023  SELF      R6 = R5[K9('CanExchangeCoin')] (self)
  0024  CALL      R5 = call(R5, -1 args, 1 rets)
  0025  CALL      R3 = call(R3, 0 args, -1 rets)
  0026  GETTABLE  R3 = R0[K0('m_model')]
  0027  SELF      R4 = R3[K12('GetExchangeTokenGainNum')] (self)
  0028  CALL      R3 = call(R3, 1 args, 1 rets)
  0029  SETTABLE  R0[K11('m_gainTokenNum')] = R3
  0030  GETTABLE  R3 = R0[K13('m_gainText')]
  0031  LOADK     R4 = K15 'x'
  0032  GETTABLE  R5 = R0[K11('m_gainTokenNum')]
  0033  CONCAT    R4 = concat(R4..R4)
  0034  SETTABLE  R3[K14('text')] = R4
  0035  RETURN    return R0..R-1
; ---------- proto2 [UpdatePerSecond] ----------
  ; fn ?  line 41-50 np=1 va=0 ms=3 code=20 consts=8 upvals=1 protos=0
  ;   K[0]='m_model'
  ;   K[1]=nil
  ;   K[2]='GetState'
  ;   K[3]='ActivityState'
  ;   K[4]='Started'
  ;   K[5]='GetId'
  ;   K[6]='m_modelId'
  ;   K[7]='Close'
  ;   upvals: _ENV
  ;   locals: self(0-20)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  EQ        if R0 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 4
  0003  RETURN    return R0..R-1
  0004  GETTABLE  R1 = R0[K0('m_model')]
  0005  SELF      R2 = R1[K2('GetState')] (self)
  0006  CALL      R1 = call(R1, 1 args, 1 rets)
  0007  GETTABUP  R2 = _ENV[K3('ActivityState')]
  0008  GETTABLE  R2 = R2[K4('Started')]
  0009  EQ        if R0 eq R2   -> -130547
  0010  JMP       (jump)   -> 17
  0011  GETTABLE  R1 = R0[K0('m_model')]
  0012  SELF      R2 = R1[K5('GetId')] (self)
  0013  CALL      R1 = call(R1, 1 args, 1 rets)
  0014  GETTABLE  R2 = R0[K6('m_modelId')]
  0015  EQ        if R1 eq R2   -> -130541
  0016  JMP       (jump)   -> 19
  0017  SELF      R2 = R0[K7('Close')] (self)
  0018  CALL      R1 = call(R1, 0 args, 1 rets)
  0019  RETURN    return R0..R-1
; ---------- proto3 [OnExchangeBtnClicked] ----------
  ; fn ?  line 52-74 np=1 va=0 ms=9 code=27 consts=13 upvals=1 protos=1
  ;   K[0]='HideRewardTip'
  ;   K[1]='m_bPlayingExchangeAnimation'
  ;   K[2]='m_model'
  ;   K[3]='ExchangeCoin2Token'
  ;   K[4]='UpdateContent'
  ;   K[5]=true
  ;   K[6]=0.3
  ;   K[7]=1.4
  ;   K[8]=0.8
  ;   K[9]='m_jarSpine'
  ;   K[10]='SetAnimation'
  ;   K[11]='0_remove_1'
  ;   K[12]='DelayExecuteFuncInView'
  ;   upvals: _ENV
  ;   locals: self(0-27), openDt(12-26), flyDt(13-26), closeDt(14-26)
  0000  SELF      R2 = R0[K0('HideRewardTip')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  GETTABLE  R1 = R0[K1('m_bPlayingExchangeAnimation')]
  0003  TEST      if not R1 then   -> -131066
  0004  JMP       (jump)   -> 26
  0005  GETTABLE  R1 = R0[K2('m_model')]
  0006  SELF      R2 = R1[K3('ExchangeCoin2Token')] (self)
  0007  CALL      R1 = call(R1, 0 args, 1 rets)
  0008  SELF      R2 = R0[K4('UpdateContent')] (self)
  0009  CALL      R1 = call(R1, 0 args, 1 rets)
  0010  SETTABLE  R0[K1('m_bPlayingExchangeAnimation')] = K5(true)
  0011  LOADK     R1 = K6 0.3
  0012  LOADK     R2 = K7 1.4
  0013  LOADK     R3 = K8 0.8
  0014  GETTABLE  R4 = R0[K9('m_jarSpine')]
  0015  SELF      R5 = R4[K10('SetAnimation')] (self)
  0016  LOADK     R6 = K11 '0_remove_1'
  0017  LOADBOOL  R7 = false
  0018  CALL      R4 = call(R4, 0 args, 3 rets)
  0019  GETTABUP  R4 = _ENV[K12('DelayExecuteFuncInView')]
  0020  CLOSURE   R5 = closure proto0
  0021  MOVE      R6 = R0
  0022  MOVE      R7 = R0
  0023  LOADBOOL  R8 = true
  0024  CALL      R4 = call(R4, 0 args, 4 rets)
  0025  JMP       (jump)   -> 26
  0026  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 63-72 np=0 va=0 ms=5 code=10 consts=2 upvals=4 protos=1
    ;   K[0]='PlayTokenFlyAnimation'
    ;   K[1]='DelayExecuteFuncInView'
    ;   upvals: self, _ENV, closeDt, flyDt
    0000  GETUPVAL  R0 = self
    0001  SELF      R1 = R0[K0('PlayTokenFlyAnimation')] (self)
    0002  CALL      R0 = call(R0, 0 args, 1 rets)
    0003  GETTABUP  R0 = _ENV[K1('DelayExecuteFuncInView')]
    0004  CLOSURE   R1 = closure proto0
    0005  GETUPVAL  R2 = self
    0006  GETUPVAL  R3 = self
    0007  LOADBOOL  R4 = true
    0008  CALL      R0 = call(R0, 0 args, 4 rets)
    0009  RETURN    return R0..R-1
    ; ---------- proto0 [] ----------
      ; fn ?  line 65-71 np=0 va=0 ms=5 code=12 consts=4 upvals=3 protos=1
      ;   K[0]='m_jarSpine'
      ;   K[1]='SetAnimation'
      ;   K[2]='1_appear_0'
      ;   K[3]='DelayExecuteFuncInView'
      ;   upvals: self, _ENV, closeDt
      0000  GETTABUP  R0 = self[K0('m_jarSpine')]
      0001  SELF      R1 = R0[K1('SetAnimation')] (self)
      0002  LOADK     R2 = K2 '1_appear_0'
      0003  LOADBOOL  R3 = false
      0004  CALL      R0 = call(R0, 0 args, 3 rets)
      0005  GETTABUP  R0 = _ENV[K3('DelayExecuteFuncInView')]
      0006  CLOSURE   R1 = closure proto0
      0007  GETUPVAL  R2 = self
      0008  GETUPVAL  R3 = self
      0009  LOADBOOL  R4 = true
      0010  CALL      R0 = call(R0, 0 args, 4 rets)
      0011  RETURN    return R0..R-1
      ; ---------- proto0 [] ----------
        ; fn ?  line 68-70 np=0 va=0 ms=2 code=2 consts=2 upvals=1 protos=0
        ;   K[0]='m_bPlayingExchangeAnimation'
        ;   K[1]=false
        ;   upvals: self
        0000  SETTABUP  self[K0('m_bPlayingExchangeAnimation')] = K1(false)
        0001  RETURN    return R0..R-1
; ---------- proto4 [UpdateOwnCellData] ----------
  ; fn ?  line 76-82 np=1 va=0 ms=6 code=20 consts=9 upvals=0 protos=0
  ;   K[0]='m_ownCellData'
  ;   K[1]=nil
  ;   K[2]='rank'
  ;   K[3]='m_model'
  ;   K[4]='GetDisplayCurRank'
  ;   K[5]='score'
  ;   K[6]='GetToken'
  ;   K[7]='m_ownRankCell'
  ;   K[8]='UpdateContent'
  ;   locals: self(0-20)
  0000  GETTABLE  R1 = R0[K0('m_ownCellData')]
  0001  EQ        if R1 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 19
  0003  GETTABLE  R1 = R0[K0('m_ownCellData')]
  0004  GETTABLE  R2 = R0[K3('m_model')]
  0005  SELF      R3 = R2[K4('GetDisplayCurRank')] (self)
  0006  CALL      R2 = call(R2, 1 args, 1 rets)
  0007  SETTABLE  R1[K2('rank')] = R2
  0008  GETTABLE  R1 = R0[K0('m_ownCellData')]
  0009  GETTABLE  R2 = R0[K3('m_model')]
  0010  SELF      R3 = R2[K6('GetToken')] (self)
  0011  CALL      R2 = call(R2, 1 args, 1 rets)
  0012  SETTABLE  R1[K5('score')] = R2
  0013  GETTABLE  R1 = R0[K7('m_ownRankCell')]
  0014  SELF      R2 = R1[K8('UpdateContent')] (self)
  0015  GETTABLE  R3 = R0[K0('m_ownCellData')]
  0016  LOADBOOL  R4 = true
  0017  MOVE      R5 = R0
  0018  CALL      R1 = call(R1, 0 args, 4 rets)
  0019  RETURN    return R0..R-1
; ---------- proto5 [OnCloseView] ----------
  ; fn ?  line 84-91 np=1 va=0 ms=5 code=26 consts=18 upvals=1 protos=0
  ;   K[0]='BaseWindow'
  ;   K[1]='OnCloseView'
  ;   K[2]='m_model'
  ;   K[3]='CanAcquireToken'
  ;   K[4]='GM'
  ;   K[5]='UIManager'
  ;   K[6]='OpenView'
  ;   K[7]='UIPrefabConfigName'
  ;   K[8]='BakeOutMainWindow'
  ;   K[9]='EventDispatcher'
  ;   K[10]='DispatchEvent'
  ;   K[11]='EEventType'
  ;   K[12]='HighlightHud'
  ;   K[13]='highlight'
  ;   K[14]=false
  ;   K[15]='hudKey'
  ;   K[16]='ESceneViewHudButtonKey'
  ;   K[17]='Coin'
  ;   upvals: _ENV
  ;   locals: self(0-26)
  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_model')]
  0005  SELF      R2 = R1[K3('CanAcquireToken')] (self)
  0006  CALL      R1 = call(R1, 1 args, 1 rets)
  0007  TEST      if not R1 then   -> -131063
  0008  JMP       (jump)   -> 15
  0009  GETTABUP  R1 = _ENV[K4('GM')]
  0010  GETTABLE  R1 = R1[K5('UIManager')]
  0011  SELF      R2 = R1[K6('OpenView')] (self)
  0012  GETTABUP  R3 = _ENV[K7('UIPrefabConfigName')]
  0013  GETTABLE  R3 = R3[K8('BakeOutMainWindow')]
  0014  CALL      R1 = call(R1, 0 args, 2 rets)
  0015  GETTABUP  R1 = _ENV[K9('EventDispatcher')]
  0016  GETTABLE  R1 = R1[K10('DispatchEvent')]
  0017  GETTABUP  R2 = _ENV[K11('EEventType')]
  0018  GETTABLE  R2 = R2[K12('HighlightHud')]
  0019  NEWTABLE  R3 = {} (0 items)
  0020  SETTABLE  R3[K13('highlight')] = K14(false)
  0021  GETTABUP  R4 = _ENV[K16('ESceneViewHudButtonKey')]
  0022  GETTABLE  R4 = R4[K17('Coin')]
  0023  SETTABLE  R3[K15('hudKey')] = R4
  0024  CALL      R1 = call(R1, 0 args, 2 rets)
  0025  RETURN    return R0..R-1
; ---------- proto6 [GetExchangeBtnGo] ----------
  ; fn ?  line 94-96 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_exchangeBtnGo'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_exchangeBtnGo')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto7 [PlayTokenFlyAnimation] ----------
  ; fn ?  line 110-148 np=1 va=0 ms=17 code=47 consts=21 upvals=8 protos=1
  ;   K[0]='transform'
  ;   K[1]='InverseTransformPoint'
  ;   K[2]='m_bottleRectTrans'
  ;   K[3]='position'
  ;   K[4]='z'
  ;   K[5]=0
  ;   K[6]='m_starRectTrans'
  ;   K[7]=1
  ;   K[8]='MathUtil'
  ;   K[9]='Random'
  ;   K[10]=300
  ;   K[11]=-150
  ;   K[12]='Vector3'
  ;   K[13]='GM'
  ;   K[14]='ResourceLoader'
  ;   K[15]='LoadPrefab'
  ;   K[16]='DataResource'
  ;   K[17]='UIPrefabConfig'
  ;   K[18]='GetConfig'
  ;   K[19]='UIPrefabConfigName'
  ;   K[20]='effect_UI_xingxing_1'
  ;   upvals: starCount, _ENV, scaleDelay, scale, scaleDuration, maxScaleDelay, moveDuration, moveDelay
  ;   locals: self(0-47), transform(1-47), startPositionBase(5-47), targetPosition(10-47), (for index)(14-46), (for limit)(14-46), (for step)(14-46), i(15-45), offsetX(20-44), offsetY(25-44), offset(30-44)
  0000  GETTABLE  R1 = R0[K0('transform')]
  0001  SELF      R3 = R1[K1('InverseTransformPoint')] (self)
  0002  GETTABLE  R4 = R0[K2('m_bottleRectTrans')]
  0003  GETTABLE  R4 = R4[K3('position')]
  0004  CALL      R2 = call(R2, 1 args, 2 rets)
  0005  SETTABLE  R2[K4('z')] = K5(0)
  0006  SELF      R4 = R1[K1('InverseTransformPoint')] (self)
  0007  GETTABLE  R5 = R0[K6('m_starRectTrans')]
  0008  GETTABLE  R5 = R5[K3('position')]
  0009  CALL      R3 = call(R3, 1 args, 2 rets)
  0010  SETTABLE  R3[K4('z')] = K5(0)
  0011  LOADK     R4 = K7 1
  0012  GETUPVAL  R5 = starCount
  0013  LOADK     R6 = K7 1
  0014  FORPREP   forprep R4(sBx=30)   -> 45
  0015  GETTABUP  R8 = _ENV[K8('MathUtil')]
  0016  GETTABLE  R8 = R8[K9('Random')]
  0017  LOADK     R9 = K10 300
  0018  CALL      R8 = call(R8, 1 args, 1 rets)
  0019  ADD       R8 = R8 add K11(-150)
  0020  GETTABUP  R9 = _ENV[K8('MathUtil')]
  0021  GETTABLE  R9 = R9[K9('Random')]
  0022  LOADK     R10 = K10 300
  0023  CALL      R9 = call(R9, 1 args, 1 rets)
  0024  ADD       R9 = R9 add K11(-150)
  0025  GETTABUP  R10 = _ENV[K12('Vector3')]
  0026  MOVE      R11 = R0
  0027  MOVE      R12 = R0
  0028  LOADK     R13 = K5 0
  0029  CALL      R10 = call(R10, 1 args, 3 rets)
  0030  GETTABUP  R11 = _ENV[K13('GM')]
  0031  GETTABLE  R11 = R11[K14('ResourceLoader')]
  0032  SELF      R12 = R11[K15('LoadPrefab')] (self)
  0033  GETTABUP  R13 = _ENV[K13('GM')]
  0034  GETTABLE  R13 = R13[K16('DataResource')]
  0035  GETTABLE  R13 = R13[K17('UIPrefabConfig')]
  0036  SELF      R14 = R13[K18('GetConfig')] (self)
  0037  GETTABUP  R15 = _ENV[K19('UIPrefabConfigName')]
  0038  GETTABLE  R15 = R15[K20('effect_UI_xingxing_1')]
  0039  CALL      R13 = call(R13, 1 args, 2 rets)
  0040  MOVE      R14 = R0
  0041  ADD       R15 = R10 add R2
  0042  CLOSURE   R16 = closure proto0
  0043  CALL      R11 = call(R11, 0 args, 5 rets)
  0044  JMP       (jump)   -> 45
  0045  FORLOOP   forloop R4(sBx=-31)   -> 15
  0046  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 121-146 np=1 va=0 ms=11 code=65 consts=15 upvals=10 protos=1
    ;   K[0]='IsNull'
    ;   K[1]='transform'
    ;   K[2]='UIUtil'
    ;   K[3]='UpdateSortingOrder'
    ;   K[4]='GetSortingOrder'
    ;   K[5]=4
    ;   K[6]='DOTween'
    ;   K[7]='Sequence'
    ;   K[8]='AppendInterval'
    ;   K[9]=1
    ;   K[10]='Append'
    ;   K[11]='DOScale'
    ;   K[12]='DOLocalMove'
    ;   K[13]='Join'
    ;   K[14]='AppendCallback'
    ;   upvals: _ENV, self, i, scaleDelay, scale, scaleDuration, maxScaleDelay, targetPosition, moveDuration, moveDelay
    ;   locals: go(0-65), transform(6-65), sequence(17-65)
    0000  SELF      R2 = R0[K0('IsNull')] (self)
    0001  CALL      R1 = call(R1, 1 args, 1 rets)
    0002  TEST      if not R1 then   -> -131068
    0003  JMP       (jump)   -> 5
    0004  RETURN    return R0..R-1
    0005  GETTABLE  R1 = R0[K1('transform')]
    0006  GETTABUP  R2 = _ENV[K2('UIUtil')]
    0007  GETTABLE  R2 = R2[K3('UpdateSortingOrder')]
    0008  MOVE      R3 = R0
    0009  GETUPVAL  R4 = _ENV
    0010  SELF      R5 = R4[K4('GetSortingOrder')] (self)
    0011  CALL      R4 = call(R4, 1 args, 1 rets)
    0012  ADD       R4 = K5(4) add R4
    0013  CALL      R2 = call(R2, 0 args, 2 rets)
    0014  GETTABUP  R2 = _ENV[K6('DOTween')]
    0015  GETTABLE  R2 = R2[K7('Sequence')]
    0016  CALL      R2 = call(R2, 1 args, 0 rets)
    0017  SELF      R4 = R2[K8('AppendInterval')] (self)
    0018  GETUPVAL  R5 = _ENV
    0019  SUB       R5 = K9(1) sub R5
    0020  GETUPVAL  R6 = _ENV
    0021  MUL       R5 = R6 mul R5
    0022  CALL      R3 = call(R3, 0 args, 2 rets)
    0023  SELF      R4 = R2[K10('Append')] (self)
    0024  SELF      R6 = R1[K11('DOScale')] (self)
    0025  GETUPVAL  R7 = _ENV
    0026  GETUPVAL  R8 = _ENV
    0027  CALL      R5 = call(R5, -1 args, 3 rets)
    0028  CALL      R3 = call(R3, 0 args, -1 rets)
    0029  SELF      R4 = R2[K8('AppendInterval')] (self)
    0030  GETUPVAL  R5 = _ENV
    0031  GETUPVAL  R6 = _ENV
    0032  SUB       R5 = R6 sub R5
    0033  GETUPVAL  R6 = _ENV
    0034  SUB       R6 = K9(1) sub R6
    0035  GETUPVAL  R7 = _ENV
    0036  MUL       R6 = R7 mul R6
    0037  SUB       R5 = R6 sub R5
    0038  CALL      R3 = call(R3, 0 args, 2 rets)
    0039  SELF      R4 = R2[K10('Append')] (self)
    0040  SELF      R6 = R1[K12('DOLocalMove')] (self)
    0041  GETUPVAL  R7 = _ENV
    0042  GETUPVAL  R8 = _ENV
    0043  GETUPVAL  R9 = _ENV
    0044  SUB       R9 = K9(1) sub R9
    0045  GETUPVAL  R10 = _ENV
    0046  MUL       R9 = R10 mul R9
    0047  ADD       R8 = R9 add R8
    0048  CALL      R5 = call(R5, -1 args, 3 rets)
    0049  CALL      R3 = call(R3, 0 args, -1 rets)
    0050  SELF      R4 = R2[K13('Join')] (self)
    0051  SELF      R6 = R1[K11('DOScale')] (self)
    0052  LOADK     R7 = K9 1
    0053  GETUPVAL  R8 = _ENV
    0054  GETUPVAL  R9 = _ENV
    0055  SUB       R9 = K9(1) sub R9
    0056  GETUPVAL  R10 = _ENV
    0057  MUL       R9 = R10 mul R9
    0058  ADD       R8 = R9 add R8
    0059  CALL      R5 = call(R5, -1 args, 3 rets)
    0060  CALL      R3 = call(R3, 0 args, -1 rets)
    0061  SELF      R4 = R2[K14('AppendCallback')] (self)
    0062  CLOSURE   R5 = closure proto0
    0063  CALL      R3 = call(R3, 0 args, 2 rets)
    0064  RETURN    return R0..R-1
    ; ---------- proto0 [] ----------
      ; fn ?  line 134-145 np=0 va=0 ms=6 code=37 consts=15 upvals=5 protos=0
      ;   K[0]='IsNull'
      ;   K[1]='SetActive'
      ;   K[2]='RemoveSelf'
      ;   K[3]=1
      ;   K[4]='gameObject'
      ;   K[5]='UpdateOwnCellData'
      ;   K[6]='Append'
      ;   K[7]='m_starRectTrans'
      ;   K[8]='DOScale'
      ;   K[9]=1.2
      ;   K[10]=0.15
      ;   K[11]='SetLoops'
      ;   K[12]=2
      ;   K[13]='LoopType'
      ;   K[14]='Yoyo'
      ;   upvals: go, i, self, sequence, _ENV
      0000  GETUPVAL  R0 = go
      0001  SELF      R1 = R0[K0('IsNull')] (self)
      0002  CALL      R0 = call(R0, 1 args, 1 rets)
      0003  TEST      if not R0 then   -> -131066
      0004  JMP       (jump)   -> 12
      0005  GETUPVAL  R0 = go
      0006  SELF      R1 = R0[K1('SetActive')] (self)
      0007  LOADBOOL  R2 = false
      0008  CALL      R0 = call(R0, 0 args, 2 rets)
      0009  GETUPVAL  R0 = go
      0010  SELF      R1 = R0[K2('RemoveSelf')] (self)
      0011  CALL      R0 = call(R0, 0 args, 1 rets)
      0012  GETUPVAL  R0 = go
      0013  EQ        if R0 eq K3(1)   -> -130798
      0014  JMP       (jump)   -> 36
      0015  GETTABUP  R0 = self[K4('gameObject')]
      0016  SELF      R1 = R0[K0('IsNull')] (self)
      0017  CALL      R0 = call(R0, 1 args, 1 rets)
      0018  TEST      if not R0 then   -> -131051
      0019  JMP       (jump)   -> 36
      0020  GETUPVAL  R0 = go
      0021  SELF      R1 = R0[K5('UpdateOwnCellData')] (self)
      0022  CALL      R0 = call(R0, 0 args, 1 rets)
      0023  GETUPVAL  R0 = go
      0024  SELF      R1 = R0[K6('Append')] (self)
      0025  GETTABUP  R2 = self[K7('m_starRectTrans')]
      0026  SELF      R3 = R2[K8('DOScale')] (self)
      0027  LOADK     R4 = K9 1.2
      0028  LOADK     R5 = K10 0.15
      0029  CALL      R2 = call(R2, 1 args, 3 rets)
      0030  SELF      R3 = R2[K11('SetLoops')] (self)
      0031  LOADK     R4 = K12 2
      0032  GETTABUP  R5 = _ENV[K13('LoopType')]
      0033  GETTABLE  R5 = R5[K14('Yoyo')]
      0034  CALL      R2 = call(R2, -1 args, 3 rets)
      0035  CALL      R0 = call(R0, 0 args, -1 rets)
      0036  RETURN    return R0..R-1
; ---------- proto8 [ShowRewardTip] ----------
  ; fn ?  line 150-152 np=5 va=0 ms=12 code=10 consts=4 upvals=1 protos=0
  ;   K[0]='m_rewardTip'
  ;   K[1]='Show'
  ;   K[2]='ERewardScene'
  ;   K[3]='Other'
  ;   upvals: _ENV
  ;   locals: self(0-10), rewards(0-10), rectTrans(0-10), offsetX(0-10), offsetY(0-10)
  0000  GETTABLE  R5 = R0[K0('m_rewardTip')]
  0001  SELF      R6 = R5[K1('Show')] (self)
  0002  MOVE      R7 = R0
  0003  GETTABUP  R8 = _ENV[K2('ERewardScene')]
  0004  GETTABLE  R8 = R8[K3('Other')]
  0005  MOVE      R9 = R0
  0006  MOVE      R10 = R0
  0007  MOVE      R11 = R0
  0008  CALL      R5 = call(R5, 0 args, 6 rets)
  0009  RETURN    return R0..R-1
; ---------- proto9 [HideRewardTip] ----------
  ; fn ?  line 154-156 np=2 va=0 ms=5 code=5 consts=2 upvals=0 protos=0
  ;   K[0]='m_rewardTip'
  ;   K[1]='Hide'
  ;   locals: self(0-5), bIgnoreAnim(0-5)
  0000  GETTABLE  R2 = R0[K0('m_rewardTip')]
  0001  SELF      R3 = R2[K1('Hide')] (self)
  0002  MOVE      R4 = R0
  0003  CALL      R2 = call(R2, 0 args, 2 rets)
  0004  RETURN    return R0..R-1
; ---------- proto10 [OnMaskClicked] ----------
  ; fn ?  line 158-160 np=1 va=0 ms=3 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='HideRewardTip'
  ;   locals: self(0-3)
  0000  SELF      R2 = R0[K0('HideRewardTip')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  RETURN    return R0..R-1
