# BakeOut_View_BakeOutBoardBubble_853.luac
; fn @BakeOutBoardBubble.lua  line 0-0 np=0 va=1 ms=3 code=65 consts=22 upvals=1 protos=17
;   K[0]='BakeOutBoardBubble'
;   K[1]='__index'
;   K[2]='Awake'
;   K[3]='Init'
;   K[4]='_AddListeners'
;   K[5]='OnDestroy'
;   K[6]='OnChangeGameMode'
;   K[7]='UpdatePerSecond'
;   K[8]='UpdateContent'
;   K[9]='UpdateRank'
;   K[10]='_CreateRankChangeTween'
;   K[11]='PlayAcquireAnimation'
;   K[12]='OnBtnClicked'
;   K[13]='GetStarRectTransform'
;   K[14]='GetIconArea'
;   K[15]='GetTouchContentTransform'
;   K[16]='BakeOutHudButton'
;   K[17]='setmetatable'
;   K[18]='HudPropertyButton'
;   K[19]='Init'
;   K[20]='GetPropertyNum'
;   K[21]='SyncToModelValue'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('BakeOutBoardBubble')] = R0
0002  GETTABUP  R0 = _ENV[K0('BakeOutBoardBubble')]
0003  GETTABUP  R1 = _ENV[K0('BakeOutBoardBubble')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  GETTABUP  R0 = _ENV[K0('BakeOutBoardBubble')]
0006  CLOSURE   R1 = closure proto0
0007  SETTABLE  R0[K2('Awake')] = R1
0008  GETTABUP  R0 = _ENV[K0('BakeOutBoardBubble')]
0009  CLOSURE   R1 = closure proto1
0010  SETTABLE  R0[K3('Init')] = R1
0011  GETTABUP  R0 = _ENV[K0('BakeOutBoardBubble')]
0012  CLOSURE   R1 = closure proto2
0013  SETTABLE  R0[K4('_AddListeners')] = R1
0014  GETTABUP  R0 = _ENV[K0('BakeOutBoardBubble')]
0015  CLOSURE   R1 = closure proto3
0016  SETTABLE  R0[K5('OnDestroy')] = R1
0017  GETTABUP  R0 = _ENV[K0('BakeOutBoardBubble')]
0018  CLOSURE   R1 = closure proto4
0019  SETTABLE  R0[K6('OnChangeGameMode')] = R1
0020  GETTABUP  R0 = _ENV[K0('BakeOutBoardBubble')]
0021  CLOSURE   R1 = closure proto5
0022  SETTABLE  R0[K7('UpdatePerSecond')] = R1
0023  GETTABUP  R0 = _ENV[K0('BakeOutBoardBubble')]
0024  CLOSURE   R1 = closure proto6
0025  SETTABLE  R0[K8('UpdateContent')] = R1
0026  GETTABUP  R0 = _ENV[K0('BakeOutBoardBubble')]
0027  CLOSURE   R1 = closure proto7
0028  SETTABLE  R0[K9('UpdateRank')] = R1
0029  GETTABUP  R0 = _ENV[K0('BakeOutBoardBubble')]
0030  CLOSURE   R1 = closure proto8
0031  SETTABLE  R0[K10('_CreateRankChangeTween')] = R1
0032  GETTABUP  R0 = _ENV[K0('BakeOutBoardBubble')]
0033  CLOSURE   R1 = closure proto9
0034  SETTABLE  R0[K11('PlayAcquireAnimation')] = R1
0035  GETTABUP  R0 = _ENV[K0('BakeOutBoardBubble')]
0036  CLOSURE   R1 = closure proto10
0037  SETTABLE  R0[K12('OnBtnClicked')] = R1
0038  GETTABUP  R0 = _ENV[K0('BakeOutBoardBubble')]
0039  CLOSURE   R1 = closure proto11
0040  SETTABLE  R0[K13('GetStarRectTransform')] = R1
0041  GETTABUP  R0 = _ENV[K0('BakeOutBoardBubble')]
0042  CLOSURE   R1 = closure proto12
0043  SETTABLE  R0[K14('GetIconArea')] = R1
0044  GETTABUP  R0 = _ENV[K0('BakeOutBoardBubble')]
0045  CLOSURE   R1 = closure proto13
0046  SETTABLE  R0[K15('GetTouchContentTransform')] = R1
0047  GETTABUP  R0 = _ENV[K17('setmetatable')]
0048  NEWTABLE  R1 = {} (0 items)
0049  GETTABUP  R2 = _ENV[K18('HudPropertyButton')]
0050  CALL      R0 = call(R0, 1 args, 2 rets)
0051  SETTABUP  _ENV[K16('BakeOutHudButton')] = R0
0052  GETTABUP  R0 = _ENV[K16('BakeOutHudButton')]
0053  GETTABUP  R1 = _ENV[K16('BakeOutHudButton')]
0054  SETTABLE  R0[K1('__index')] = R1
0055  GETTABUP  R0 = _ENV[K16('BakeOutHudButton')]
0056  CLOSURE   R1 = closure proto14
0057  SETTABLE  R0[K19('Init')] = R1
0058  GETTABUP  R0 = _ENV[K16('BakeOutHudButton')]
0059  CLOSURE   R1 = closure proto15
0060  SETTABLE  R0[K20('GetPropertyNum')] = R1
0061  GETTABUP  R0 = _ENV[K16('BakeOutHudButton')]
0062  CLOSURE   R1 = closure proto16
0063  SETTABLE  R0[K21('SyncToModelValue')] = R1
0064  RETURN    return R0..R-1
; ---------- proto0 [Awake] ----------
  ; fn ?  line 5-10 np=1 va=0 ms=3 code=7 consts=4 upvals=0 protos=0
  ;   K[0]='m_bAwaked'
  ;   K[1]=true
  ;   K[2]='m_bWaitAddListener'
  ;   K[3]='_AddListeners'
  ;   locals: self(0-7)
  0000  SETTABLE  R0[K0('m_bAwaked')] = K1(true)
  0001  GETTABLE  R1 = R0[K2('m_bWaitAddListener')]
  0002  TEST      if not R1 then   -> -131068
  0003  JMP       (jump)   -> 6
  0004  SELF      R2 = R0[K3('_AddListeners')] (self)
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  RETURN    return R0..R-1
; ---------- proto1 [Init] ----------
  ; fn ?  line 12-31 np=3 va=0 ms=7 code=25 consts=13 upvals=1 protos=0
  ;   K[0]='m_model'
  ;   K[1]='m_orderArea'
  ;   K[2]=nil
  ;   K[3]='m_iconArea'
  ;   K[4]='Init'
  ;   K[5]='EPropertyType'
  ;   K[6]='BakeOutToken'
  ;   K[7]='SetInBoardView'
  ;   K[8]='m_bAwaked'
  ;   K[9]='_AddListeners'
  ;   K[10]='m_bWaitAddListener'
  ;   K[11]=true
  ;   K[12]='UpdateContent'
  ;   upvals: _ENV
  ;   locals: self(0-25), model(0-25), orderArea(0-25)
  0000  SETTABLE  R0[K0('m_model')] = R1
  0001  SETTABLE  R0[K1('m_orderArea')] = R2
  0002  GETTABLE  R3 = R0[K0('m_model')]
  0003  EQ        if R0 eq K2(nil)   -> -129273
  0004  JMP       (jump)   -> 6
  0005  RETURN    return R0..R-1
  0006  GETTABLE  R3 = R0[K3('m_iconArea')]
  0007  SELF      R4 = R3[K4('Init')] (self)
  0008  GETTABUP  R5 = _ENV[K5('EPropertyType')]
  0009  GETTABLE  R5 = R5[K6('BakeOutToken')]
  0010  MOVE      R6 = R0
  0011  CALL      R3 = call(R3, 0 args, 3 rets)
  0012  GETTABLE  R3 = R0[K3('m_iconArea')]
  0013  SELF      R4 = R3[K7('SetInBoardView')] (self)
  0014  CALL      R3 = call(R3, 0 args, 1 rets)
  0015  GETTABLE  R3 = R0[K8('m_bAwaked')]
  0016  TEST      if not R3 then   -> -131054
  0017  JMP       (jump)   -> 21
  0018  SELF      R4 = R0[K9('_AddListeners')] (self)
  0019  CALL      R3 = call(R3, 0 args, 1 rets)
  0020  JMP       (jump)   -> 22
  0021  SETTABLE  R0[K10('m_bWaitAddListener')] = K11(true)
  0022  SELF      R4 = R0[K12('UpdateContent')] (self)
  0023  CALL      R3 = call(R3, 0 args, 1 rets)
  0024  RETURN    return R0..R-1
; ---------- proto2 [_AddListeners] ----------
  ; fn ?  line 33-49 np=1 va=0 ms=6 code=45 consts=16 upvals=1 protos=0
  ;   K[0]='EventDispatcher'
  ;   K[1]='AddListener'
  ;   K[2]='EEventType'
  ;   K[3]='BakeOutCoinExchanged'
  ;   K[4]='UpdateContent'
  ;   K[5]='ChangeGameMode'
  ;   K[6]='OnChangeGameMode'
  ;   K[7]='AddHandlerAndRecordMap'
  ;   K[8]='m_model'
  ;   K[9]='event'
  ;   K[10]='BakeOutEventType'
  ;   K[11]='StateChanged'
  ;   K[12]='obj'
  ;   K[13]='method'
  ;   K[14]='UpdateRank'
  ;   K[15]='ModeChanged'
  ;   upvals: _ENV
  ;   locals: self(0-45)
  0000  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0001  GETTABLE  R1 = R1[K1('AddListener')]
  0002  GETTABUP  R2 = _ENV[K2('EEventType')]
  0003  GETTABLE  R2 = R2[K3('BakeOutCoinExchanged')]
  0004  MOVE      R3 = R0
  0005  GETTABLE  R4 = R0[K4('UpdateContent')]
  0006  CALL      R1 = call(R1, 0 args, 3 rets)
  0007  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0008  GETTABLE  R1 = R1[K1('AddListener')]
  0009  GETTABUP  R2 = _ENV[K2('EEventType')]
  0010  GETTABLE  R2 = R2[K5('ChangeGameMode')]
  0011  MOVE      R3 = R0
  0012  GETTABLE  R4 = R0[K6('OnChangeGameMode')]
  0013  CALL      R1 = call(R1, 0 args, 3 rets)
  0014  GETTABUP  R1 = _ENV[K7('AddHandlerAndRecordMap')]
  0015  GETTABLE  R2 = R0[K8('m_model')]
  0016  GETTABLE  R2 = R2[K9('event')]
  0017  GETTABUP  R3 = _ENV[K10('BakeOutEventType')]
  0018  GETTABLE  R3 = R3[K11('StateChanged')]
  0019  NEWTABLE  R4 = {} (0 items)
  0020  SETTABLE  R4[K12('obj')] = R0
  0021  GETTABLE  R5 = R0[K4('UpdateContent')]
  0022  SETTABLE  R4[K13('method')] = R5
  0023  CALL      R1 = call(R1, 0 args, 3 rets)
  0024  GETTABUP  R1 = _ENV[K7('AddHandlerAndRecordMap')]
  0025  GETTABLE  R2 = R0[K8('m_model')]
  0026  GETTABLE  R2 = R2[K9('event')]
  0027  GETTABUP  R3 = _ENV[K10('BakeOutEventType')]
  0028  GETTABLE  R3 = R3[K14('UpdateRank')]
  0029  NEWTABLE  R4 = {} (0 items)
  0030  SETTABLE  R4[K12('obj')] = R0
  0031  GETTABLE  R5 = R0[K14('UpdateRank')]
  0032  SETTABLE  R4[K13('method')] = R5
  0033  CALL      R1 = call(R1, 0 args, 3 rets)
  0034  GETTABUP  R1 = _ENV[K7('AddHandlerAndRecordMap')]
  0035  GETTABLE  R2 = R0[K8('m_model')]
  0036  GETTABLE  R2 = R2[K9('event')]
  0037  GETTABUP  R3 = _ENV[K10('BakeOutEventType')]
  0038  GETTABLE  R3 = R3[K15('ModeChanged')]
  0039  NEWTABLE  R4 = {} (0 items)
  0040  SETTABLE  R4[K12('obj')] = R0
  0041  GETTABLE  R5 = R0[K4('UpdateContent')]
  0042  SETTABLE  R4[K13('method')] = R5
  0043  CALL      R1 = call(R1, 0 args, 3 rets)
  0044  RETURN    return R0..R-1
; ---------- proto3 [OnDestroy] ----------
  ; fn ?  line 51-56 np=1 va=0 ms=4 code=13 consts=6 upvals=1 protos=0
  ;   K[0]='EventDispatcher'
  ;   K[1]='RemoveTarget'
  ;   K[2]='m_model'
  ;   K[3]=nil
  ;   K[4]='RemoveAllHandlers'
  ;   K[5]='event'
  ;   upvals: _ENV
  ;   locals: self(0-13)
  0000  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0001  GETTABLE  R1 = R1[K1('RemoveTarget')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  GETTABLE  R1 = R0[K2('m_model')]
  0005  EQ        if R1 eq K3(nil)   -> -130294
  0006  JMP       (jump)   -> 12
  0007  GETTABUP  R1 = _ENV[K4('RemoveAllHandlers')]
  0008  GETTABLE  R2 = R0[K2('m_model')]
  0009  GETTABLE  R2 = R2[K5('event')]
  0010  MOVE      R3 = R0
  0011  CALL      R1 = call(R1, 0 args, 2 rets)
  0012  RETURN    return R0..R-1
; ---------- proto4 [OnChangeGameMode] ----------
  ; fn ?  line 58-62 np=1 va=0 ms=3 code=11 consts=6 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='SceneManager'
  ;   K[2]='GetGameMode'
  ;   K[3]='EGameMode'
  ;   K[4]='Board'
  ;   K[5]='UpdateContent'
  ;   upvals: _ENV
  ;   locals: self(0-11)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('SceneManager')]
  0002  SELF      R2 = R1[K2('GetGameMode')] (self)
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  GETTABUP  R2 = _ENV[K3('EGameMode')]
  0005  GETTABLE  R2 = R2[K4('Board')]
  0006  EQ        if R0 eq R2   -> -130550
  0007  JMP       (jump)   -> 10
  0008  SELF      R2 = R0[K5('UpdateContent')] (self)
  0009  CALL      R1 = call(R1, 0 args, 1 rets)
  0010  RETURN    return R0..R-1
; ---------- proto5 [UpdatePerSecond] ----------
  ; fn ?  line 64-80 np=1 va=0 ms=9 code=50 consts=18 upvals=1 protos=0
  ;   K[0]='m_model'
  ;   K[1]=nil
  ;   K[2]='GetNextStateTime'
  ;   K[3]='GetState'
  ;   K[4]='ActivityState'
  ;   K[5]='Ended'
  ;   K[6]='m_countDownText'
  ;   K[7]='text'
  ;   K[8]='GM'
  ;   K[9]='GameTextModel'
  ;   K[10]='GetText'
  ;   K[11]='bakeout_settlement_title'
  ;   K[12]='GameModel'
  ;   K[13]='GetServerTime'
  ;   K[14]='TimeUtil'
  ;   K[15]='ParseTimeDescription'
  ;   K[16]=2
  ;   K[17]='bakeout_end_title'
  ;   upvals: _ENV
  ;   locals: self(0-50), nextTime(7-50), delta(32-41)
  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('GetNextStateTime')] (self)
  0006  CALL      R1 = call(R1, 1 args, 1 rets)
  0007  EQ        if R1 eq K1(nil)   -> -130294
  0008  JMP       (jump)   -> 42
  0009  GETTABLE  R2 = R0[K0('m_model')]
  0010  SELF      R3 = R2[K3('GetState')] (self)
  0011  CALL      R2 = call(R2, 1 args, 1 rets)
  0012  GETTABUP  R3 = _ENV[K4('ActivityState')]
  0013  GETTABLE  R3 = R3[K5('Ended')]
  0014  EQ        if R0 eq R3   -> -130029
  0015  JMP       (jump)   -> 24
  0016  GETTABLE  R2 = R0[K6('m_countDownText')]
  0017  GETTABUP  R3 = _ENV[K8('GM')]
  0018  GETTABLE  R3 = R3[K9('GameTextModel')]
  0019  SELF      R4 = R3[K10('GetText')] (self)
  0020  LOADK     R5 = K11 'bakeout_settlement_title'
  0021  CALL      R3 = call(R3, 1 args, 2 rets)
  0022  SETTABLE  R2[K7('text')] = R3
  0023  JMP       (jump)   -> 49
  0024  GETTABLE  R2 = R0[K0('m_model')]
  0025  SELF      R3 = R2[K2('GetNextStateTime')] (self)
  0026  CALL      R2 = call(R2, 1 args, 1 rets)
  0027  GETTABUP  R3 = _ENV[K8('GM')]
  0028  GETTABLE  R3 = R3[K12('GameModel')]
  0029  SELF      R4 = R3[K13('GetServerTime')] (self)
  0030  CALL      R3 = call(R3, 1 args, 1 rets)
  0031  SUB       R2 = R3 sub R2
  0032  GETTABLE  R3 = R0[K6('m_countDownText')]
  0033  GETTABUP  R4 = _ENV[K14('TimeUtil')]
  0034  GETTABLE  R4 = R4[K15('ParseTimeDescription')]
  0035  MOVE      R5 = R0
  0036  LOADK     R6 = K16 2
  0037  LOADBOOL  R7 = false
  0038  LOADBOOL  R8 = false
  0039  CALL      R4 = call(R4, 1 args, 4 rets)
  0040  SETTABLE  R3[K7('text')] = R4
  0041  JMP       (jump)   -> 49
  0042  GETTABLE  R2 = R0[K6('m_countDownText')]
  0043  GETTABUP  R3 = _ENV[K8('GM')]
  0044  GETTABLE  R3 = R3[K9('GameTextModel')]
  0045  SELF      R4 = R3[K10('GetText')] (self)
  0046  LOADK     R5 = K17 'bakeout_end_title'
  0047  CALL      R3 = call(R3, 1 args, 2 rets)
  0048  SETTABLE  R2[K7('text')] = R3
  0049  RETURN    return R0..R-1
