# BakeOut_View_BakeOutMainWindow_867.luac
; fn @BakeOutMainWindow.lua  line 0-0 np=0 va=1 ms=3 code=57 consts=20 upvals=1 protos=16
;   K[0]='BakeOutMainWindow'
;   K[1]='setmetatable'
;   K[2]='BaseWindow'
;   K[3]='__index'
;   K[4]='Init'
;   K[5]='_ShowRank'
;   K[6]='OnCoinExchangeBtnClicked'
;   K[7]='OnHelpBtnClicked'
;   K[8]='OnGoBtnClicked'
;   K[9]='UpdatePerSecond'
;   K[10]='OnCloseView'
;   K[11]='OnMaskClicked'
;   K[12]='OnScrollRectPointerDown'
;   K[13]='TryHideRewardTip'
;   K[14]='ShowRewardTip'
;   K[15]='HideRewardTip'
;   K[16]='GetOwnCell'
;   K[17]='GetGoBtnGo'
;   K[18]='GetExchangeBtnGo'
;   K[19]='GetExchangeBtnTapTransform'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  GETTABUP  R2 = _ENV[K2('BaseWindow')]
0003  CALL      R0 = call(R0, 1 args, 2 rets)
0004  SETTABUP  _ENV[K0('BakeOutMainWindow')] = R0
0005  GETTABUP  R0 = _ENV[K0('BakeOutMainWindow')]
0006  GETTABUP  R1 = _ENV[K0('BakeOutMainWindow')]
0007  SETTABLE  R0[K3('__index')] = R1
0008  GETTABUP  R0 = _ENV[K0('BakeOutMainWindow')]
0009  CLOSURE   R1 = closure proto0
0010  SETTABLE  R0[K4('Init')] = R1
0011  GETTABUP  R0 = _ENV[K0('BakeOutMainWindow')]
0012  CLOSURE   R1 = closure proto1
0013  SETTABLE  R0[K5('_ShowRank')] = R1
0014  GETTABUP  R0 = _ENV[K0('BakeOutMainWindow')]
0015  CLOSURE   R1 = closure proto2
0016  SETTABLE  R0[K6('OnCoinExchangeBtnClicked')] = R1
0017  GETTABUP  R0 = _ENV[K0('BakeOutMainWindow')]
0018  CLOSURE   R1 = closure proto3
0019  SETTABLE  R0[K7('OnHelpBtnClicked')] = R1
0020  GETTABUP  R0 = _ENV[K0('BakeOutMainWindow')]
0021  CLOSURE   R1 = closure proto4
0022  SETTABLE  R0[K8('OnGoBtnClicked')] = R1
0023  GETTABUP  R0 = _ENV[K0('BakeOutMainWindow')]
0024  CLOSURE   R1 = closure proto5
0025  SETTABLE  R0[K9('UpdatePerSecond')] = R1
0026  GETTABUP  R0 = _ENV[K0('BakeOutMainWindow')]
0027  CLOSURE   R1 = closure proto6
0028  SETTABLE  R0[K10('OnCloseView')] = R1
0029  GETTABUP  R0 = _ENV[K0('BakeOutMainWindow')]
0030  CLOSURE   R1 = closure proto7
0031  SETTABLE  R0[K11('OnMaskClicked')] = R1
0032  GETTABUP  R0 = _ENV[K0('BakeOutMainWindow')]
0033  CLOSURE   R1 = closure proto8
0034  SETTABLE  R0[K12('OnScrollRectPointerDown')] = R1
0035  GETTABUP  R0 = _ENV[K0('BakeOutMainWindow')]
0036  CLOSURE   R1 = closure proto9
0037  SETTABLE  R0[K13('TryHideRewardTip')] = R1
0038  GETTABUP  R0 = _ENV[K0('BakeOutMainWindow')]
0039  CLOSURE   R1 = closure proto10
0040  SETTABLE  R0[K14('ShowRewardTip')] = R1
0041  GETTABUP  R0 = _ENV[K0('BakeOutMainWindow')]
0042  CLOSURE   R1 = closure proto11
0043  SETTABLE  R0[K15('HideRewardTip')] = R1
0044  GETTABUP  R0 = _ENV[K0('BakeOutMainWindow')]
0045  CLOSURE   R1 = closure proto12
0046  SETTABLE  R0[K16('GetOwnCell')] = R1
0047  GETTABUP  R0 = _ENV[K0('BakeOutMainWindow')]
0048  CLOSURE   R1 = closure proto13
0049  SETTABLE  R0[K17('GetGoBtnGo')] = R1
0050  GETTABUP  R0 = _ENV[K0('BakeOutMainWindow')]
0051  CLOSURE   R1 = closure proto14
0052  SETTABLE  R0[K18('GetExchangeBtnGo')] = R1
0053  GETTABUP  R0 = _ENV[K0('BakeOutMainWindow')]
0054  CLOSURE   R1 = closure proto15
0055  SETTABLE  R0[K19('GetExchangeBtnTapTransform')] = R1
0056  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 5-58 np=4 va=0 ms=11 code=102 consts=48 upvals=1 protos=1
  ;   K[0]='m_model'
  ;   K[1]='GM'
  ;   K[2]='ActivityManager'
  ;   K[3]='GetModel'
  ;   K[4]='ActivityType'
  ;   K[5]='BakeOut'
  ;   K[6]='m_modelId'
  ;   K[7]='GetId'
  ;   K[8]='m_arrPodiums'
  ;   K[9]='m_podium1'
  ;   K[10]='m_podium2'
  ;   K[11]='m_podium3'
  ;   K[12]=nil
  ;   K[13]='m_bShowResultMode'
  ;   K[14]=true
  ;   K[15]='m_goBtnGo'
  ;   K[16]='SetActive'
  ;   K[17]='m_exchangeBtnGo'
  ;   K[18]='m_detailBtnGo'
  ;   K[19]='_ShowRank'
  ;   K[20]='m_loadingContentGo'
  ;   K[21]='m_bSendingRequest'
  ;   K[22]='GetBakeOutRanks'
  ;   K[23]='LogWindowAction'
  ;   K[24]='EBIType'
  ;   K[25]='UIActionType'
  ;   K[26]='Open'
  ;   K[27]='EBIReferType'
  ;   K[28]='UserClick'
  ;   K[29]='AutoPopup'
  ;   K[30]='UpdatePerSecond'
  ;   K[31]=102
  ;   K[32]='Screen'
  ;   K[33]='height'
  ;   K[34]='width'
  ;   K[35]=1.7777777777777777
  ;   K[36]='ScreenFitter'
  ;   K[37]='GetFitScale'
  ;   K[38]=15
  ;   K[39]=2.3
  ;   K[40]=1.3333333333333333
  ;   K[41]=117
  ;   K[42]='m_jarTrans'
  ;   K[43]='SetAnchoredPosY'
  ;   K[44]='UIUtil'
  ;   K[45]='SetActive'
  ;   K[46]='m_rewardTip'
  ;   K[47]='gameObject'
  ;   upvals: _ENV
  ;   locals: self(0-102), arrRanks(0-102), userClick(0-102), bakeoutId(0-102), offsetY(67-102), ratio(72-102)
  0000  GETTABUP  R4 = _ENV[K1('GM')]
  0001  GETTABLE  R4 = R4[K2('ActivityManager')]
  0002  SELF      R5 = R4[K3('GetModel')] (self)
  0003  GETTABUP  R6 = _ENV[K4('ActivityType')]
  0004  GETTABLE  R6 = R6[K5('BakeOut')]
  0005  CALL      R4 = call(R4, 1 args, 2 rets)
  0006  SETTABLE  R0[K0('m_model')] = R4
  0007  GETTABLE  R4 = R0[K0('m_model')]
  0008  SELF      R5 = R4[K7('GetId')] (self)
  0009  CALL      R4 = call(R4, 1 args, 1 rets)
  0010  SETTABLE  R0[K6('m_modelId')] = R4
  0011  NEWTABLE  R4 = {} (3 items)
  0012  GETTABLE  R5 = R0[K9('m_podium1')]
  0013  GETTABLE  R6 = R0[K10('m_podium2')]
  0014  GETTABLE  R7 = R0[K11('m_podium3')]
  0015  SETLIST   setlist R4[B=1,C=3]
  0016  SETTABLE  R0[K8('m_arrPodiums')] = R4
  0017  EQ        if R1 eq K12(nil)   -> -130273
  0018  JMP       (jump)   -> 36
  0019  SETTABLE  R0[K13('m_bShowResultMode')] = K14(true)
  0020  GETTABLE  R4 = R0[K15('m_goBtnGo')]
  0021  SELF      R5 = R4[K16('SetActive')] (self)
  0022  LOADBOOL  R6 = false
  0023  CALL      R4 = call(R4, 0 args, 2 rets)
  0024  GETTABLE  R4 = R0[K17('m_exchangeBtnGo')]
  0025  SELF      R5 = R4[K16('SetActive')] (self)
  0026  LOADBOOL  R6 = false
  0027  CALL      R4 = call(R4, 0 args, 2 rets)
  0028  GETTABLE  R4 = R0[K18('m_detailBtnGo')]
  0029  SELF      R5 = R4[K16('SetActive')] (self)
  0030  LOADBOOL  R6 = false
  0031  CALL      R4 = call(R4, 0 args, 2 rets)
  0032  SELF      R5 = R0[K19('_ShowRank')] (self)
  0033  MOVE      R6 = R0
  0034  CALL      R4 = call(R4, 0 args, 2 rets)
  0035  JMP       (jump)   -> 46
  0036  GETTABLE  R4 = R0[K20('m_loadingContentGo')]
  0037  SELF      R5 = R4[K16('SetActive')] (self)
  0038  LOADBOOL  R6 = true
  0039  CALL      R4 = call(R4, 0 args, 2 rets)
  0040  SETTABLE  R0[K21('m_bSendingRequest')] = K14(true)
  0041  GETTABLE  R4 = R0[K0('m_model')]
  0042  SELF      R5 = R4[K22('GetBakeOutRanks')] (self)
  0043  CLOSURE   R6 = closure proto0
  0044  LOADBOOL  R7 = false
  0045  CALL      R4 = call(R4, 0 args, 3 rets)
  0046  SELF      R5 = R0[K23('LogWindowAction')] (self)
  0047  GETTABUP  R6 = _ENV[K24('EBIType')]
  0048  GETTABLE  R6 = R6[K25('UIActionType')]
  0049  GETTABLE  R6 = R6[K26('Open')]
  0050  TEST      if not R2 then   -> -131020
  0051  JMP       (jump)   -> 56
  0052  GETTABUP  R7 = _ENV[K27('EBIReferType')]
  0053  GETTABLE  R7 = R7[K28('UserClick')]
  0054  TEST      if not R7 then   -> -131015
  0055  JMP       (jump)   -> 58
  0056  GETTABUP  R7 = _ENV[K27('EBIReferType')]
  0057  GETTABLE  R7 = R7[K29('AutoPopup')]
  0058  TESTSET   if R1 then R8   -> -129475
  0059  JMP       (jump)   -> 63
  0060  GETTABLE  R8 = R0[K0('m_model')]
  0061  SELF      R9 = R8[K7('GetId')] (self)
  0062  CALL      R8 = call(R8, 1 args, 1 rets)
  0063  CALL      R4 = call(R4, 0 args, 4 rets)
  0064  SELF      R5 = R0[K30('UpdatePerSecond')] (self)
  0065  CALL      R4 = call(R4, 0 args, 1 rets)
  0066  LOADK     R4 = K31 102
  0067  GETTABUP  R5 = _ENV[K32('Screen')]
  0068  GETTABLE  R5 = R5[K33('height')]
  0069  GETTABUP  R6 = _ENV[K32('Screen')]
  0070  GETTABLE  R6 = R6[K34('width')]
  0071  DIV       R5 = R6 div R5
  0072  LT        if R0 lt R5   -> 17999
  0073  JMP       (jump)   -> 83
  0074  GETTABUP  R6 = _ENV[K36('ScreenFitter')]
  0075  GETTABLE  R6 = R6[K37('GetFitScale')]
  0076  LOADK     R7 = K31 102
  0077  LOADK     R8 = K38 15
  0078  LOADK     R9 = K39 2.3
  0079  LOADK     R10 = K35 1.7777777777777777
  0080  CALL      R6 = call(R6, 1 args, 4 rets)
  0081  UNM       R4 = unm R0
  0082  JMP       (jump)   -> 91
  0083  GETTABUP  R6 = _ENV[K36('ScreenFitter')]
  0084  GETTABLE  R6 = R6[K37('GetFitScale')]
  0085  LOADK     R7 = K31 102
  0086  LOADK     R8 = K38 15
  0087  LOADK     R9 = K35 1.7777777777777777
  0088  LOADK     R10 = K40 1.3333333333333333
  0089  CALL      R6 = call(R6, 1 args, 4 rets)
  0090  SUB       R4 = K41(117) sub R6
  0091  GETTABLE  R6 = R0[K42('m_jarTrans')]
  0092  SELF      R7 = R6[K43('SetAnchoredPosY')] (self)
  0093  MOVE      R8 = R0
  0094  CALL      R6 = call(R6, 0 args, 2 rets)
  0095  GETTABUP  R6 = _ENV[K44('UIUtil')]
  0096  GETTABLE  R6 = R6[K45('SetActive')]
  0097  GETTABLE  R7 = R0[K46('m_rewardTip')]
  0098  GETTABLE  R7 = R7[K47('gameObject')]
  0099  LOADBOOL  R8 = false
  0100  CALL      R6 = call(R6, 0 args, 2 rets)
  0101  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 26-38 np=2 va=0 ms=5 code=26 consts=11 upvals=1 protos=0
    ;   K[0]='gameObject'
    ;   K[1]='IsNull'
    ;   K[2]='m_bSendingRequest'
    ;   K[3]=false
    ;   K[4]='m_loadingContentGo'
    ;   K[5]='SetActive'
    ;   K[6]='rcode'
    ;   K[7]=0
    ;   K[8]='_ShowRank'
    ;   K[9]='ranks'
    ;   K[10]='m_networkContentGo'
    ;   upvals: self
    ;   locals: bSuccess(0-26), tbResp(0-26)
    0000  GETTABUP  R2 = self[K0('gameObject')]
    0001  SELF      R3 = R2[K1('IsNull')] (self)
    0002  CALL      R2 = call(R2, 1 args, 1 rets)
    0003  TEST      if not R2 then   -> -131067
    0004  JMP       (jump)   -> 6
    0005  RETURN    return R0..R-1
    0006  SETTABUP  self[K2('m_bSendingRequest')] = K3(false)
    0007  GETTABUP  R2 = self[K4('m_loadingContentGo')]
    0008  SELF      R3 = R2[K5('SetActive')] (self)
    0009  LOADBOOL  R4 = false
    0010  CALL      R2 = call(R2, 0 args, 2 rets)
    0011  TEST      if not R0 then   -> -131059
    0012  JMP       (jump)   -> 21
    0013  GETTABLE  R2 = R1[K6('rcode')]
    0014  EQ        if R0 eq K7(0)   -> -129769
    0015  JMP       (jump)   -> 21
    0016  GETUPVAL  R2 = self
    0017  SELF      R3 = R2[K8('_ShowRank')] (self)
    0018  GETTABLE  R4 = R1[K9('ranks')]
    0019  CALL      R2 = call(R2, 0 args, 2 rets)
    0020  JMP       (jump)   -> 25
    0021  GETTABUP  R2 = self[K10('m_networkContentGo')]
    0022  SELF      R3 = R2[K5('SetActive')] (self)
    0023  LOADBOOL  R4 = true
    0024  CALL      R2 = call(R2, 0 args, 2 rets)
    0025  RETURN    return R0..R-1
