# UI_SceneView_BaseSceneView_403.luac
; fn @BaseSceneView.lua  line 0-0 np=0 va=1 ms=3 code=67 consts=27 upvals=1 protos=18
;   K[0]='BaseSceneView'
;   K[1]='setmetatable'
;   K[2]='eViewType'
;   K[3]='EViewType'
;   K[4]='SceneView'
;   K[5]='BaseView'
;   K[6]='__index'
;   K[7]='SCENE_BUTTONS_MOVE_DURATION'
;   K[8]=0.4
;   K[9]='Awake'
;   K[10]='Init'
;   K[11]='GetMinFitScale'
;   K[12]='GetBoardInfoBarScreenPosition'
;   K[13]='HudForceImmediatelyShow'
;   K[14]='HudForceImmediatelyHide'
;   K[15]='GetHudButton'
;   K[16]='GetHudHighlightRoot'
;   K[17]='GetBoardEntryPrefab'
;   K[18]='GetBoardEntryAnchor'
;   K[19]='GetFlyCachedItemTargetPosition'
;   K[20]='_GetFlyCachedItemTargetPositionInSameGameMode'
;   K[21]='_GetFlyCachedItemTargetPositionInDifferentGameMode'
;   K[22]='GetTutorialLayer'
;   K[23]='GetPropertyAnimationManager'
;   K[24]='GetPopupChain'
;   K[25]='FitScreenSize'
;   K[26]='OnReturnChapterClicked'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  GETTABUP  R2 = _ENV[K3('EViewType')]
0003  GETTABLE  R2 = R2[K4('SceneView')]
0004  SETTABLE  R1[K2('eViewType')] = R2
0005  GETTABUP  R2 = _ENV[K5('BaseView')]
0006  CALL      R0 = call(R0, 1 args, 2 rets)
0007  SETTABUP  _ENV[K0('BaseSceneView')] = R0
0008  GETTABUP  R0 = _ENV[K0('BaseSceneView')]
0009  GETTABUP  R1 = _ENV[K0('BaseSceneView')]
0010  SETTABLE  R0[K6('__index')] = R1
0011  SETTABUP  _ENV[K7('SCENE_BUTTONS_MOVE_DURATION')] = K8(0.4)
0012  GETTABUP  R0 = _ENV[K0('BaseSceneView')]
0013  CLOSURE   R1 = closure proto0
0014  SETTABLE  R0[K9('Awake')] = R1
0015  GETTABUP  R0 = _ENV[K0('BaseSceneView')]
0016  CLOSURE   R1 = closure proto1
0017  SETTABLE  R0[K10('Init')] = R1
0018  GETTABUP  R0 = _ENV[K0('BaseSceneView')]
0019  CLOSURE   R1 = closure proto2
0020  SETTABLE  R0[K11('GetMinFitScale')] = R1
0021  GETTABUP  R0 = _ENV[K0('BaseSceneView')]
0022  CLOSURE   R1 = closure proto3
0023  SETTABLE  R0[K12('GetBoardInfoBarScreenPosition')] = R1
0024  GETTABUP  R0 = _ENV[K0('BaseSceneView')]
0025  CLOSURE   R1 = closure proto4
0026  SETTABLE  R0[K13('HudForceImmediatelyShow')] = R1
0027  GETTABUP  R0 = _ENV[K0('BaseSceneView')]
0028  CLOSURE   R1 = closure proto5
0029  SETTABLE  R0[K14('HudForceImmediatelyHide')] = R1
0030  GETTABUP  R0 = _ENV[K0('BaseSceneView')]
0031  CLOSURE   R1 = closure proto6
0032  SETTABLE  R0[K15('GetHudButton')] = R1
0033  GETTABUP  R0 = _ENV[K0('BaseSceneView')]
0034  CLOSURE   R1 = closure proto7
0035  SETTABLE  R0[K16('GetHudHighlightRoot')] = R1
0036  GETTABUP  R0 = _ENV[K0('BaseSceneView')]
0037  CLOSURE   R1 = closure proto8
0038  SETTABLE  R0[K17('GetBoardEntryPrefab')] = R1
0039  GETTABUP  R0 = _ENV[K0('BaseSceneView')]
0040  CLOSURE   R1 = closure proto9
0041  SETTABLE  R0[K18('GetBoardEntryAnchor')] = R1
0042  GETTABUP  R0 = _ENV[K0('BaseSceneView')]
0043  CLOSURE   R1 = closure proto10
0044  SETTABLE  R0[K19('GetFlyCachedItemTargetPosition')] = R1
0045  GETTABUP  R0 = _ENV[K0('BaseSceneView')]
0046  CLOSURE   R1 = closure proto11
0047  SETTABLE  R0[K20('_GetFlyCachedItemTargetPositionInSameGameMode')] = R1
0048  GETTABUP  R0 = _ENV[K0('BaseSceneView')]
0049  CLOSURE   R1 = closure proto12
0050  SETTABLE  R0[K21('_GetFlyCachedItemTargetPositionInDifferentGameMode')] = R1
0051  GETTABUP  R0 = _ENV[K0('BaseSceneView')]
0052  CLOSURE   R1 = closure proto13
0053  SETTABLE  R0[K22('GetTutorialLayer')] = R1
0054  GETTABUP  R0 = _ENV[K0('BaseSceneView')]
0055  CLOSURE   R1 = closure proto14
0056  SETTABLE  R0[K23('GetPropertyAnimationManager')] = R1
0057  GETTABUP  R0 = _ENV[K0('BaseSceneView')]
0058  CLOSURE   R1 = closure proto15
0059  SETTABLE  R0[K24('GetPopupChain')] = R1
0060  GETTABUP  R0 = _ENV[K0('BaseSceneView')]
0061  CLOSURE   R1 = closure proto16
0062  SETTABLE  R0[K25('FitScreenSize')] = R1
0063  GETTABUP  R0 = _ENV[K0('BaseSceneView')]
0064  CLOSURE   R1 = closure proto17
0065  SETTABLE  R0[K26('OnReturnChapterClicked')] = R1
0066  RETURN    return R0..R-1
; ---------- proto0 [Awake] ----------
  ; fn ?  line 13-15 np=1 va=0 ms=3 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='FitScreenSize'
  ;   locals: self(0-3)
  0000  SELF      R2 = R0[K0('FitScreenSize')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  RETURN    return R0..R-1
; ---------- proto1 [Init] ----------
  ; fn ?  line 17-50 np=1 va=0 ms=9 code=123 consts=48 upvals=1 protos=0
  ;   K[0]='Log'
  ;   K[1]='Info'
  ;   K[2]='BaseSceneView:Init()'
  ;   K[3]='BaseView'
  ;   K[4]='Init'
  ;   K[5]='ScreenFitter'
  ;   K[6]='GetSceneViewSizeOffset'
  ;   K[7]='x'
  ;   K[8]='math'
  ;   K[9]='max'
  ;   K[10]=52
  ;   K[11]='UIUtil'
  ;   K[12]='AddSizeDelta'
  ;   K[13]='m_sceneViewHud'
  ;   K[14]='transform'
  ;   K[15]=0
  ;   K[16]='y'
  ;   K[17]='SetLocalPosition'
  ;   K[18]=2
  ;   K[19]='m_tutorialLayer'
  ;   K[20]='GameConfig'
  ;   K[21]='IsTestMode'
  ;   K[22]='PlayerPrefs'
  ;   K[23]='GetInt'
  ;   K[24]='EPlayerPrefKey'
  ;   K[25]='TestDisableRestorePurchase'
  ;   K[26]=1
  ;   K[27]='[测试框架] 已跳过自动补单。'
  ;   K[28]='GM'
  ;   K[29]='UIManager'
  ;   K[30]='ShowPrompt'
  ;   K[31]='已跳过自动补单'
  ;   K[32]='InAppPurchaseModel'
  ;   K[33]='RestorePurchase'
  ;   K[34]='PrefabCache'
  ;   K[35]='OnSceneViewLoaded'
  ;   K[36]='AccountManager'
  ;   K[37]='GiveBindRewardIfCould'
  ;   K[38]='LevelModel'
  ;   K[39]='GameModel'
  ;   K[40]='SyncModel'
  ;   K[41]='UpdateHintModel'
  ;   K[42]='NoticeModel'
  ;   K[43]='BundleManager'
  ;   K[44]='ShareLinkModel'
  ;   K[45]='m_popupChain'
  ;   K[46]='SurveyModel'
  ;   K[47]='TryPopWindow'
  ;   upvals: _ENV
  ;   locals: self(0-123), adjustSizeOffset(11-123)
  0000  GETTABUP  R1 = _ENV[K0('Log')]
  0001  GETTABLE  R1 = R1[K1('Info')]
  0002  LOADK     R2 = K2 'BaseSceneView:Init()'
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  GETTABUP  R1 = _ENV[K3('BaseView')]
  0005  GETTABLE  R1 = R1[K4('Init')]
  0006  MOVE      R2 = R0
  0007  CALL      R1 = call(R1, 0 args, 1 rets)
  0008  GETTABUP  R1 = _ENV[K5('ScreenFitter')]
  0009  GETTABLE  R1 = R1[K6('GetSceneViewSizeOffset')]
  0010  CALL      R1 = call(R1, 1 args, 0 rets)
  0011  GETTABUP  R2 = _ENV[K8('math')]
  0012  GETTABLE  R2 = R2[K9('max')]
  0013  LOADK     R3 = K10 52
  0014  GETTABLE  R4 = R1[K7('x')]
  0015  CALL      R2 = call(R2, 1 args, 2 rets)
  0016  SETTABLE  R1[K7('x')] = R2
  0017  GETTABUP  R2 = _ENV[K11('UIUtil')]
  0018  GETTABLE  R2 = R2[K12('AddSizeDelta')]
  0019  GETTABLE  R3 = R0[K13('m_sceneViewHud')]
  0020  GETTABLE  R3 = R3[K14('transform')]
  0021  LOADK     R4 = K15 0
  0022  GETTABLE  R5 = R1[K7('x')]
  0023  UNM       R5 = unm R0
  0024  GETTABLE  R6 = R1[K16('y')]
  0025  SUB       R5 = R6 sub R5
  0026  CALL      R2 = call(R2, 0 args, 3 rets)
  0027  GETTABUP  R2 = _ENV[K11('UIUtil')]
  0028  GETTABLE  R2 = R2[K17('SetLocalPosition')]
  0029  GETTABLE  R3 = R0[K13('m_sceneViewHud')]
  0030  GETTABLE  R3 = R3[K14('transform')]
  0031  LOADK     R4 = K15 0
  0032  GETTABLE  R5 = R1[K7('x')]
  0033  GETTABLE  R6 = R1[K16('y')]
  0034  SUB       R5 = R6 sub R5
  0035  UNM       R5 = unm R0
  0036  DIV       R5 = K18(2) div R5
  0037  CALL      R2 = call(R2, 0 args, 3 rets)
  0038  GETTABLE  R2 = R0[K19('m_tutorialLayer')]
  0039  SELF      R3 = R2[K4('Init')] (self)
  0040  MOVE      R4 = R0
  0041  CALL      R2 = call(R2, 0 args, 2 rets)
  0042  GETTABLE  R2 = R0[K13('m_sceneViewHud')]
  0043  SELF      R3 = R2[K4('Init')] (self)
  0044  CALL      R2 = call(R2, 0 args, 1 rets)
  0045  GETTABUP  R2 = _ENV[K20('GameConfig')]
  0046  GETTABLE  R2 = R2[K21('IsTestMode')]
  0047  CALL      R2 = call(R2, 1 args, 0 rets)
  0048  TEST      if not R2 then   -> -131022
  0049  JMP       (jump)   -> 70
  0050  GETTABUP  R2 = _ENV[K22('PlayerPrefs')]
  0051  GETTABLE  R2 = R2[K23('GetInt')]
  0052  GETTABUP  R3 = _ENV[K24('EPlayerPrefKey')]
  0053  GETTABLE  R3 = R3[K25('TestDisableRestorePurchase')]
  0054  LOADK     R4 = K15 0
  0055  CALL      R2 = call(R2, 1 args, 2 rets)
  0056  EQ        if R0 eq K26(1)   -> -129708
  0057  JMP       (jump)   -> 70
  0058  GETTABUP  R2 = _ENV[K0('Log')]
  0059  GETTABLE  R2 = R2[K1('Info')]
  0060  LOADK     R3 = K27 '[测试框架] 已跳过自动补单。'
  0061  CALL      R2 = call(R2, 0 args, 1 rets)
  0062  GETTABUP  R2 = _ENV[K28('GM')]
  0063  GETTABLE  R2 = R2[K29('UIManager')]
  0064  SELF      R3 = R2[K30('ShowPrompt')] (self)
  0065  LOADK     R4 = K31 '已跳过自动补单'
  0066  LOADNIL   R5..R5 = nil
  0067  LOADBOOL  R8 = true
  0068  CALL      R2 = call(R2, 0 args, 6 rets)
  0069  JMP       (jump)   -> 75
  0070  GETTABUP  R2 = _ENV[K28('GM')]
  0071  GETTABLE  R2 = R2[K32('InAppPurchaseModel')]
  0072  SELF      R3 = R2[K33('RestorePurchase')] (self)
  0073  LOADBOOL  R4 = false
  0074  CALL      R2 = call(R2, 0 args, 2 rets)
  0075  GETTABUP  R2 = _ENV[K28('GM')]
  0076  GETTABLE  R2 = R2[K34('PrefabCache')]
  0077  SELF      R3 = R2[K35('OnSceneViewLoaded')] (self)
  0078  CALL      R2 = call(R2, 0 args, 1 rets)
  0079  GETTABUP  R2 = _ENV[K28('GM')]
  0080  GETTABLE  R2 = R2[K36('AccountManager')]
  0081  SELF      R3 = R2[K37('GiveBindRewardIfCould')] (self)
  0082  CALL      R2 = call(R2, 0 args, 1 rets)
  0083  GETTABUP  R2 = _ENV[K28('GM')]
  0084  GETTABLE  R2 = R2[K38('LevelModel')]
  0085  SELF      R3 = R2[K35('OnSceneViewLoaded')] (self)
  0086  CALL      R2 = call(R2, 0 args, 1 rets)
  0087  GETTABUP  R2 = _ENV[K28('GM')]
  0088  GETTABLE  R2 = R2[K39('GameModel')]
  0089  SELF      R3 = R2[K35('OnSceneViewLoaded')] (self)
  0090  CALL      R2 = call(R2, 0 args, 1 rets)
  0091  GETTABUP  R2 = _ENV[K28('GM')]
  0092  GETTABLE  R2 = R2[K36('AccountManager')]
  0093  SELF      R3 = R2[K35('OnSceneViewLoaded')] (self)
  0094  CALL      R2 = call(R2, 0 args, 1 rets)
  0095  GETTABUP  R2 = _ENV[K28('GM')]
  0096  GETTABLE  R2 = R2[K40('SyncModel')]
  0097  SELF      R3 = R2[K35('OnSceneViewLoaded')] (self)
  0098  CALL      R2 = call(R2, 0 args, 1 rets)
  0099  GETTABUP  R2 = _ENV[K28('GM')]
  0100  GETTABLE  R2 = R2[K41('UpdateHintModel')]
  0101  SELF      R3 = R2[K35('OnSceneViewLoaded')] (self)
  0102  CALL      R2 = call(R2, 0 args, 1 rets)
  0103  GETTABUP  R2 = _ENV[K28('GM')]
  0104  GETTABLE  R2 = R2[K42('NoticeModel')]
  0105  SELF      R3 = R2[K35('OnSceneViewLoaded')] (self)
  0106  CALL      R2 = call(R2, 0 args, 1 rets)
  0107  GETTABUP  R2 = _ENV[K28('GM')]
  0108  GETTABLE  R2 = R2[K43('BundleManager')]
  0109  SELF      R3 = R2[K35('OnSceneViewLoaded')] (self)
  0110  CALL      R2 = call(R2, 0 args, 1 rets)
  0111  GETTABUP  R2 = _ENV[K28('GM')]
  0112  GETTABLE  R2 = R2[K44('ShareLinkModel')]
  0113  SELF      R3 = R2[K35('OnSceneViewLoaded')] (self)
  0114  CALL      R2 = call(R2, 0 args, 1 rets)
  0115  GETTABLE  R2 = R0[K45('m_popupChain')]
  0116  SELF      R3 = R2[K35('OnSceneViewLoaded')] (self)
  0117  CALL      R2 = call(R2, 0 args, 1 rets)
  0118  GETTABUP  R2 = _ENV[K28('GM')]
  0119  GETTABLE  R2 = R2[K46('SurveyModel')]
  0120  SELF      R3 = R2[K47('TryPopWindow')] (self)
  0121  CALL      R2 = call(R2, 0 args, 1 rets)
  0122  RETURN    return R0..R-1
; ---------- proto2 [GetMinFitScale] ----------
  ; fn ?  line 52-54 np=1 va=0 ms=4 code=7 consts=3 upvals=1 protos=0
  ;   K[0]='ScreenFitter'
  ;   K[1]='GetFitScale'
  ;   K[2]=1
  ;   upvals: _ENV
  ;   locals: self(0-7)
  0000  GETTABUP  R1 = _ENV[K0('ScreenFitter')]
  0001  GETTABLE  R1 = R1[K1('GetFitScale')]
  0002  LOADK     R2 = K2 1
  0003  LOADK     R3 = K2 1
  0004  TAILCALL  tailcall(R1, 0)
  0005  RETURN    return R1..R0
  0006  RETURN    return R0..R-1
; ---------- proto3 [GetBoardInfoBarScreenPosition] ----------
  ; fn ?  line 56-58 np=1 va=0 ms=3 code=7 consts=4 upvals=1 protos=0
  ;   K[0]='PositionUtil'
  ;   K[1]='UICameraWorld2Screen'
  ;   K[2]='m_infoBarRectTrans'
  ;   K[3]='position'
  ;   upvals: _ENV
  ;   locals: self(0-7)
  0000  GETTABUP  R1 = _ENV[K0('PositionUtil')]
  0001  GETTABLE  R1 = R1[K1('UICameraWorld2Screen')]
  0002  GETTABLE  R2 = R0[K2('m_infoBarRectTrans')]
  0003  GETTABLE  R2 = R2[K3('position')]
  0004  TAILCALL  tailcall(R1, 0)
  0005  RETURN    return R1..R0
  0006  RETURN    return R0..R-1
; ---------- proto4 [HudForceImmediatelyShow] ----------
  ; fn ?  line 60-63 np=2 va=0 ms=6 code=9 consts=3 upvals=0 protos=0
  ;   K[0]='m_sceneViewHud'
  ;   K[1]='Show'
  ;   K[2]='LateUpdate'
  ;   locals: self(0-9), arrHudAnchorTypes(0-9)
  0000  GETTABLE  R2 = R0[K0('m_sceneViewHud')]
  0001  SELF      R3 = R2[K1('Show')] (self)
  0002  MOVE      R4 = R0
  0003  LOADBOOL  R5 = true
  0004  CALL      R2 = call(R2, 0 args, 3 rets)
  0005  GETTABLE  R2 = R0[K0('m_sceneViewHud')]
  0006  SELF      R3 = R2[K2('LateUpdate')] (self)
  0007  CALL      R2 = call(R2, 0 args, 1 rets)
  0008  RETURN    return R0..R-1
; ---------- proto5 [HudForceImmediatelyHide] ----------
  ; fn ?  line 65-68 np=2 va=0 ms=6 code=9 consts=3 upvals=0 protos=0
  ;   K[0]='m_sceneViewHud'
  ;   K[1]='Hide'
  ;   K[2]='LateUpdate'
  ;   locals: self(0-9), arrHudAnchorTypes(0-9)
  0000  GETTABLE  R2 = R0[K0('m_sceneViewHud')]
  0001  SELF      R3 = R2[K1('Hide')] (self)
  0002  MOVE      R4 = R0
  0003  LOADBOOL  R5 = true
  0004  CALL      R2 = call(R2, 0 args, 3 rets)
  0005  GETTABLE  R2 = R0[K0('m_sceneViewHud')]
  0006  SELF      R3 = R2[K2('LateUpdate')] (self)
  0007  CALL      R2 = call(R2, 0 args, 1 rets)
  0008  RETURN    return R0..R-1
; ---------- proto6 [GetHudButton] ----------
  ; fn ?  line 70-72 np=2 va=0 ms=5 code=6 consts=2 upvals=0 protos=0
  ;   K[0]='m_sceneViewHud'
  ;   K[1]='GetHudButton'
  ;   locals: self(0-6), hudButtonKey(0-6)
  0000  GETTABLE  R2 = R0[K0('m_sceneViewHud')]
  0001  SELF      R3 = R2[K1('GetHudButton')] (self)
  0002  MOVE      R4 = R0
  0003  TAILCALL  tailcall(R2, 0)
  0004  RETURN    return R2..R1
  0005  RETURN    return R0..R-1
; ---------- proto7 [GetHudHighlightRoot] ----------
  ; fn ?  line 74-76 np=1 va=0 ms=3 code=5 consts=2 upvals=0 protos=0
  ;   K[0]='m_sceneViewHud'
  ;   K[1]='GetHighlightRoot'
  ;   locals: self(0-5)
  0000  GETTABLE  R1 = R0[K0('m_sceneViewHud')]
  0001  SELF      R2 = R1[K1('GetHighlightRoot')] (self)
  0002  TAILCALL  tailcall(R1, 0)
  0003  RETURN    return R1..R0
  0004  RETURN    return R0..R-1
; ---------- proto8 [GetBoardEntryPrefab] ----------
  ; fn ?  line 78-80 np=1 va=0 ms=3 code=5 consts=2 upvals=0 protos=0
  ;   K[0]='m_sceneViewHud'
  ;   K[1]='GetBoardEntryPrefab'
  ;   locals: self(0-5)
  0000  GETTABLE  R1 = R0[K0('m_sceneViewHud')]
  0001  SELF      R2 = R1[K1('GetBoardEntryPrefab')] (self)
  0002  TAILCALL  tailcall(R1, 0)
  0003  RETURN    return R1..R0
  0004  RETURN    return R0..R-1
; ---------- proto9 [GetBoardEntryAnchor] ----------
  ; fn ?  line 82-84 np=1 va=0 ms=3 code=5 consts=2 upvals=0 protos=0
  ;   K[0]='m_sceneViewHud'
  ;   K[1]='GetBoardEntryAnchor'
  ;   locals: self(0-5)
  0000  GETTABLE  R1 = R0[K0('m_sceneViewHud')]
  0001  SELF      R2 = R1[K1('GetBoardEntryAnchor')] (self)
  0002  TAILCALL  tailcall(R1, 0)
  0003  RETURN    return R1..R0
  0004  RETURN    return R0..R-1
; ---------- proto10 [GetFlyCachedItemTargetPosition] ----------
  ; fn ?  line 87-94 np=3 va=0 ms=6 code=15 consts=3 upvals=0 protos=0
  ;   K[0]=false
  ;   K[1]='_GetFlyCachedItemTargetPositionInSameGameMode'
  ;   K[2]='_GetFlyCachedItemTargetPositionInDifferentGameMode'
  ;   locals: self(0-15), sameGameMode(0-15), bFixedRight(0-15)
  0000  EQ        if R0 eq K0(false)   -> -130302
  0001  JMP       (jump)   -> 3
  0002  LOADBOOL  R1 = false
  0003  LOADBOOL  R1 = true
  0004  TEST      if not R1 then   -> -131066
  0005  JMP       (jump)   -> 11
  0006  SELF      R4 = R0[K1('_GetFlyCachedItemTargetPositionInSameGameMode')] (self)
  0007  MOVE      R5 = R0
  0008  TAILCALL  tailcall(R3, 0)
  0009  RETURN    return R3..R2
  0010  JMP       (jump)   -> 14
  0011  SELF      R4 = R0[K2('_GetFlyCachedItemTargetPositionInDifferentGameMode')] (self)
  0012  TAILCALL  tailcall(R3, 0)
  0013  RETURN    return R3..R2
  0014  RETURN    return R0..R-1
; ---------- proto11 [_GetFlyCachedItemTargetPositionInSameGameMode] ----------
  ; fn ?  line 96-108 np=2 va=0 ms=8 code=45 consts=17 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='SceneManager'
  ;   K[2]='GetGameMode'
  ;   K[3]='EGameMode'
  ;   K[4]='Main'
  ;   K[5]='GetHudButton'
  ;   K[6]='SceneViewHud'
  ;   K[7]='GetMainBoardHighlightHudKey'
  ;   K[8]='GetFlyTargetPosition'
  ;   K[9]='V3Zero'
  ;   K[10]='BoardViewHelper'
  ;   K[11]='GetActiveView'
  ;   K[12]='GetOrderArea'
  ;   K[13]='GetBoardCacheRoot'
  ;   K[14]='PositionUtil'
  ;   K[15]='UICameraScreen2World'
  ;   K[16]='ConvertWorldPositionToScreenPosition'
  ;   upvals: _ENV
  ;   locals: self(0-45), bFixedRight(0-45), boardView(23-44), originalPosition(32-44)
  0000  GETTABUP  R2 = _ENV[K0('GM')]
  0001  GETTABLE  R2 = R2[K1('SceneManager')]
  0002  SELF      R3 = R2[K2('GetGameMode')] (self)
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  GETTABUP  R3 = _ENV[K3('EGameMode')]
  0005  GETTABLE  R3 = R3[K4('Main')]
  0006  EQ        if R0 eq R3   -> -130037
  0007  JMP       (jump)   -> 20
  0008  SELF      R3 = R0[K5('GetHudButton')] (self)
  0009  GETTABUP  R4 = _ENV[K6('SceneViewHud')]
  0010  GETTABLE  R4 = R4[K7('GetMainBoardHighlightHudKey')]
  0011  CALL      R4 = call(R4, -1 args, 0 rets)
  0012  CALL      R2 = call(R2, 1 args, -1 rets)
  0013  SELF      R3 = R2[K8('GetFlyTargetPosition')] (self)
  0014  CALL      R2 = call(R2, 1 args, 1 rets)
  0015  TEST      if not R2 then   -> -131054
  0016  JMP       (jump)   -> 18
  0017  GETTABUP  R2 = _ENV[K9('V3Zero')]
  0018  RETURN    return R2..R1
  0019  JMP       (jump)   -> 44
  0020  GETTABUP  R2 = _ENV[K10('BoardViewHelper')]
  0021  GETTABLE  R2 = R2[K11('GetActiveView')]
  0022  CALL      R2 = call(R2, 1 args, 0 rets)
  0023  TESTSET   if R0 then R3   -> -130023
  0024  JMP       (jump)   -> 32
  0025  SELF      R4 = R2[K12('GetOrderArea')] (self)
  0026  CALL      R3 = call(R3, 1 args, 1 rets)
  0027  SELF      R4 = R3[K13('GetBoardCacheRoot')] (self)
  0028  CALL      R3 = call(R3, 1 args, 1 rets)
  0029  SELF      R4 = R3[K8('GetFlyTargetPosition')] (self)
  0030  MOVE      R5 = R0
  0031  CALL      R3 = call(R3, 1 args, 2 rets)
  0032  TEST      if not R3 then   -> -131038
  0033  JMP       (jump)   -> 42
  0034  GETTABUP  R4 = _ENV[K14('PositionUtil')]
  0035  GETTABLE  R4 = R4[K15('UICameraScreen2World')]
  0036  SELF      R6 = R2[K16('ConvertWorldPositionToScreenPosition')] (self)
  0037  MOVE      R7 = R0
  0038  CALL      R5 = call(R5, -1 args, 2 rets)
  0039  TAILCALL  tailcall(R4, 0)
  0040  RETURN    return R4..R3
  0041  JMP       (jump)   -> 44
  0042  GETTABUP  R4 = _ENV[K9('V3Zero')]
  0043  RETURN    return R4..R3
  0044  RETURN    return R0..R-1
; ---------- proto12 [_GetFlyCachedItemTargetPositionInDifferentGameMode] ----------
  ; fn ?  line 110-116 np=1 va=0 ms=4 code=31 consts=12 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='SceneManager'
  ;   K[2]='GetGameMode'
  ;   K[3]='EGameMode'
  ;   K[4]='Main'
  ;   K[5]='GetHudButton'
  ;   K[6]='SceneViewHud'
  ;   K[7]='GetMainBoardHighlightHudKey'
  ;   K[8]='GetFlyTargetPosition'
  ;   K[9]='V3Zero'
  ;   K[10]='ESceneViewHudButtonKey'
  ;   K[11]='Map'
  ;   upvals: _ENV
  ;   locals: self(0-31)
  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('Main')]
  0006  EQ        if R0 eq R2   -> -130550
  0007  JMP       (jump)   -> 20
  0008  SELF      R2 = R0[K5('GetHudButton')] (self)
  0009  GETTABUP  R3 = _ENV[K6('SceneViewHud')]
  0010  GETTABLE  R3 = R3[K7('GetMainBoardHighlightHudKey')]
  0011  CALL      R3 = call(R3, -1 args, 0 rets)
  0012  CALL      R1 = call(R1, 1 args, -1 rets)
  0013  SELF      R2 = R1[K8('GetFlyTargetPosition')] (self)
  0014  CALL      R1 = call(R1, 1 args, 1 rets)
  0015  TEST      if not R1 then   -> -131054
  0016  JMP       (jump)   -> 18
  0017  GETTABUP  R1 = _ENV[K9('V3Zero')]
  0018  RETURN    return R1..R0
  0019  JMP       (jump)   -> 30
  0020  SELF      R2 = R0[K5('GetHudButton')] (self)
  0021  GETTABUP  R3 = _ENV[K10('ESceneViewHudButtonKey')]
  0022  GETTABLE  R3 = R3[K11('Map')]
  0023  CALL      R1 = call(R1, 1 args, 2 rets)
  0024  SELF      R2 = R1[K8('GetFlyTargetPosition')] (self)
  0025  CALL      R1 = call(R1, 1 args, 1 rets)
  0026  TEST      if not R1 then   -> -131043
  0027  JMP       (jump)   -> 29
  0028  GETTABUP  R1 = _ENV[K9('V3Zero')]
  0029  RETURN    return R1..R0
  0030  RETURN    return R0..R-1