; ---------- proto6 [UpdateContent] ----------
  ; fn ?  line 82-101 np=1 va=0 ms=5 code=31 consts=12 upvals=0 protos=0
  ;   K[0]='m_model'
  ;   K[1]=nil
  ;   K[2]='IsBakeOutModeOn'
  ;   K[3]='gameObject'
  ;   K[4]='activeSelf'
  ;   K[5]='SetActive'
  ;   K[6]='UpdateRank'
  ;   K[7]='m_tokenText'
  ;   K[8]='text'
  ;   K[9]='GetToken'
  ;   K[10]='0'
  ;   K[11]='UpdatePerSecond'
  ;   locals: self(0-31), bakeoutOn(7-31)
  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('IsBakeOutModeOn')] (self)
  0006  CALL      R1 = call(R1, 1 args, 1 rets)
  0007  GETTABLE  R2 = R0[K3('gameObject')]
  0008  GETTABLE  R2 = R2[K4('activeSelf')]
  0009  EQ        if R1 eq R2   -> -130547
  0010  JMP       (jump)   -> 15
  0011  GETTABLE  R2 = R0[K3('gameObject')]
  0012  SELF      R3 = R2[K5('SetActive')] (self)
  0013  MOVE      R4 = R0
  0014  CALL      R2 = call(R2, 0 args, 2 rets)
  0015  TEST      if not R1 then   -> -131054
  0016  JMP       (jump)   -> 18
  0017  RETURN    return R0..R-1
  0018  SELF      R3 = R0[K6('UpdateRank')] (self)
  0019  CALL      R2 = call(R2, 0 args, 1 rets)
  0020  GETTABLE  R2 = R0[K7('m_tokenText')]
  0021  GETTABLE  R3 = R0[K0('m_model')]
  0022  SELF      R4 = R3[K9('GetToken')] (self)
  0023  CALL      R3 = call(R3, 1 args, 1 rets)
  0024  TEST      if not R3 then   -> -131045
  0025  JMP       (jump)   -> 27
  0026  LOADK     R3 = K10 '0'
  0027  SETTABLE  R2[K8('text')] = R3
  0028  SELF      R3 = R0[K11('UpdatePerSecond')] (self)
  0029  CALL      R2 = call(R2, 0 args, 1 rets)
  0030  RETURN    return R0..R-1