; ---------- proto1 [_ShowRank] ----------
  ; fn ?  line 60-94 np=2 va=0 ms=10 code=48 consts=17 upvals=1 protos=0
  ;   K[0]='m_arrRankDatas'
  ;   K[1]='ipairs'
  ;   K[2]='m_arrPodiums'
  ;   K[3]='UpdateContent'
  ;   K[4]=0
  ;   K[5]='m_bShowResultMode'
  ;   K[6]='m_emptyContentGo'
  ;   K[7]='SetActive'
  ;   K[8]='m_rankTable'
  ;   K[9]='Init'
  ;   K[10]='GM'
  ;   K[11]='TutorialModel'
  ;   K[12]='HasAnyStrongTutorialOngoing'
  ;   K[13]='m_model'
  ;   K[14]='GetLastRank'
  ;   K[15]='UpdateLastRank'
  ;   K[16]='GetCurRank'
  ;   upvals: _ENV
  ;   locals: self(0-48), arrRankDatas(0-48), (for generator)(4-10), (for state)(4-10), (for control)(4-10), i(5-8), podium(5-8)
  0000  SETTABLE  R0[K0('m_arrRankDatas')] = R1
  0001  GETTABUP  R2 = _ENV[K1('ipairs')]
  0002  GETTABLE  R3 = R0[K2('m_arrPodiums')]
  0003  CALL      R2 = call(R2, 3 args, 1 rets)
  0004  JMP       (jump)   -> 8
  0005  SELF      R8 = R6[K3('UpdateContent')] (self)
  0006  GETTABLE  R9 = R1[R5]
  0007  CALL      R7 = call(R7, 0 args, 2 rets)
  0008  TFORCALL  tforcall R2
  0009  TFORLOOP  tforloop R4(sBx=-5)   -> 5
  0010  GETTABLE  R2 = R0[K0('m_arrRankDatas')]
  0011  LEN       R2 = len R0
  0012  LE        if R0 le K4(0)   -> -129774
  0013  JMP       (jump)   -> 21
  0014  GETTABLE  R2 = R0[K5('m_bShowResultMode')]
  0015  TEST      if not R2 then   -> -131054
  0016  JMP       (jump)   -> 21
  0017  GETTABLE  R2 = R0[K6('m_emptyContentGo')]
  0018  SELF      R3 = R2[K7('SetActive')] (self)
  0019  LOADBOOL  R4 = true
  0020  CALL      R2 = call(R2, 0 args, 2 rets)
  0021  GETTABLE  R2 = R0[K8('m_rankTable')]
  0022  SELF      R3 = R2[K9('Init')] (self)
  0023  MOVE      R4 = R0
  0024  GETTABUP  R5 = _ENV[K10('GM')]
  0025  GETTABLE  R5 = R5[K11('TutorialModel')]
  0026  SELF      R6 = R5[K12('HasAnyStrongTutorialOngoing')] (self)
  0027  CALL      R5 = call(R5, 1 args, 1 rets)
  0028  TEST      if not R5 then   -> -131041
  0029  JMP       (jump)   -> 35
  0030  GETTABLE  R5 = R0[K13('m_model')]
  0031  SELF      R6 = R5[K14('GetLastRank')] (self)
  0032  CALL      R5 = call(R5, 1 args, 1 rets)
  0033  TEST      if not R5 then   -> -131036
  0034  JMP       (jump)   -> 36
  0035  LOADNIL   R5..R5 = nil
  0036  MOVE      R6 = R0
  0037  CALL      R2 = call(R2, 0 args, 4 rets)
  0038  GETTABLE  R2 = R0[K5('m_bShowResultMode')]
  0039  TEST      if not R2 then   -> -131030
  0040  JMP       (jump)   -> 47
  0041  GETTABLE  R2 = R0[K13('m_model')]
  0042  SELF      R3 = R2[K15('UpdateLastRank')] (self)
  0043  GETTABLE  R4 = R0[K13('m_model')]
  0044  SELF      R5 = R4[K16('GetCurRank')] (self)
  0045  CALL      R4 = call(R4, -1 args, 1 rets)
  0046  CALL      R2 = call(R2, 0 args, -1 rets)
  0047  RETURN    return R0..R-1