; ---------- proto13 [GetTutorialLayer] ----------
  ; fn ?  line 118-120 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_tutorialLayer'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_tutorialLayer')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto14 [GetPropertyAnimationManager] ----------
  ; fn ?  line 122-124 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_propertyAnimationManager'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_propertyAnimationManager')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto15 [GetPopupChain] ----------
  ; fn ?  line 126-128 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_popupChain'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_popupChain')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto16 [FitScreenSize] ----------
  ; fn ?  line 130-138 np=1 va=0 ms=10 code=21 consts=8 upvals=0 protos=0
  ;   K[0]='GetMinFitScale'
  ;   K[1]=0
  ;   K[2]='gameObject'
  ;   K[3]='transform'
  ;   K[4]='childCount'
  ;   K[5]=1
  ;   K[6]='GetChild'
  ;   K[7]='localScale'
  ;   locals: self(0-21), scale(2-21), child(3-21), (for index)(9-20), (for limit)(9-20), (for step)(9-20), k(10-19)
  0000  SELF      R2 = R0[K0('GetMinFitScale')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  LOADNIL   R2..R2 = nil
  0003  LOADK     R3 = K1 0
  0004  GETTABLE  R4 = R0[K2('gameObject')]
  0005  GETTABLE  R4 = R4[K3('transform')]
  0006  GETTABLE  R4 = R4[K4('childCount')]
  0007  SUB       R4 = K5(1) sub R4
  0008  LOADK     R5 = K5 1
  0009  FORPREP   forprep R3(sBx=9)   -> 19
  0010  GETTABLE  R7 = R0[K2('gameObject')]
  0011  GETTABLE  R7 = R7[K3('transform')]
  0012  SELF      R8 = R7[K6('GetChild')] (self)
  0013  MOVE      R9 = R0
  0014  CALL      R7 = call(R7, 1 args, 2 rets)
  0015  MOVE      R2 = R0
  0016  GETTABLE  R7 = R2[K7('localScale')]
  0017  MUL       R7 = R1 mul R7
  0018  SETTABLE  R2[K7('localScale')] = R7
  0019  FORLOOP   forloop R3(sBx=-10)   -> 10
  0020  RETURN    return R0..R-1
; ---------- proto17 [OnReturnChapterClicked] ----------
  ; fn ?  line 140-143 np=1 va=0 ms=4 code=13 consts=9 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='UIManager'
  ;   K[2]='CloseView'
  ;   K[3]='UIPrefabConfigName'
  ;   K[4]='InventoryWindow'
  ;   K[5]='SceneManager'
  ;   K[6]='ChangeGameMode'
  ;   K[7]='EGameMode'
  ;   K[8]='Main'
  ;   upvals: _ENV
  ;   locals: self(0-13)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('UIManager')]
  0002  SELF      R2 = R1[K2('CloseView')] (self)
  0003  GETTABUP  R3 = _ENV[K3('UIPrefabConfigName')]
  0004  GETTABLE  R3 = R3[K4('InventoryWindow')]
  0005  CALL      R1 = call(R1, 0 args, 2 rets)
  0006  GETTABUP  R1 = _ENV[K0('GM')]
  0007  GETTABLE  R1 = R1[K5('SceneManager')]
  0008  SELF      R2 = R1[K6('ChangeGameMode')] (self)
  0009  GETTABUP  R3 = _ENV[K7('EGameMode')]
  0010  GETTABLE  R3 = R3[K8('Main')]
  0011  CALL      R1 = call(R1, 0 args, 2 rets)
  0012  RETURN    return R0..R-1