; ---------- proto7 [UpdateRank] ----------
  ; fn ?  line 103-117 np=2 va=0 ms=6 code=37 consts=13 upvals=1 protos=0
  ;   K[0]='m_updateRankTween'
  ;   K[1]='Kill'
  ;   K[2]=nil
  ;   K[3]='m_model'
  ;   K[4]='GetDisplayCurRank'
  ;   K[5]='UIUtil'
  ;   K[6]='SetActive'
  ;   K[7]='m_rankGo'
  ;   K[8]='tonumber'
  ;   K[9]='m_rankText'
  ;   K[10]='text'
  ;   K[11]='_CreateRankChangeTween'
  ;   K[12]=''
  ;   upvals: _ENV
  ;   locals: self(0-37), animated(0-37), rank(10-37)
  0000  GETTABLE  R2 = R0[K0('m_updateRankTween')]
  0001  TEST      if not R2 then   -> -131069
  0002  JMP       (jump)   -> 7
  0003  GETTABLE  R2 = R0[K0('m_updateRankTween')]
  0004  SELF      R3 = R2[K1('Kill')] (self)
  0005  CALL      R2 = call(R2, 0 args, 1 rets)
  0006  SETTABLE  R0[K0('m_updateRankTween')] = K2(nil)
  0007  GETTABLE  R2 = R0[K3('m_model')]
  0008  SELF      R3 = R2[K4('GetDisplayCurRank')] (self)
  0009  CALL      R2 = call(R2, 1 args, 1 rets)
  0010  GETTABUP  R3 = _ENV[K5('UIUtil')]
  0011  GETTABLE  R3 = R3[K6('SetActive')]
  0012  GETTABLE  R4 = R0[K7('m_rankGo')]
  0013  EQ        if R0 eq K2(nil)   -> -129775
  0014  JMP       (jump)   -> 16
  0015  LOADBOOL  R5 = false
  0016  LOADBOOL  R5 = true
  0017  CALL      R3 = call(R3, 0 args, 2 rets)
  0018  TEST      if not R1 then   -> -131052
  0019  JMP       (jump)   -> 31
  0020  GETTABUP  R3 = _ENV[K8('tonumber')]
  0021  GETTABLE  R4 = R0[K9('m_rankText')]
  0022  GETTABLE  R4 = R4[K10('text')]
  0023  CALL      R3 = call(R3, 1 args, 1 rets)
  0024  EQ        if R1 eq R2   -> -129508
  0025  JMP       (jump)   -> 31
  0026  SELF      R4 = R0[K11('_CreateRankChangeTween')] (self)
  0027  MOVE      R5 = R0
  0028  CALL      R3 = call(R3, 1 args, 2 rets)
  0029  SETTABLE  R0[K0('m_updateRankTween')] = R3
  0030  JMP       (jump)   -> 36
  0031  GETTABLE  R3 = R0[K9('m_rankText')]
  0032  TESTSET   if R1 then R4   -> -130013
  0033  JMP       (jump)   -> 35
  0034  LOADK     R4 = K12 ''
  0035  SETTABLE  R3[K10('text')] = R4
  0036  RETURN    return R0..R-1