; ---------- proto2 [OnCoinExchangeBtnClicked] ----------
  ; fn ?  line 96-104 np=1 va=0 ms=5 code=18 consts=9 upvals=1 protos=0
  ;   K[0]='HideRewardTip'
  ;   K[1]='m_bShowResultMode'
  ;   K[2]='Close'
  ;   K[3]='GM'
  ;   K[4]='UIManager'
  ;   K[5]='OpenView'
  ;   K[6]='UIPrefabConfigName'
  ;   K[7]='BakeOutCoinExchangeWindow'
  ;   K[8]='m_arrRankDatas'
  ;   upvals: _ENV
  ;   locals: self(0-18)
  0000  SELF      R2 = R0[K0('HideRewardTip')] (self)
  0001  GETTABLE  R3 = R0[K1('m_bShowResultMode')]
  0002  NOT       R3 = not R0
  0003  CALL      R1 = call(R1, 0 args, 2 rets)
  0004  GETTABLE  R1 = R0[K1('m_bShowResultMode')]
  0005  TEST      if not R1 then   -> -131065
  0006  JMP       (jump)   -> 8
  0007  RETURN    return R0..R-1
  0008  SELF      R2 = R0[K2('Close')] (self)
  0009  CALL      R1 = call(R1, 0 args, 1 rets)
  0010  GETTABUP  R1 = _ENV[K3('GM')]
  0011  GETTABLE  R1 = R1[K4('UIManager')]
  0012  SELF      R2 = R1[K5('OpenView')] (self)
  0013  GETTABUP  R3 = _ENV[K6('UIPrefabConfigName')]
  0014  GETTABLE  R3 = R3[K7('BakeOutCoinExchangeWindow')]
  0015  GETTABLE  R4 = R0[K8('m_arrRankDatas')]
  0016  CALL      R1 = call(R1, 0 args, 3 rets)
  0017  RETURN    return R0..R-1