; ---------- proto8 [_CreateRankChangeTween] ----------
  ; fn ?  line 119-138 np=2 va=0 ms=7 code=16 consts=7 upvals=1 protos=3
  ;   K[0]='DOTween'
  ;   K[1]='To'
  ;   K[2]=1
  ;   K[3]='OnComplete'
  ;   K[4]='SetEase'
  ;   K[5]='Ease'
  ;   K[6]='InOutSine'
  ;   upvals: _ENV
  ;   locals: self(0-16), toRank(0-16)
  0000  GETTABUP  R2 = _ENV[K0('DOTween')]
  0001  GETTABLE  R2 = R2[K1('To')]
  0002  CLOSURE   R3 = closure proto0
  0003  CLOSURE   R4 = closure proto1
  0004  MOVE      R5 = R0
  0005  LOADK     R6 = K2 1
  0006  CALL      R2 = call(R2, 1 args, 4 rets)
  0007  SELF      R3 = R2[K3('OnComplete')] (self)
  0008  CLOSURE   R4 = closure proto2
  0009  CALL      R2 = call(R2, 1 args, 2 rets)
  0010  SELF      R3 = R2[K4('SetEase')] (self)
  0011  GETTABUP  R4 = _ENV[K5('Ease')]
  0012  GETTABLE  R4 = R4[K6('InOutSine')]
  0013  TAILCALL  tailcall(R2, 0)
  0014  RETURN    return R2..R1
  0015  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 122-124 np=0 va=0 ms=2 code=6 consts=3 upvals=2 protos=0
    ;   K[0]='tonumber'
    ;   K[1]='m_rankText'
    ;   K[2]='text'
    ;   upvals: _ENV, self
    0000  GETTABUP  R0 = _ENV[K0('tonumber')]
    0001  GETTABUP  R1 = self[K1('m_rankText')]
    0002  GETTABLE  R1 = R1[K2('text')]
    0003  TAILCALL  tailcall(R0, 0)
    0004  RETURN    return R0..R-1
    0005  RETURN    return R0..R-1
  ; ---------- proto1 [] ----------
    ; fn ?  line 126-128 np=1 va=0 ms=4 code=7 consts=4 upvals=2 protos=0
    ;   K[0]='m_rankText'
    ;   K[1]='text'
    ;   K[2]='math'
    ;   K[3]='floor'
    ;   upvals: self, _ENV
    ;   locals: rank(0-7)
    0000  GETTABUP  R1 = self[K0('m_rankText')]
    0001  GETTABUP  R2 = _ENV[K2('math')]
    0002  GETTABLE  R2 = R2[K3('floor')]
    0003  MOVE      R3 = R0
    0004  CALL      R2 = call(R2, 1 args, 1 rets)
    0005  SETTABLE  R1[K1('text')] = R2
    0006  RETURN    return R0..R-1
  ; ---------- proto2 [] ----------
    ; fn ?  line 134-136 np=0 va=0 ms=2 code=2 consts=2 upvals=1 protos=0
    ;   K[0]='m_updateRankTween'
    ;   K[1]=nil
    ;   upvals: self
    0000  SETTABUP  self[K0('m_updateRankTween')] = K1(nil)
    0001  RETURN    return R0..R-1