; ---------- proto3 [OnHelpBtnClicked] ----------
  ; fn ?  line 106-110 np=1 va=0 ms=4 code=12 consts=7 upvals=1 protos=0
  ;   K[0]='HideRewardTip'
  ;   K[1]='Close'
  ;   K[2]='GM'
  ;   K[3]='UIManager'
  ;   K[4]='OpenView'
  ;   K[5]='UIPrefabConfigName'
  ;   K[6]='BakeOutDetailWindow'
  ;   upvals: _ENV
  ;   locals: self(0-12)
  0000  SELF      R2 = R0[K0('HideRewardTip')] (self)
  0001  LOADBOOL  R3 = true
  0002  CALL      R1 = call(R1, 0 args, 2 rets)
  0003  SELF      R2 = R0[K1('Close')] (self)
  0004  CALL      R1 = call(R1, 0 args, 1 rets)
  0005  GETTABUP  R1 = _ENV[K2('GM')]
  0006  GETTABLE  R1 = R1[K3('UIManager')]
  0007  SELF      R2 = R1[K4('OpenView')] (self)
  0008  GETTABUP  R3 = _ENV[K5('UIPrefabConfigName')]
  0009  GETTABLE  R3 = R3[K6('BakeOutDetailWindow')]
  0010  CALL      R1 = call(R1, 0 args, 2 rets)
  0011  RETURN    return R0..R-1
; ---------- proto4 [OnGoBtnClicked] ----------
  ; fn ?  line 112-118 np=1 va=0 ms=4 code=20 consts=8 upvals=1 protos=0
  ;   K[0]='HideRewardTip'
  ;   K[1]='Close'
  ;   K[2]='GM'
  ;   K[3]='SceneManager'
  ;   K[4]='GetGameMode'
  ;   K[5]='EGameMode'
  ;   K[6]='Board'
  ;   K[7]='ChangeGameMode'
  ;   upvals: _ENV
  ;   locals: self(0-20)
  0000  SELF      R2 = R0[K0('HideRewardTip')] (self)
  0001  LOADBOOL  R3 = true
  0002  CALL      R1 = call(R1, 0 args, 2 rets)
  0003  SELF      R2 = R0[K1('Close')] (self)
  0004  CALL      R1 = call(R1, 0 args, 1 rets)
  0005  GETTABUP  R1 = _ENV[K2('GM')]
  0006  GETTABLE  R1 = R1[K3('SceneManager')]
  0007  SELF      R2 = R1[K4('GetGameMode')] (self)
  0008  CALL      R1 = call(R1, 1 args, 1 rets)
  0009  GETTABUP  R2 = _ENV[K5('EGameMode')]
  0010  GETTABLE  R2 = R2[K6('Board')]
  0011  EQ        if R1 eq R2   -> -130545
  0012  JMP       (jump)   -> 19
  0013  GETTABUP  R1 = _ENV[K2('GM')]
  0014  GETTABLE  R1 = R1[K3('SceneManager')]
  0015  SELF      R2 = R1[K7('ChangeGameMode')] (self)
  0016  GETTABUP  R3 = _ENV[K5('EGameMode')]
  0017  GETTABLE  R3 = R3[K6('Board')]
  0018  CALL      R1 = call(R1, 0 args, 2 rets)
  0019  RETURN    return R0..R-1