; ---------- proto9 [PlayAcquireAnimation] ----------
  ; fn ?  line 141-143 np=1 va=0 ms=3 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='UpdateContent'
  ;   locals: self(0-3)
  0000  SELF      R2 = R0[K0('UpdateContent')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  RETURN    return R0..R-1
; ---------- proto10 [OnBtnClicked] ----------
  ; fn ?  line 145-167 np=1 va=0 ms=6 code=72 consts=19 upvals=1 protos=0
  ;   K[0]='m_model'
  ;   K[1]=nil
  ;   K[2]='GetState'
  ;   K[3]='ActivityState'
  ;   K[4]='Started'
  ;   K[5]='IsEnlist'
  ;   K[6]='GM'
  ;   K[7]='UIManager'
  ;   K[8]='OpenView'
  ;   K[9]='UIPrefabConfigName'
  ;   K[10]='BakeOutMainWindow'
  ;   K[11]='OnEnlist'
  ;   K[12]='Ended'
  ;   K[13]='BakeOutInSettlementWindow'
  ;   K[14]='Released'
  ;   K[15]='GetFinalRankInfos'
  ;   K[16]='BakeOutResultWindow'
  ;   K[17]='SetWindowReopen'
  ;   K[18]='OnActivityFinished'
  ;   upvals: _ENV
  ;   locals: self(0-72)
  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)   -> 29
  0011  GETTABLE  R1 = R0[K0('m_model')]
  0012  SELF      R2 = R1[K5('IsEnlist')] (self)
  0013  CALL      R1 = call(R1, 1 args, 1 rets)
  0014  TEST      if not R1 then   -> -131056
  0015  JMP       (jump)   -> 25
  0016  GETTABUP  R1 = _ENV[K6('GM')]
  0017  GETTABLE  R1 = R1[K7('UIManager')]
  0018  SELF      R2 = R1[K8('OpenView')] (self)
  0019  GETTABUP  R3 = _ENV[K9('UIPrefabConfigName')]
  0020  GETTABLE  R3 = R3[K10('BakeOutMainWindow')]
  0021  LOADNIL   R4..R4 = nil
  0022  LOADBOOL  R5 = true
  0023  CALL      R1 = call(R1, 0 args, 4 rets)
  0024  JMP       (jump)   -> 71
  0025  GETTABLE  R1 = R0[K0('m_model')]
  0026  SELF      R2 = R1[K11('OnEnlist')] (self)
  0027  CALL      R1 = call(R1, 0 args, 1 rets)
  0028  JMP       (jump)   -> 71
  0029  GETTABLE  R1 = R0[K0('m_model')]
  0030  SELF      R2 = R1[K2('GetState')] (self)
  0031  CALL      R1 = call(R1, 1 args, 1 rets)
  0032  GETTABUP  R2 = _ENV[K3('ActivityState')]
  0033  GETTABLE  R2 = R2[K12('Ended')]
  0034  EQ        if R0 eq R2   -> -130522
  0035  JMP       (jump)   -> 44
  0036  GETTABUP  R1 = _ENV[K6('GM')]
  0037  GETTABLE  R1 = R1[K7('UIManager')]
  0038  SELF      R2 = R1[K8('OpenView')] (self)
  0039  GETTABUP  R3 = _ENV[K9('UIPrefabConfigName')]
  0040  GETTABLE  R3 = R3[K13('BakeOutInSettlementWindow')]
  0041  LOADBOOL  R4 = true
  0042  CALL      R1 = call(R1, 0 args, 3 rets)
  0043  JMP       (jump)   -> 71
  0044  GETTABLE  R1 = R0[K0('m_model')]
  0045  SELF      R2 = R1[K2('GetState')] (self)
  0046  CALL      R1 = call(R1, 1 args, 1 rets)
  0047  GETTABUP  R2 = _ENV[K3('ActivityState')]
  0048  GETTABLE  R2 = R2[K14('Released')]
  0049  EQ        if R0 eq R2   -> -130507
  0050  JMP       (jump)   -> 71
  0051  GETTABLE  R1 = R0[K0('m_model')]
  0052  SELF      R2 = R1[K15('GetFinalRankInfos')] (self)
  0053  CALL      R1 = call(R1, 1 args, 1 rets)
  0054  EQ        if R1 eq K1(nil)   -> -130247
  0055  JMP       (jump)   -> 64
  0056  GETTABUP  R1 = _ENV[K6('GM')]
  0057  GETTABLE  R1 = R1[K7('UIManager')]
  0058  SELF      R2 = R1[K8('OpenView')] (self)
  0059  GETTABUP  R3 = _ENV[K9('UIPrefabConfigName')]
  0060  GETTABLE  R3 = R3[K16('BakeOutResultWindow')]
  0061  LOADBOOL  R4 = true
  0062  CALL      R1 = call(R1, 0 args, 3 rets)
  0063  JMP       (jump)   -> 71
  0064  GETTABLE  R1 = R0[K0('m_model')]
  0065  SELF      R2 = R1[K17('SetWindowReopen')] (self)
  0066  CALL      R1 = call(R1, 0 args, 1 rets)
  0067  GETTABLE  R1 = R0[K0('m_model')]
  0068  SELF      R2 = R1[K18('OnActivityFinished')] (self)
  0069  LOADBOOL  R3 = true
  0070  CALL      R1 = call(R1, 0 args, 2 rets)
  0071  RETURN    return R0..R-1