; ---------- proto5 [UpdatePerSecond] ----------
  ; fn ?  line 120-139 np=1 va=0 ms=8 code=60 consts=21 upvals=1 protos=0
  ;   K[0]='m_model'
  ;   K[1]=nil
  ;   K[2]='GetState'
  ;   K[3]='ActivityState'
  ;   K[4]='Started'
  ;   K[5]='m_bShowResultMode'
  ;   K[6]='GetId'
  ;   K[7]='m_modelId'
  ;   K[8]='Close'
  ;   K[9]='IsBakeOutModeOn'
  ;   K[10]='GetNextStateTime'
  ;   K[11]='GM'
  ;   K[12]='GameModel'
  ;   K[13]='GetServerTime'
  ;   K[14]='m_countdownText'
  ;   K[15]='text'
  ;   K[16]='TimeUtil'
  ;   K[17]='ParseTimeDescription'
  ;   K[18]=2
  ;   K[19]='m_countdownContentGo'
  ;   K[20]='SetActive'
  ;   upvals: _ENV
  ;   locals: self(0-60), delta(45-54)
  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 R1 eq R2   -> -130547
  0010  JMP       (jump)   -> 14
  0011  GETTABLE  R1 = R0[K5('m_bShowResultMode')]
  0012  TEST      if not R1 then   -> -131058
  0013  JMP       (jump)   -> 20
  0014  GETTABLE  R1 = R0[K0('m_model')]
  0015  SELF      R2 = R1[K6('GetId')] (self)
  0016  CALL      R1 = call(R1, 1 args, 1 rets)
  0017  GETTABLE  R2 = R0[K7('m_modelId')]
  0018  EQ        if R1 eq R2   -> -130538
  0019  JMP       (jump)   -> 24
  0020  SETTABLE  R0[K0('m_model')] = K1(nil)
  0021  SELF      R2 = R0[K8('Close')] (self)
  0022  CALL      R1 = call(R1, 0 args, 1 rets)
  0023  RETURN    return R0..R-1
  0024  GETTABLE  R1 = R0[K5('m_bShowResultMode')]
  0025  TEST      if not R1 then   -> -131044
  0026  JMP       (jump)   -> 55
  0027  GETTABLE  R1 = R0[K0('m_model')]
  0028  SELF      R2 = R1[K9('IsBakeOutModeOn')] (self)
  0029  CALL      R1 = call(R1, 1 args, 1 rets)
  0030  TEST      if not R1 then   -> -131040
  0031  JMP       (jump)   -> 55
  0032  GETTABLE  R1 = R0[K0('m_model')]
  0033  SELF      R2 = R1[K10('GetNextStateTime')] (self)
  0034  CALL      R1 = call(R1, 1 args, 1 rets)
  0035  EQ        if R1 eq K1(nil)   -> -130266
  0036  JMP       (jump)   -> 59
  0037  GETTABLE  R1 = R0[K0('m_model')]
  0038  SELF      R2 = R1[K10('GetNextStateTime')] (self)
  0039  CALL      R1 = call(R1, 1 args, 1 rets)
  0040  GETTABUP  R2 = _ENV[K11('GM')]
  0041  GETTABLE  R2 = R2[K12('GameModel')]
  0042  SELF      R3 = R2[K13('GetServerTime')] (self)
  0043  CALL      R2 = call(R2, 1 args, 1 rets)
  0044  SUB       R1 = R2 sub R1
  0045  GETTABLE  R2 = R0[K14('m_countdownText')]
  0046  GETTABUP  R3 = _ENV[K16('TimeUtil')]
  0047  GETTABLE  R3 = R3[K17('ParseTimeDescription')]
  0048  MOVE      R4 = R0
  0049  LOADK     R5 = K18 2
  0050  LOADBOOL  R6 = false
  0051  LOADBOOL  R7 = false
  0052  CALL      R3 = call(R3, 1 args, 4 rets)
  0053  SETTABLE  R2[K15('text')] = R3
  0054  JMP       (jump)   -> 59
  0055  GETTABLE  R1 = R0[K19('m_countdownContentGo')]
  0056  SELF      R2 = R1[K20('SetActive')] (self)
  0057  LOADBOOL  R3 = false
  0058  CALL      R1 = call(R1, 0 args, 2 rets)
  0059  RETURN    return R0..R-1
; ---------- proto6 [OnCloseView] ----------
  ; fn ?  line 141-147 np=1 va=0 ms=3 code=11 consts=5 upvals=1 protos=0
  ;   K[0]='BaseWindow'
  ;   K[1]='OnCloseView'
  ;   K[2]='m_bShowResultMode'
  ;   K[3]='m_model'
  ;   K[4]='LoadServerConfig'
  ;   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_bShowResultMode')]
  0005  TEST      if not R1 then   -> -131065
  0006  JMP       (jump)   -> 10
  0007  GETTABLE  R1 = R0[K3('m_model')]
  0008  SELF      R2 = R1[K4('LoadServerConfig')] (self)
  0009  CALL      R1 = call(R1, 0 args, 1 rets)
  0010  RETURN    return R0..R-1
; ---------- proto7 [OnMaskClicked] ----------
  ; fn ?  line 149-151 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
; ---------- proto8 [OnScrollRectPointerDown] ----------
  ; fn ?  line 153-155 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
; ---------- proto9 [TryHideRewardTip] ----------
  ; fn ?  line 157-163 np=1 va=0 ms=3 code=8 consts=3 upvals=0 protos=0
  ;   K[0]='m_skipHideRewardTipOnce'
  ;   K[1]=nil
  ;   K[2]='HideRewardTip'
  ;   locals: self(0-8)
  0000  GETTABLE  R1 = R0[K0('m_skipHideRewardTipOnce')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 5
  0003  SETTABLE  R0[K0('m_skipHideRewardTipOnce')] = K1(nil)
  0004  RETURN    return R0..R-1
  0005  SELF      R2 = R0[K2('HideRewardTip')] (self)
  0006  CALL      R1 = call(R1, 0 args, 1 rets)
  0007  RETURN    return R0..R-1
; ---------- proto10 [ShowRewardTip] ----------
  ; fn ?  line 165-177 np=5 va=0 ms=13 code=24 consts=11 upvals=1 protos=0
  ;   K[0]='m_rankScrollRect'
  ;   K[1]='verticalNormalizedPosition'
  ;   K[2]=0
  ;   K[3]='m_skipHideRewardTipOnce'
  ;   K[4]=true
  ;   K[5]=1
  ;   K[6]='StopMovement'
  ;   K[7]='m_rewardTip'
  ;   K[8]='Show'
  ;   K[9]='ERewardScene'
  ;   K[10]='Other'
  ;   upvals: _ENV
  ;   locals: self(0-24), rewards(0-24), rectTrans(0-24), offsetX(0-24), offsetY(0-24), scrollRect(1-24)
  0000  GETTABLE  R5 = R0[K0('m_rankScrollRect')]
  0001  GETTABLE  R6 = R5[K1('verticalNormalizedPosition')]
  0002  LT        if R0 lt K2(0)   -> -127738
  0003  JMP       (jump)   -> 7
  0004  SETTABLE  R0[K3('m_skipHideRewardTipOnce')] = K4(true)
  0005  SETTABLE  R5[K1('verticalNormalizedPosition')] = K2(0)
  0006  JMP       (jump)   -> 12
  0007  GETTABLE  R6 = R5[K1('verticalNormalizedPosition')]
  0008  LT        if R0 lt R6   -> 2576
  0009  JMP       (jump)   -> 12
  0010  SETTABLE  R0[K3('m_skipHideRewardTipOnce')] = K4(true)
  0011  SETTABLE  R5[K1('verticalNormalizedPosition')] = K5(1)
  0012  SELF      R7 = R5[K6('StopMovement')] (self)
  0013  CALL      R6 = call(R6, 0 args, 1 rets)
  0014  GETTABLE  R6 = R0[K7('m_rewardTip')]
  0015  SELF      R7 = R6[K8('Show')] (self)
  0016  MOVE      R8 = R0
  0017  GETTABUP  R9 = _ENV[K9('ERewardScene')]
  0018  GETTABLE  R9 = R9[K10('Other')]
  0019  MOVE      R10 = R0
  0020  MOVE      R11 = R0
  0021  MOVE      R12 = R0
  0022  CALL      R6 = call(R6, 0 args, 6 rets)
  0023  RETURN    return R0..R-1
; ---------- proto11 [HideRewardTip] ----------
  ; fn ?  line 179-181 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
; ---------- proto12 [GetOwnCell] ----------
  ; fn ?  line 184-190 np=1 va=0 ms=5 code=31 consts=8 upvals=0 protos=0
  ;   K[0]='m_bSendingRequest'
  ;   K[1]='m_networkContentGo'
  ;   K[2]='activeSelf'
  ;   K[3]='m_model'
  ;   K[4]='GetCurRank'
  ;   K[5]='m_arrPodiums'
  ;   K[6]='m_rankTable'
  ;   K[7]='GetCell'
  ;   locals: self(0-31)
  0000  GETTABLE  R1 = R0[K0('m_bSendingRequest')]
  0001  TEST      if not R1 then   -> -131068
  0002  JMP       (jump)   -> 7
  0003  GETTABLE  R1 = R0[K1('m_networkContentGo')]
  0004  GETTABLE  R1 = R1[K2('activeSelf')]
  0005  TEST      if not R1 then   -> -131065
  0006  JMP       (jump)   -> 9
  0007  LOADNIL   R1..R1 = nil
  0008  RETURN    return R1..R0
  0009  GETTABLE  R1 = R0[K3('m_model')]
  0010  SELF      R2 = R1[K4('GetCurRank')] (self)
  0011  CALL      R1 = call(R1, 1 args, 1 rets)
  0012  GETTABLE  R2 = R0[K5('m_arrPodiums')]
  0013  LEN       R2 = len R0
  0014  LE        if R0 le R2   -> -130542
  0015  JMP       (jump)   -> 23
  0016  GETTABLE  R1 = R0[K5('m_arrPodiums')]
  0017  GETTABLE  R2 = R0[K3('m_model')]
  0018  SELF      R3 = R2[K4('GetCurRank')] (self)
  0019  CALL      R2 = call(R2, 1 args, 1 rets)
  0020  GETTABLE  R1 = R1[R2]
  0021  TEST      if not R1 then   -> -131048
  0022  JMP       (jump)   -> 29
  0023  GETTABLE  R1 = R0[K6('m_rankTable')]
  0024  SELF      R2 = R1[K7('GetCell')] (self)
  0025  GETTABLE  R3 = R0[K3('m_model')]
  0026  SELF      R4 = R3[K4('GetCurRank')] (self)
  0027  CALL      R3 = call(R3, -1 args, 1 rets)
  0028  CALL      R1 = call(R1, 1 args, -1 rets)
  0029  RETURN    return R1..R0
  0030  RETURN    return R0..R-1
; ---------- proto13 [GetGoBtnGo] ----------
  ; fn ?  line 192-194 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_goBtnGo'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_goBtnGo')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto14 [GetExchangeBtnGo] ----------
  ; fn ?  line 196-198 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
; ---------- proto15 [GetExchangeBtnTapTransform] ----------
  ; fn ?  line 200-202 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_exchangeBtnRectTrans'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_exchangeBtnRectTrans')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