; ---------- proto11 [GetStarRectTransform] ----------
  ; fn ?  line 170-172 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_starRectTrans'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_starRectTrans')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto12 [GetIconArea] ----------
  ; fn ?  line 174-176 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_iconArea'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_iconArea')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto13 [GetTouchContentTransform] ----------
  ; fn ?  line 180-182 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_touchContentRectTrans'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_touchContentRectTrans')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto14 [Init] ----------
  ; fn ?  line 188-191 np=3 va=0 ms=6 code=7 consts=3 upvals=1 protos=0
  ;   K[0]='HudPropertyButton'
  ;   K[1]='Init'
  ;   K[2]='m_boardBubble'
  ;   upvals: _ENV
  ;   locals: self(0-7), ePropertyType(0-7), boardBubble(0-7)
  0000  GETTABUP  R3 = _ENV[K0('HudPropertyButton')]
  0001  GETTABLE  R3 = R3[K1('Init')]
  0002  MOVE      R4 = R0
  0003  MOVE      R5 = R0
  0004  CALL      R3 = call(R3, 0 args, 2 rets)
  0005  SETTABLE  R0[K2('m_boardBubble')] = R2
  0006  RETURN    return R0..R-1
; ---------- proto15 [GetPropertyNum] ----------
  ; fn ?  line 193-198 np=1 va=0 ms=4 code=12 consts=7 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='ActivityManager'
  ;   K[2]='GetModel'
  ;   K[3]='ActivityType'
  ;   K[4]='BakeOut'
  ;   K[5]=nil
  ;   K[6]='GetToken'
  ;   upvals: _ENV
  ;   locals: self(0-12), model(6-12)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('ActivityManager')]
  0002  SELF      R2 = R1[K2('GetModel')] (self)
  0003  GETTABUP  R3 = _ENV[K3('ActivityType')]
  0004  GETTABLE  R3 = R3[K4('BakeOut')]
  0005  CALL      R1 = call(R1, 1 args, 2 rets)
  0006  EQ        if R1 eq K5(nil)   -> -130291
  0007  JMP       (jump)   -> 11
  0008  SELF      R3 = R1[K6('GetToken')] (self)
  0009  TAILCALL  tailcall(R2, 0)
  0010  RETURN    return R2..R1
  0011  RETURN    return R0..R-1
; ---------- proto16 [SyncToModelValue] ----------
  ; fn ?  line 200-205 np=1 va=0 ms=3 code=11 consts=5 upvals=1 protos=0
  ;   K[0]='HudPropertyButton'
  ;   K[1]='SyncToModelValue'
  ;   K[2]='m_boardBubble'
  ;   K[3]=nil
  ;   K[4]='UpdateContent'
  ;   upvals: _ENV
  ;   locals: self(0-11)
  0000  GETTABUP  R1 = _ENV[K0('HudPropertyButton')]
  0001  GETTABLE  R1 = R1[K1('SyncToModelValue')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  GETTABLE  R1 = R0[K2('m_boardBubble')]
  0005  EQ        if R1 eq K3(nil)   -> -130294
  0006  JMP       (jump)   -> 10
  0007  GETTABLE  R1 = R0[K2('m_boardBubble')]
  0008  SELF      R2 = R1[K4('UpdateContent')] (self)
  0009  CALL      R1 = call(R1, 0 args, 1 rets)
  0010  RETURN    return R0..R-1
