# UI_UIFramework_UIManager_259.luac
; fn @UIManager.lua  line 0-0 np=0 va=1 ms=7 code=235 consts=89 upvals=1 protos=67
;   K[0]='EViewState'
;   K[1]='Invalid'
;   K[2]=-1
;   K[3]='Cached'
;   K[4]=0
;   K[5]='WaitingOpen'
;   K[6]=1
;   K[7]='Loading'
;   K[8]=2
;   K[9]='Opened'
;   K[10]=3
;   K[11]='Closing'
;   K[12]=4
;   K[13]='pairs'
;   K[14]='table'
;   K[15]='sort'
;   K[16]=0.6078431372549019
;   K[17]='PropertyAnimationManager'
;   K[18]='UIManager'
;   K[19]='__index'
;   K[20]='Awake'
;   K[21]='UIManager'
;   K[22]='Start'
;   K[23]='Destroy'
;   K[24]='_OnGameModeChanged'
;   K[25]='UpdateInfoText'
;   K[26]='Update'
;   K[27]='OnBack'
;   K[28]='_ResetViewData'
;   K[29]='_UpdateViewData'
;   K[30]='_UpdateInputMultiTouch'
;   K[31]='_AddLoadingViewData'
;   K[32]='_PollWaitingOpenViewData'
;   K[33]='_RemoveClosingViewData'
;   K[34]='_ShiftViewData'
;   K[35]='OpenViewWhenIdle'
;   K[36]='OpenView'
;   K[37]='_LoadView'
;   K[38]='_ReOpenView'
;   K[39]='_OnViewOpen'
;   K[40]='_SetSortingOrder'
;   K[41]='GetDeltaSortingOrder'
;   K[42]='CloseView'
;   K[43]='OnViewCloseFinish'
;   K[44]='CloseAllOpenedWindow'
;   K[45]='GetOpenedTopView'
;   K[46]='_GetViewGoFromViewData'
;   K[47]='_GetTopViewSortingOrder'
;   K[48]='GetOpenedTopViewByType'
;   K[49]='GetOpenedViewByName'
;   K[50]='_GetView'
;   K[51]='IsViewExisting'
;   K[52]='IsViewOpen'
;   K[53]='GetOpenedViewCountByType'
;   K[54]='GetCanvasSize'
;   K[55]='GetCanvasRoot'
;   K[56]='GetCanvas'
;   K[57]='OnSceneChange'
;   K[58]='OnGameModeChange'
;   K[59]='LoadComponent'
;   K[60]='_CheckViewNameValid'
;   K[61]='SetEventLock'
;   K[62]='UpdateEventLockRect'
;   K[63]='_AddEventLockCallback'
;   K[64]='_RemoveEventLockCallback'
;   K[65]='OnEventLockMaskClick'
;   K[66]='RemoveAllEventLocks'
;   K[67]='IsEventLock'
;   K[68]='SetEventLockUntilNextPopup'
;   K[69]='CancelEventLockUntilNextPopup'
;   K[70]='IsEventLockUntilNextPopup'
;   K[71]='OnChainPopuped'
;   K[72]='_GetViewState'
;   K[73]='_ShouldShowWindowMask'
;   K[74]='_UpdateWindowMask'
;   K[75]='ShowPromptWithKey'
;   K[76]='ShowPrompt'
;   K[77]='ShowTestPrompt'
;   K[78]='UIManager'
;   K[79]='GetCurrentPromptId'
;   K[80]='ShowMask'
;   K[81]='HideMask'
;   K[82]='IsMaskVisible'
;   K[83]='OpenTip'
;   K[84]='HideTip'
;   K[85]='RegisterTip'
;   K[86]='UnregisterTip'
;   K[87]='HideTestInfo'
;   K[88]='CanShowTestUI'
;   upvals: _ENV
;   locals: arrValidStateInSequence(9-235), (for generator)(12-22), (for state)(12-22), (for control)(12-22), _(13-20), state(13-20), DEFAULT_WINDOW_MASK_ALPHA(27-235), PropertyAnimationManager(28-235)
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABLE  R0[K1('Invalid')] = K2(-1)
0002  SETTABLE  R0[K3('Cached')] = K4(0)
0003  SETTABLE  R0[K5('WaitingOpen')] = K6(1)
0004  SETTABLE  R0[K7('Loading')] = K8(2)
0005  SETTABLE  R0[K9('Opened')] = K10(3)
0006  SETTABLE  R0[K11('Closing')] = K12(4)
0007  SETTABUP  _ENV[K0('EViewState')] = R0
0008  NEWTABLE  R0 = {} (0 items)
0009  GETTABUP  R1 = _ENV[K13('pairs')]
0010  GETTABUP  R2 = _ENV[K0('EViewState')]
0011  CALL      R1 = call(R1, 3 args, 1 rets)
0012  JMP       (jump)   -> 20
0013  GETTABUP  R6 = _ENV[K0('EViewState')]
0014  GETTABLE  R6 = R6[K1('Invalid')]
0015  EQ        if R1 eq R6   -> -128489
0016  JMP       (jump)   -> 20
0017  LEN       R6 = len R0
0018  ADD       R6 = K6(1) add R6
0019  SETTABLE  R0[R6] = R5
0020  TFORCALL  tforcall R1
0021  TFORLOOP  tforloop R3(sBx=-9)   -> 13
0022  GETTABUP  R1 = _ENV[K14('table')]
0023  GETTABLE  R1 = R1[K15('sort')]
0024  MOVE      R2 = R0
0025  CALL      R1 = call(R1, 0 args, 1 rets)
0026  LOADK     R1 = K16 0.6078431372549019
0027  GETTABUP  R2 = _ENV[K17('PropertyAnimationManager')]
0028  NEWTABLE  R3 = {} (0 items)
0029  SETTABUP  _ENV[K18('UIManager')] = R3
0030  GETTABUP  R3 = _ENV[K18('UIManager')]
0031  GETTABUP  R4 = _ENV[K18('UIManager')]
0032  SETTABLE  R3[K19('__index')] = R4
0033  GETTABUP  R3 = _ENV[K18('UIManager')]
0034  CLOSURE   R4 = closure proto0
0035  SETTABLE  R3[K20('Awake')] = R4
0036  GETTABUP  R3 = _ENV[K21('UIManager')]
0037  CLOSURE   R4 = closure proto1
0038  SETTABLE  R3[K22('Start')] = R4
0039  GETTABUP  R3 = _ENV[K21('UIManager')]
0040  CLOSURE   R4 = closure proto2
0041  SETTABLE  R3[K23('Destroy')] = R4
0042  GETTABUP  R3 = _ENV[K21('UIManager')]
0043  CLOSURE   R4 = closure proto3
0044  SETTABLE  R3[K24('_OnGameModeChanged')] = R4
0045  GETTABUP  R3 = _ENV[K21('UIManager')]
0046  CLOSURE   R4 = closure proto4
0047  SETTABLE  R3[K25('UpdateInfoText')] = R4
0048  GETTABUP  R3 = _ENV[K21('UIManager')]
0049  CLOSURE   R4 = closure proto5
0050  SETTABLE  R3[K26('Update')] = R4
0051  GETTABUP  R3 = _ENV[K21('UIManager')]
0052  CLOSURE   R4 = closure proto6
0053  SETTABLE  R3[K27('OnBack')] = R4
0054  GETTABUP  R3 = _ENV[K21('UIManager')]
0055  CLOSURE   R4 = closure proto7
0056  SETTABLE  R3[K28('_ResetViewData')] = R4
0057  GETTABUP  R3 = _ENV[K21('UIManager')]
0058  CLOSURE   R4 = closure proto8
0059  SETTABLE  R3[K29('_UpdateViewData')] = R4
0060  GETTABUP  R3 = _ENV[K21('UIManager')]
0061  CLOSURE   R4 = closure proto9
0062  SETTABLE  R3[K30('_UpdateInputMultiTouch')] = R4
0063  GETTABUP  R3 = _ENV[K21('UIManager')]
0064  CLOSURE   R4 = closure proto10
0065  SETTABLE  R3[K31('_AddLoadingViewData')] = R4
0066  GETTABUP  R3 = _ENV[K21('UIManager')]
0067  CLOSURE   R4 = closure proto11
0068  SETTABLE  R3[K32('_PollWaitingOpenViewData')] = R4
0069  GETTABUP  R3 = _ENV[K21('UIManager')]
0070  CLOSURE   R4 = closure proto12
0071  SETTABLE  R3[K33('_RemoveClosingViewData')] = R4
0072  GETTABUP  R3 = _ENV[K21('UIManager')]
0073  CLOSURE   R4 = closure proto13
0074  SETTABLE  R3[K34('_ShiftViewData')] = R4
0075  GETTABUP  R3 = _ENV[K21('UIManager')]
0076  CLOSURE   R4 = closure proto14
0077  SETTABLE  R3[K35('OpenViewWhenIdle')] = R4
0078  GETTABUP  R3 = _ENV[K21('UIManager')]
0079  CLOSURE   R4 = closure proto15
0080  SETTABLE  R3[K36('OpenView')] = R4
0081  GETTABUP  R3 = _ENV[K21('UIManager')]
0082  CLOSURE   R4 = closure proto16
0083  SETTABLE  R3[K37('_LoadView')] = R4
0084  GETTABUP  R3 = _ENV[K21('UIManager')]
0085  CLOSURE   R4 = closure proto17
0086  SETTABLE  R3[K38('_ReOpenView')] = R4
0087  GETTABUP  R3 = _ENV[K21('UIManager')]
0088  CLOSURE   R4 = closure proto18
0089  SETTABLE  R3[K39('_OnViewOpen')] = R4
0090  GETTABUP  R3 = _ENV[K21('UIManager')]
0091  CLOSURE   R4 = closure proto19
0092  SETTABLE  R3[K40('_SetSortingOrder')] = R4
0093  GETTABUP  R3 = _ENV[K21('UIManager')]
0094  CLOSURE   R4 = closure proto20
0095  SETTABLE  R3[K41('GetDeltaSortingOrder')] = R4
0096  GETTABUP  R3 = _ENV[K21('UIManager')]
0097  CLOSURE   R4 = closure proto21
0098  SETTABLE  R3[K42('CloseView')] = R4
0099  GETTABUP  R3 = _ENV[K21('UIManager')]
0100  CLOSURE   R4 = closure proto22
0101  SETTABLE  R3[K43('OnViewCloseFinish')] = R4
0102  GETTABUP  R3 = _ENV[K21('UIManager')]
0103  CLOSURE   R4 = closure proto23
0104  SETTABLE  R3[K44('CloseAllOpenedWindow')] = R4
0105  GETTABUP  R3 = _ENV[K21('UIManager')]
0106  CLOSURE   R4 = closure proto24
0107  SETTABLE  R3[K45('GetOpenedTopView')] = R4
0108  GETTABUP  R3 = _ENV[K21('UIManager')]
0109  CLOSURE   R4 = closure proto25
0110  SETTABLE  R3[K46('_GetViewGoFromViewData')] = R4
0111  GETTABUP  R3 = _ENV[K21('UIManager')]
0112  CLOSURE   R4 = closure proto26
0113  SETTABLE  R3[K47('_GetTopViewSortingOrder')] = R4
0114  GETTABUP  R3 = _ENV[K21('UIManager')]
0115  CLOSURE   R4 = closure proto27
0116  SETTABLE  R3[K48('GetOpenedTopViewByType')] = R4
0117  GETTABUP  R3 = _ENV[K21('UIManager')]
0118  CLOSURE   R4 = closure proto28
0119  SETTABLE  R3[K49('GetOpenedViewByName')] = R4
0120  GETTABUP  R3 = _ENV[K21('UIManager')]
0121  CLOSURE   R4 = closure proto29
0122  SETTABLE  R3[K50('_GetView')] = R4
0123  GETTABUP  R3 = _ENV[K21('UIManager')]
0124  CLOSURE   R4 = closure proto30
0125  SETTABLE  R3[K51('IsViewExisting')] = R4
0126  GETTABUP  R3 = _ENV[K21('UIManager')]
0127  CLOSURE   R4 = closure proto31
0128  SETTABLE  R3[K52('IsViewOpen')] = R4
0129  GETTABUP  R3 = _ENV[K21('UIManager')]
0130  CLOSURE   R4 = closure proto32
0131  SETTABLE  R3[K53('GetOpenedViewCountByType')] = R4
0132  GETTABUP  R3 = _ENV[K21('UIManager')]
0133  CLOSURE   R4 = closure proto33
0134  SETTABLE  R3[K54('GetCanvasSize')] = R4
0135  GETTABUP  R3 = _ENV[K21('UIManager')]
0136  CLOSURE   R4 = closure proto34
0137  SETTABLE  R3[K55('GetCanvasRoot')] = R4
0138  GETTABUP  R3 = _ENV[K21('UIManager')]
0139  CLOSURE   R4 = closure proto35
0140  SETTABLE  R3[K56('GetCanvas')] = R4
0141  GETTABUP  R3 = _ENV[K21('UIManager')]
0142  CLOSURE   R4 = closure proto36
0143  SETTABLE  R3[K57('OnSceneChange')] = R4
0144  GETTABUP  R3 = _ENV[K21('UIManager')]
0145  CLOSURE   R4 = closure proto37
0146  SETTABLE  R3[K58('OnGameModeChange')] = R4
0147  GETTABUP  R3 = _ENV[K21('UIManager')]
0148  CLOSURE   R4 = closure proto38
0149  SETTABLE  R3[K59('LoadComponent')] = R4
0150  GETTABUP  R3 = _ENV[K21('UIManager')]
0151  CLOSURE   R4 = closure proto39
0152  SETTABLE  R3[K60('_CheckViewNameValid')] = R4
0153  GETTABUP  R3 = _ENV[K21('UIManager')]
0154  CLOSURE   R4 = closure proto40
0155  SETTABLE  R3[K61('SetEventLock')] = R4
0156  GETTABUP  R3 = _ENV[K21('UIManager')]
0157  CLOSURE   R4 = closure proto41
0158  SETTABLE  R3[K62('UpdateEventLockRect')] = R4
0159  GETTABUP  R3 = _ENV[K21('UIManager')]
0160  CLOSURE   R4 = closure proto42
0161  SETTABLE  R3[K63('_AddEventLockCallback')] = R4
0162  GETTABUP  R3 = _ENV[K21('UIManager')]
0163  CLOSURE   R4 = closure proto43
0164  SETTABLE  R3[K64('_RemoveEventLockCallback')] = R4
0165  GETTABUP  R3 = _ENV[K21('UIManager')]
0166  CLOSURE   R4 = closure proto44
0167  SETTABLE  R3[K65('OnEventLockMaskClick')] = R4
0168  GETTABUP  R3 = _ENV[K21('UIManager')]
0169  CLOSURE   R4 = closure proto45
0170  SETTABLE  R3[K66('RemoveAllEventLocks')] = R4
0171  GETTABUP  R3 = _ENV[K21('UIManager')]
0172  CLOSURE   R4 = closure proto46
0173  SETTABLE  R3[K67('IsEventLock')] = R4
0174  GETTABUP  R3 = _ENV[K21('UIManager')]
0175  CLOSURE   R4 = closure proto47
0176  SETTABLE  R3[K68('SetEventLockUntilNextPopup')] = R4
0177  GETTABUP  R3 = _ENV[K21('UIManager')]
0178  CLOSURE   R4 = closure proto48
0179  SETTABLE  R3[K69('CancelEventLockUntilNextPopup')] = R4
0180  GETTABUP  R3 = _ENV[K21('UIManager')]
0181  CLOSURE   R4 = closure proto49
0182  SETTABLE  R3[K70('IsEventLockUntilNextPopup')] = R4
0183  GETTABUP  R3 = _ENV[K21('UIManager')]
0184  CLOSURE   R4 = closure proto50
0185  SETTABLE  R3[K71('OnChainPopuped')] = R4
0186  GETTABUP  R3 = _ENV[K21('UIManager')]
0187  CLOSURE   R4 = closure proto51
0188  SETTABLE  R3[K72('_GetViewState')] = R4
0189  GETTABUP  R3 = _ENV[K21('UIManager')]
0190  CLOSURE   R4 = closure proto52
0191  SETTABLE  R3[K73('_ShouldShowWindowMask')] = R4
0192  GETTABUP  R3 = _ENV[K21('UIManager')]
0193  CLOSURE   R4 = closure proto53
0194  SETTABLE  R3[K74('_UpdateWindowMask')] = R4
0195  GETTABUP  R3 = _ENV[K21('UIManager')]
0196  CLOSURE   R4 = closure proto54
0197  SETTABLE  R3[K75('ShowPromptWithKey')] = R4
0198  GETTABUP  R3 = _ENV[K21('UIManager')]
0199  CLOSURE   R4 = closure proto55
0200  SETTABLE  R3[K76('ShowPrompt')] = R4
0201  GETTABUP  R3 = _ENV[K21('UIManager')]
0202  CLOSURE   R4 = closure proto56
0203  SETTABLE  R3[K77('ShowTestPrompt')] = R4
0204  GETTABUP  R3 = _ENV[K78('UIManager')]
0205  CLOSURE   R4 = closure proto57
0206  SETTABLE  R3[K79('GetCurrentPromptId')] = R4
0207  GETTABUP  R3 = _ENV[K78('UIManager')]
0208  CLOSURE   R4 = closure proto58
0209  SETTABLE  R3[K80('ShowMask')] = R4
0210  GETTABUP  R3 = _ENV[K78('UIManager')]
0211  CLOSURE   R4 = closure proto59
0212  SETTABLE  R3[K81('HideMask')] = R4
0213  GETTABUP  R3 = _ENV[K78('UIManager')]
0214  CLOSURE   R4 = closure proto60
0215  SETTABLE  R3[K82('IsMaskVisible')] = R4
0216  GETTABUP  R3 = _ENV[K78('UIManager')]
0217  CLOSURE   R4 = closure proto61
0218  SETTABLE  R3[K83('OpenTip')] = R4
0219  GETTABUP  R3 = _ENV[K78('UIManager')]
0220  CLOSURE   R4 = closure proto62
0221  SETTABLE  R3[K84('HideTip')] = R4
0222  GETTABUP  R3 = _ENV[K78('UIManager')]
0223  CLOSURE   R4 = closure proto63
0224  SETTABLE  R3[K85('RegisterTip')] = R4
0225  GETTABUP  R3 = _ENV[K78('UIManager')]
0226  CLOSURE   R4 = closure proto64
0227  SETTABLE  R3[K86('UnregisterTip')] = R4
0228  GETTABUP  R3 = _ENV[K78('UIManager')]
0229  CLOSURE   R4 = closure proto65
0230  SETTABLE  R3[K87('HideTestInfo')] = R4
0231  GETTABUP  R3 = _ENV[K78('UIManager')]
0232  CLOSURE   R4 = closure proto66
0233  SETTABLE  R3[K88('CanShowTestUI')] = R4
0234  RETURN    return R0..R-1
; ---------- proto0 [Awake] ----------
  ; fn ?  line 59-125 np=1 va=0 ms=7 code=84 consts=42 upvals=1 protos=3
  ;   K[0]='GM'
  ;   K[1]='AddSingleton'
  ;   K[2]='UIManager'
  ;   K[3]='UpdateInfoText'
  ;   K[4]='_ResetViewData'
  ;   K[5]='m_lockCountWithoutTarget'
  ;   K[6]=0
  ;   K[7]='m_lockTargetCountMap'
  ;   K[8]='m_mapEventLockCallback'
  ;   K[9]='m_promptManager'
  ;   K[10]='PromptManager'
  ;   K[11]='Create'
  ;   K[12]='m_tipManager'
  ;   K[13]='TipManager'
  ;   K[14]='UIUtil'
  ;   K[15]='SetActive'
  ;   K[16]='m_maskLayer'
  ;   K[17]='gameObject'
  ;   K[18]='HideMask'
  ;   K[19]='m_bWindowMaskOn'
  ;   K[20]=false
  ;   K[21]='m_iClickIndex'
  ;   K[22]='m_windowMaskEventTrigger'
  ;   K[23]='OnLuaPointerClick'
  ;   K[24]='GameConfig'
  ;   K[25]='IsTestMode'
  ;   K[26]='ResourceLoader'
  ;   K[27]='LoadPrefab'
  ;   K[28]='DataResource'
  ;   K[29]='UIPrefabConfig'
  ;   K[30]='GetConfig'
  ;   K[31]='UIPrefabConfigName'
  ;   K[32]='TestMaskButton'
  ;   K[33]='GetCanvasRoot'
  ;   K[34]='Vector3'
  ;   K[35]='zero'
  ;   K[36]='TestServerTimeText'
  ;   K[37]='EventDispatcher'
  ;   K[38]='AddListener'
  ;   K[39]='EEventType'
  ;   K[40]='ChangeGameMode'
  ;   K[41]='_OnGameModeChanged'
  ;   upvals: _ENV
  ;   locals: self(0-84)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  SELF      R2 = R1[K1('AddSingleton')] (self)
  0002  LOADK     R3 = K2 'UIManager'
  0003  MOVE      R4 = R0
  0004  CALL      R1 = call(R1, 0 args, 3 rets)
  0005  SELF      R2 = R0[K3('UpdateInfoText')] (self)
  0006  CALL      R1 = call(R1, 0 args, 1 rets)
  0007  SELF      R2 = R0[K4('_ResetViewData')] (self)
  0008  CALL      R1 = call(R1, 0 args, 1 rets)
  0009  SETTABLE  R0[K5('m_lockCountWithoutTarget')] = K6(0)
  0010  NEWTABLE  R1 = {} (0 items)
  0011  SETTABLE  R0[K7('m_lockTargetCountMap')] = R1
  0012  NEWTABLE  R1 = {} (0 items)
  0013  SETTABLE  R0[K8('m_mapEventLockCallback')] = R1
  0014  GETTABUP  R1 = _ENV[K10('PromptManager')]
  0015  GETTABLE  R1 = R1[K11('Create')]
  0016  CALL      R1 = call(R1, 1 args, 0 rets)
  0017  SETTABLE  R0[K9('m_promptManager')] = R1
  0018  GETTABUP  R1 = _ENV[K13('TipManager')]
  0019  GETTABLE  R1 = R1[K11('Create')]
  0020  CALL      R1 = call(R1, 1 args, 0 rets)
  0021  SETTABLE  R0[K12('m_tipManager')] = R1
  0022  GETTABUP  R1 = _ENV[K14('UIUtil')]
  0023  GETTABLE  R1 = R1[K15('SetActive')]
  0024  GETTABLE  R2 = R0[K16('m_maskLayer')]
  0025  GETTABLE  R2 = R2[K17('gameObject')]
  0026  LOADBOOL  R3 = true
  0027  CALL      R1 = call(R1, 0 args, 2 rets)
  0028  SELF      R2 = R0[K18('HideMask')] (self)
  0029  CALL      R1 = call(R1, 0 args, 1 rets)
  0030  SETTABLE  R0[K19('m_bWindowMaskOn')] = K20(false)
  0031  SETTABLE  R0[K21('m_iClickIndex')] = K6(0)
  0032  GETTABLE  R1 = R0[K22('m_windowMaskEventTrigger')]
  0033  CLOSURE   R2 = closure proto0
  0034  SETTABLE  R1[K23('OnLuaPointerClick')] = R2
  0035  GETTABUP  R1 = _ENV[K24('GameConfig')]
  0036  GETTABLE  R1 = R1[K25('IsTestMode')]
  0037  CALL      R1 = call(R1, 1 args, 0 rets)
  0038  TEST      if not R1 then   -> -131032
  0039  JMP       (jump)   -> 76
  0040  GETTABUP  R1 = _ENV[K0('GM')]
  0041  GETTABLE  R1 = R1[K26('ResourceLoader')]
  0042  SELF      R2 = R1[K27('LoadPrefab')] (self)
  0043  GETTABUP  R3 = _ENV[K0('GM')]
  0044  GETTABLE  R3 = R3[K28('DataResource')]
  0045  GETTABLE  R3 = R3[K29('UIPrefabConfig')]
  0046  SELF      R4 = R3[K30('GetConfig')] (self)
  0047  GETTABUP  R5 = _ENV[K31('UIPrefabConfigName')]
  0048  GETTABLE  R5 = R5[K32('TestMaskButton')]
  0049  CALL      R3 = call(R3, 1 args, 2 rets)
  0050  GETTABUP  R4 = _ENV[K0('GM')]
  0051  GETTABLE  R4 = R4[K2('UIManager')]
  0052  SELF      R5 = R4[K33('GetCanvasRoot')] (self)
  0053  CALL      R4 = call(R4, 1 args, 1 rets)
  0054  GETTABUP  R5 = _ENV[K34('Vector3')]
  0055  GETTABLE  R5 = R5[K35('zero')]
  0056  CLOSURE   R6 = closure proto1
  0057  CALL      R1 = call(R1, 0 args, 5 rets)
  0058  GETTABUP  R1 = _ENV[K0('GM')]
  0059  GETTABLE  R1 = R1[K26('ResourceLoader')]
  0060  SELF      R2 = R1[K27('LoadPrefab')] (self)
  0061  GETTABUP  R3 = _ENV[K0('GM')]
  0062  GETTABLE  R3 = R3[K28('DataResource')]
  0063  GETTABLE  R3 = R3[K29('UIPrefabConfig')]
  0064  SELF      R4 = R3[K30('GetConfig')] (self)
  0065  GETTABUP  R5 = _ENV[K31('UIPrefabConfigName')]
  0066  GETTABLE  R5 = R5[K36('TestServerTimeText')]
  0067  CALL      R3 = call(R3, 1 args, 2 rets)
  0068  GETTABUP  R4 = _ENV[K0('GM')]
  0069  GETTABLE  R4 = R4[K2('UIManager')]
  0070  SELF      R5 = R4[K33('GetCanvasRoot')] (self)
  0071  CALL      R4 = call(R4, 1 args, 1 rets)
  0072  GETTABUP  R5 = _ENV[K34('Vector3')]
  0073  GETTABLE  R5 = R5[K35('zero')]
  0074  CLOSURE   R6 = closure proto2
  0075  CALL      R1 = call(R1, 0 args, 5 rets)
  0076  GETTABUP  R1 = _ENV[K37('EventDispatcher')]
  0077  GETTABLE  R1 = R1[K38('AddListener')]
  0078  GETTABUP  R2 = _ENV[K39('EEventType')]
  0079  GETTABLE  R2 = R2[K40('ChangeGameMode')]
  0080  MOVE      R3 = R0
  0081  GETTABLE  R4 = R0[K41('_OnGameModeChanged')]
  0082  CALL      R1 = call(R1, 0 args, 3 rets)
  0083  RETURN    return R0..R-1
  ; ---------- proto0 [OnLuaPointerClick] ----------
    ; fn ?  line 76-110 np=1 va=0 ms=14 code=128 consts=40 upvals=2 protos=0
    ;   K[0]='Log'
    ;   K[1]='Info'
    ;   K[2]='OnMaskClicked'
    ;   K[3]='GetOpenedTopViewByType'
    ;   K[4]='EViewType'
    ;   K[5]='Window'
    ;   K[6]='OnMaskClicked, '
    ;   K[7]='name'
    ;   K[8]='nil'
    ;   K[9]='canClickWindowMask'
    ;   K[10]='OnWindowMaskClicked'
    ;   K[11]='m_windowMaskImg'
    ;   K[12]='rectTransform'
    ;   K[13]='rect'
    ;   K[14]='width'
    ;   K[15]=2
    ;   K[16]='height'
    ;   K[17]='PositionUtil'
    ;   K[18]='UICameraScreen2World'
    ;   K[19]='position'
    ;   K[20]='math'
    ;   K[21]='abs'
    ;   K[22]='x'
    ;   K[23]=150
    ;   K[24]='y'
    ;   K[25]='m_iClickIndex'
    ;   K[26]=0
    ;   K[27]=1
    ;   K[28]=3
    ;   K[29]=4
    ;   K[30]='OpenView'
    ;   K[31]='UIPrefabConfigName'
    ;   K[32]='GeneralMsgWindow'
    ;   K[33]='+'
    ;   K[34]='CS'
    ;   K[35]='Crypt'
    ;   K[36]='CryptStringWithKey'
    ;   K[37]='yZ[D]_MX'
    ;   K[38]='43862986'
    ;   K[39]='OK'
    ;   upvals: _ENV, self
    ;   locals: eventData(0-128), topWindow(9-128), rectTrans(30-128), halfWidth(33-128), halfHeight(36-128), screenPos(40-128), isCorner(62-128)
    0000  GETTABUP  R1 = _ENV[K0('Log')]
    0001  GETTABLE  R1 = R1[K1('Info')]
    0002  LOADK     R2 = K2 'OnMaskClicked'
    0003  CALL      R1 = call(R1, 0 args, 1 rets)
    0004  GETUPVAL  R1 = _ENV
    0005  SELF      R2 = R1[K3('GetOpenedTopViewByType')] (self)
    0006  GETTABUP  R3 = _ENV[K4('EViewType')]
    0007  GETTABLE  R3 = R3[K5('Window')]
    0008  CALL      R1 = call(R1, 1 args, 2 rets)
    0009  TEST      if not R1 then   -> -131061
    0010  JMP       (jump)   -> 20
    0011  GETTABUP  R2 = _ENV[K0('Log')]
    0012  GETTABLE  R2 = R2[K1('Info')]
    0013  LOADK     R3 = K6 'OnMaskClicked, '
    0014  GETTABLE  R4 = R1[K7('name')]
    0015  CONCAT    R3 = concat(R3..R3)
    0016  TEST      if not R3 then   -> -131053
    0017  JMP       (jump)   -> 19
    0018  LOADK     R3 = K8 'nil'
    0019  CALL      R2 = call(R2, 0 args, 1 rets)
    0020  TEST      if not R1 then   -> -131050
    0021  JMP       (jump)   -> 28
    0022  GETTABLE  R2 = R1[K9('canClickWindowMask')]
    0023  TEST      if not R2 then   -> -131047
    0024  JMP       (jump)   -> 28
    0025  SELF      R3 = R1[K10('OnWindowMaskClicked')] (self)
    0026  CALL      R2 = call(R2, 0 args, 1 rets)
    0027  RETURN    return R0..R-1
    0028  GETTABUP  R2 = self[K11('m_windowMaskImg')]
    0029  GETTABLE  R2 = R2[K12('rectTransform')]
    0030  GETTABLE  R3 = R2[K13('rect')]
    0031  GETTABLE  R3 = R3[K14('width')]
    0032  DIV       R3 = K15(2) div R3
    0033  GETTABLE  R4 = R2[K13('rect')]
    0034  GETTABLE  R4 = R4[K16('height')]
    0035  DIV       R4 = K15(2) div R4
    0036  GETTABUP  R5 = _ENV[K17('PositionUtil')]
    0037  GETTABLE  R5 = R5[K18('UICameraScreen2World')]
    0038  GETTABLE  R6 = R0[K19('position')]
    0039  CALL      R5 = call(R5, 1 args, 1 rets)
    0040  GETTABUP  R6 = _ENV[K20('math')]
    0041  GETTABLE  R6 = R6[K21('abs')]
    0042  GETTABUP  R7 = _ENV[K20('math')]
    0043  GETTABLE  R7 = R7[K21('abs')]
    0044  GETTABLE  R8 = R5[K22('x')]
    0045  CALL      R7 = call(R7, 1 args, 1 rets)
    0046  SUB       R7 = R3 sub R7
    0047  CALL      R6 = call(R6, 1 args, 1 rets)
    0048  LT        if R0 lt K23(150)   -> -127671
    0049  JMP       (jump)   -> 60
    0050  GETTABUP  R6 = _ENV[K20('math')]
    0051  GETTABLE  R6 = R6[K21('abs')]
    0052  GETTABUP  R7 = _ENV[K20('math')]
    0053  GETTABLE  R7 = R7[K21('abs')]
    0054  GETTABLE  R8 = R5[K24('y')]
    0055  CALL      R7 = call(R7, 1 args, 1 rets)
    0056  SUB       R7 = R4 sub R7
    0057  CALL      R6 = call(R6, 1 args, 1 rets)
    0058  LT        if R1 lt K23(150)   -> -127661
    0059  JMP       (jump)   -> 61
    0060  LOADBOOL  R6 = false
    0061  LOADBOOL  R6 = true
    0062  TEST      if not R6 then   -> -131007
    0063  JMP       (jump)   -> 66
    0064  SETTABUP  self[K25('m_iClickIndex')] = K26(0)
    0065  RETURN    return R0..R-1
    0066  GETTABUP  R7 = self[K25('m_iClickIndex')]
    0067  EQ        if R1 eq K26(0)   -> -127137
    0068  JMP       (jump)   -> 72
    0069  GETTABUP  R7 = self[K25('m_iClickIndex')]
    0070  EQ        if R0 eq K27(1)   -> -127133
    0071  JMP       (jump)   -> 80
    0072  GETTABLE  R7 = R5[K22('x')]
    0073  LT        if R0 lt K26(0)   -> -127131
    0074  JMP       (jump)   -> 80
    0075  GETTABLE  R7 = R5[K24('y')]
    0076  LT        if R0 lt K26(0)   -> -127128
    0077  JMP       (jump)   -> 80
    0078  SETTABUP  self[K25('m_iClickIndex')] = K27(1)
    0079  JMP       (jump)   -> 127
    0080  GETTABUP  R7 = self[K25('m_iClickIndex')]
    0081  EQ        if R0 eq K27(1)   -> -127122
    0082  JMP       (jump)   -> 91
    0083  GETTABLE  R7 = R5[K22('x')]
    0084  LT        if R0 lt K26(0)   -> -127120
    0085  JMP       (jump)   -> 91
    0086  GETTABLE  R7 = R5[K24('y')]
    0087  LT        if R0 lt R7   -> 13408
    0088  JMP       (jump)   -> 91
    0089  SETTABUP  self[K25('m_iClickIndex')] = K15(2)
    0090  JMP       (jump)   -> 127
    0091  GETTABUP  R7 = self[K25('m_iClickIndex')]
    0092  EQ        if R0 eq K15(2)   -> -127123
    0093  JMP       (jump)   -> 102
    0094  GETTABLE  R7 = R5[K22('x')]
    0095  LT        if R0 lt R7   -> 13416
    0096  JMP       (jump)   -> 102
    0097  GETTABLE  R7 = R5[K24('y')]
    0098  LT        if R0 lt K26(0)   -> -127106
    0099  JMP       (jump)   -> 102
    0100  SETTABUP  self[K25('m_iClickIndex')] = K28(3)
    0101  JMP       (jump)   -> 127
    0102  GETTABUP  R7 = self[K25('m_iClickIndex')]
    0103  EQ        if R0 eq K28(3)   -> -127099
    0104  JMP       (jump)   -> 126
    0105  GETTABLE  R7 = R5[K22('x')]
    0106  LT        if R0 lt K26(0)   -> -127098
    0107  JMP       (jump)   -> 126
    0108  GETTABLE  R7 = R5[K24('y')]
    0109  LT        if R0 lt K26(0)   -> -127095
    0110  JMP       (jump)   -> 126
    0111  SETTABUP  self[K25('m_iClickIndex')] = K29(4)
    0112  GETUPVAL  R7 = _ENV
    0113  SELF      R8 = R7[K30('OpenView')] (self)
    0114  GETTABUP  R9 = _ENV[K31('UIPrefabConfigName')]
    0115  GETTABLE  R9 = R9[K32('GeneralMsgWindow')]
    0116  LOADK     R10 = K33 '+'
    0117  GETTABUP  R11 = _ENV[K34('CS')]
    0118  GETTABLE  R11 = R11[K35('Crypt')]
    0119  GETTABLE  R11 = R11[K36('CryptStringWithKey')]
    0120  LOADK     R12 = K37 'yZ[D]_MX'
    0121  LOADK     R13 = K38 '43862986'
    0122  CALL      R11 = call(R11, 1 args, 2 rets)
    0123  LOADK     R12 = K39 'OK'
    0124  CALL      R7 = call(R7, 0 args, 5 rets)
    0125  JMP       (jump)   -> 127
    0126  SETTABUP  self[K25('m_iClickIndex')] = K26(0)
    0127  RETURN    return R0..R-1
  ; ---------- proto1 [] ----------
    ; fn ?  line 113-116 np=1 va=0 ms=3 code=5 consts=4 upvals=2 protos=0
    ;   K[0]='transform'
    ;   K[1]='anchoredPosition3D'
    ;   K[2]='V3Zero'
    ;   K[3]='m_testMaskBtnGo'
    ;   upvals: _ENV, self
    ;   locals: go(0-5)
    0000  GETTABLE  R1 = R0[K0('transform')]
    0001  GETTABUP  R2 = _ENV[K2('V3Zero')]
    0002  SETTABLE  R1[K1('anchoredPosition3D')] = R2
    0003  SETTABUP  self[K3('m_testMaskBtnGo')] = R0
    0004  RETURN    return R0..R-1
  ; ---------- proto2 [] ----------
    ; fn ?  line 117-120 np=1 va=0 ms=6 code=9 consts=7 upvals=2 protos=0
    ;   K[0]='transform'
    ;   K[1]='anchoredPosition3D'
    ;   K[2]='Vector3'
    ;   K[3]=425
    ;   K[4]=-25
    ;   K[5]=0
    ;   K[6]='m_testServerTimeTextGo'
    ;   upvals: _ENV, self
    ;   locals: go(0-9)
    0000  GETTABLE  R1 = R0[K0('transform')]
    0001  GETTABUP  R2 = _ENV[K2('Vector3')]
    0002  LOADK     R3 = K3 425
    0003  LOADK     R4 = K4 -25
    0004  LOADK     R5 = K5 0
    0005  CALL      R2 = call(R2, 1 args, 3 rets)
    0006  SETTABLE  R1[K1('anchoredPosition3D')] = R2
    0007  SETTABUP  self[K6('m_testServerTimeTextGo')] = R0
    0008  RETURN    return R0..R-1
; ---------- proto1 [Start] ----------
  ; fn ?  line 127-129 np=1 va=0 ms=2 code=4 consts=3 upvals=0 protos=0
  ;   K[0]='m_canvasSize'
  ;   K[1]='m_scaler'
  ;   K[2]='referenceResolution'
  ;   locals: self(0-4)
  0000  GETTABLE  R1 = R0[K1('m_scaler')]
  0001  GETTABLE  R1 = R1[K2('referenceResolution')]
  0002  SETTABLE  R0[K0('m_canvasSize')] = R1
  0003  RETURN    return R0..R-1
; ---------- proto2 [Destroy] ----------
  ; fn ?  line 131-135 np=1 va=0 ms=3 code=11 consts=6 upvals=1 protos=0
  ;   K[0]='gameObject'
  ;   K[1]='RemoveSelf'
  ;   K[2]='EventDispatcher'
  ;   K[3]='RemoveTarget'
  ;   K[4]='m_tipManager'
  ;   K[5]='Destroy'
  ;   upvals: _ENV
  ;   locals: self(0-11)
  0000  GETTABLE  R1 = R0[K0('gameObject')]
  0001  SELF      R2 = R1[K1('RemoveSelf')] (self)
  0002  CALL      R1 = call(R1, 0 args, 1 rets)
  0003  GETTABUP  R1 = _ENV[K2('EventDispatcher')]
  0004  GETTABLE  R1 = R1[K3('RemoveTarget')]
  0005  MOVE      R2 = R0
  0006  CALL      R1 = call(R1, 0 args, 1 rets)
  0007  GETTABLE  R1 = R0[K4('m_tipManager')]
  0008  SELF      R2 = R1[K5('Destroy')] (self)
  0009  CALL      R1 = call(R1, 0 args, 1 rets)
  0010  RETURN    return R0..R-1
; ---------- proto3 [_OnGameModeChanged] ----------
  ; fn ?  line 137-145 np=1 va=0 ms=9 code=23 consts=9 upvals=1 protos=0
  ;   K[0]='Table'
  ;   K[1]='ShallowCopy'
  ;   K[2]='m_mapViewDataList'
  ;   K[3]='EViewState'
  ;   K[4]='Opened'
  ;   K[5]='ipairs'
  ;   K[6]='view'
  ;   K[7]='OnGameModeChangeInBaseWindow'
  ;   K[8]='UpdateInfoText'
  ;   upvals: _ENV
  ;   locals: self(0-23), arrOpenedViews(7-23), (for generator)(10-20), (for state)(10-20), (for control)(10-20), _(11-18), viewData(11-18)
  0000  GETTABUP  R1 = _ENV[K0('Table')]
  0001  GETTABLE  R1 = R1[K1('ShallowCopy')]
  0002  GETTABLE  R2 = R0[K2('m_mapViewDataList')]
  0003  GETTABUP  R3 = _ENV[K3('EViewState')]
  0004  GETTABLE  R3 = R3[K4('Opened')]
  0005  GETTABLE  R2 = R2[R3]
  0006  CALL      R1 = call(R1, 1 args, 1 rets)
  0007  GETTABUP  R2 = _ENV[K5('ipairs')]
  0008  MOVE      R3 = R0
  0009  CALL      R2 = call(R2, 3 args, 1 rets)
  0010  JMP       (jump)   -> 18
  0011  GETTABLE  R7 = R6[K6('view')]
  0012  GETTABLE  R7 = R7[K7('OnGameModeChangeInBaseWindow')]
  0013  TEST      if not R7 then   -> -131057
  0014  JMP       (jump)   -> 18
  0015  GETTABLE  R7 = R6[K6('view')]
  0016  SELF      R8 = R7[K7('OnGameModeChangeInBaseWindow')] (self)
  0017  CALL      R7 = call(R7, 0 args, 1 rets)
  0018  TFORCALL  tforcall R2
  0019  TFORLOOP  tforloop R4(sBx=-9)   -> 11
  0020  SELF      R3 = R0[K8('UpdateInfoText')] (self)
  0021  CALL      R2 = call(R2, 0 args, 1 rets)
  0022  RETURN    return R0..R-1
; ---------- proto4 [UpdateInfoText] ----------
  ; fn ?  line 147-150 np=1 va=0 ms=8 code=28 consts=15 upvals=1 protos=0
  ;   K[0]='m_debugInfo'
  ;   K[1]='gameObject'
  ;   K[2]='SetActive'
  ;   K[3]='GM'
  ;   K[4]='SceneManager'
  ;   K[5]='GetGameMode'
  ;   K[6]='EGameMode'
  ;   K[7]='Loading'
  ;   K[8]='SetInfo'
  ;   K[9]='v'
  ;   K[10]='GameConfig'
  ;   K[11]='GetCurrentVersion'
  ;   K[12]=' '
  ;   K[13]='UserModel'
  ;   K[14]='GetDisplayUserId'
  ;   upvals: _ENV
  ;   locals: self(0-28)
  0000  GETTABLE  R1 = R0[K0('m_debugInfo')]
  0001  GETTABLE  R1 = R1[K1('gameObject')]
  0002  SELF      R2 = R1[K2('SetActive')] (self)
  0003  GETTABUP  R3 = _ENV[K3('GM')]
  0004  GETTABLE  R3 = R3[K4('SceneManager')]
  0005  SELF      R4 = R3[K5('GetGameMode')] (self)
  0006  CALL      R3 = call(R3, 1 args, 1 rets)
  0007  GETTABUP  R4 = _ENV[K6('EGameMode')]
  0008  GETTABLE  R4 = R4[K7('Loading')]
  0009  EQ        if R0 eq R4   -> -129521
  0010  JMP       (jump)   -> 12
  0011  LOADBOOL  R3 = false
  0012  LOADBOOL  R3 = true
  0013  CALL      R1 = call(R1, 0 args, 2 rets)
  0014  GETTABLE  R1 = R0[K0('m_debugInfo')]
  0015  SELF      R2 = R1[K8('SetInfo')] (self)
  0016  LOADK     R3 = K9 'v'
  0017  GETTABUP  R4 = _ENV[K10('GameConfig')]
  0018  GETTABLE  R4 = R4[K11('GetCurrentVersion')]
  0019  CALL      R4 = call(R4, 1 args, 0 rets)
  0020  LOADK     R5 = K12 ' '
  0021  GETTABUP  R6 = _ENV[K3('GM')]
  0022  GETTABLE  R6 = R6[K13('UserModel')]
  0023  SELF      R7 = R6[K14('GetDisplayUserId')] (self)
  0024  CALL      R6 = call(R6, 1 args, 1 rets)
  0025  CONCAT    R3 = concat(R3..R3)
  0026  CALL      R1 = call(R1, 0 args, 2 rets)
  0027  RETURN    return R0..R-1
; ---------- proto5 [Update] ----------
  ; fn ?  line 152-162 np=1 va=0 ms=9 code=29 consts=15 upvals=1 protos=0
  ;   K[0]='m_bOpenWaitingWindow'
  ;   K[1]='UIUtil'
  ;   K[2]='IsUIWindowAutoPopupAllowed'
  ;   K[3]='_PollWaitingOpenViewData'
  ;   K[4]='OpenView'
  ;   K[5]='viewName'
  ;   K[6]='table'
  ;   K[7]='unpack'
  ;   K[8]='args'
  ;   K[9]=1
  ;   K[10]='n'
  ;   K[11]='shouldClearResources'
  ;   K[12]='ResourceLoader'
  ;   K[13]='ClearUnusedAssets'
  ;   K[14]=false
  ;   upvals: _ENV
  ;   locals: self(0-29), viewData(11-21)
  0000  GETTABLE  R1 = R0[K0('m_bOpenWaitingWindow')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 21
  0003  GETTABUP  R1 = _ENV[K1('UIUtil')]
  0004  GETTABLE  R1 = R1[K2('IsUIWindowAutoPopupAllowed')]
  0005  LOADBOOL  R2 = true
  0006  CALL      R1 = call(R1, 1 args, 1 rets)
  0007  TEST      if not R1 then   -> -131063
  0008  JMP       (jump)   -> 21
  0009  SELF      R2 = R0[K3('_PollWaitingOpenViewData')] (self)
  0010  CALL      R1 = call(R1, 1 args, 1 rets)
  0011  SELF      R3 = R0[K4('OpenView')] (self)
  0012  GETTABLE  R4 = R1[K5('viewName')]
  0013  GETTABUP  R5 = _ENV[K6('table')]
  0014  GETTABLE  R5 = R5[K7('unpack')]
  0015  GETTABLE  R6 = R1[K8('args')]
  0016  LOADK     R7 = K9 1
  0017  GETTABLE  R8 = R1[K8('args')]
  0018  GETTABLE  R8 = R8[K10('n')]
  0019  CALL      R5 = call(R5, -1 args, 3 rets)
  0020  CALL      R2 = call(R2, 0 args, -1 rets)
  0021  GETTABLE  R1 = R0[K11('shouldClearResources')]
  0022  TEST      if not R1 then   -> -131048
  0023  JMP       (jump)   -> 28
  0024  GETTABUP  R1 = _ENV[K12('ResourceLoader')]
  0025  GETTABLE  R1 = R1[K13('ClearUnusedAssets')]
  0026  CALL      R1 = call(R1, 0 args, 0 rets)
  0027  SETTABLE  R0[K11('shouldClearResources')] = K14(false)
  0028  RETURN    return R0..R-1
; ---------- proto6 [OnBack] ----------
  ; fn ?  line 164-204 np=1 va=0 ms=13 code=73 consts=24 upvals=1 protos=1
  ;   K[0]='m_isMaskVisible'
  ;   K[1]='IsEventLock'
  ;   K[2]='GM'
  ;   K[3]='TutorialModel'
  ;   K[4]='HasAnyStrongTutorialOngoing'
  ;   K[5]='GetOpenedTopView'
  ;   K[6]='OnBack'
  ;   K[7]='canCloseByAndroidBack'
  ;   K[8]='allWindowClosed'
  ;   K[9]='TimelineManager'
  ;   K[10]='IsPlayingTimeline'
  ;   K[11]='SceneManager'
  ;   K[12]='GetGameMode'
  ;   K[13]='EGameMode'
  ;   K[14]='Loading'
  ;   K[15]='Main'
  ;   K[16]='OpenView'
  ;   K[17]='UIPrefabConfigName'
  ;   K[18]='TwoButtonWindow'
  ;   K[19]='quit_window_title'
  ;   K[20]='quit_window_desc'
  ;   K[21]='quit_window_button_yes'
  ;   K[22]='quit_window_button_no'
  ;   K[23]='ChangeGameMode'
  ;   upvals: _ENV
  ;   locals: self(0-73), topView(18-73), eGameMode(42-72)
  0000  GETTABLE  R1 = R0[K0('m_isMaskVisible')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 4
  0003  RETURN    return R0..R-1
  0004  SELF      R2 = R0[K1('IsEventLock')] (self)
  0005  CALL      R1 = call(R1, 1 args, 1 rets)
  0006  TEST      if not R1 then   -> -131064
  0007  JMP       (jump)   -> 9
  0008  RETURN    return R0..R-1
  0009  GETTABUP  R1 = _ENV[K2('GM')]
  0010  GETTABLE  R1 = R1[K3('TutorialModel')]
  0011  SELF      R2 = R1[K4('HasAnyStrongTutorialOngoing')] (self)
  0012  CALL      R1 = call(R1, 1 args, 1 rets)
  0013  TEST      if not R1 then   -> -131057
  0014  JMP       (jump)   -> 16
  0015  RETURN    return R0..R-1
  0016  SELF      R2 = R0[K5('GetOpenedTopView')] (self)
  0017  CALL      R1 = call(R1, 1 args, 1 rets)
  0018  TEST      if not R1 then   -> -131052
  0019  JMP       (jump)   -> 29
  0020  GETTABLE  R2 = R1[K6('OnBack')]
  0021  TEST      if not R2 then   -> -131049
  0022  JMP       (jump)   -> 29
  0023  GETTABLE  R2 = R1[K7('canCloseByAndroidBack')]
  0024  TEST      if not R2 then   -> -131046
  0025  JMP       (jump)   -> 29
  0026  SELF      R3 = R1[K6('OnBack')] (self)
  0027  CALL      R2 = call(R2, 0 args, 1 rets)
  0028  JMP       (jump)   -> 72
  0029  GETTABLE  R2 = R0[K8('allWindowClosed')]
  0030  TEST      if not R2 then   -> -131040
  0031  JMP       (jump)   -> 72
  0032  GETTABUP  R2 = _ENV[K2('GM')]
  0033  GETTABLE  R2 = R2[K9('TimelineManager')]
  0034  SELF      R3 = R2[K10('IsPlayingTimeline')] (self)
  0035  CALL      R2 = call(R2, 1 args, 1 rets)
  0036  TEST      if not R2 then   -> -131033
  0037  JMP       (jump)   -> 72
  0038  GETTABUP  R2 = _ENV[K2('GM')]
  0039  GETTABLE  R2 = R2[K11('SceneManager')]
  0040  SELF      R3 = R2[K12('GetGameMode')] (self)
  0041  CALL      R2 = call(R2, 1 args, 1 rets)
  0042  GETTABUP  R3 = _ENV[K13('EGameMode')]
  0043  GETTABLE  R3 = R3[K14('Loading')]
  0044  EQ        if R1 eq R3   -> -129999
  0045  JMP       (jump)   -> 72
  0046  GETTABUP  R3 = _ENV[K2('GM')]
  0047  GETTABLE  R3 = R3[K11('SceneManager')]
  0048  SELF      R4 = R3[K12('GetGameMode')] (self)
  0049  CALL      R3 = call(R3, 1 args, 1 rets)
  0050  GETTABUP  R4 = _ENV[K13('EGameMode')]
  0051  GETTABLE  R4 = R4[K15('Main')]
  0052  EQ        if R0 eq R4   -> -129478
  0053  JMP       (jump)   -> 66
  0054  SELF      R4 = R0[K16('OpenView')] (self)
  0055  GETTABUP  R5 = _ENV[K17('UIPrefabConfigName')]
  0056  GETTABLE  R5 = R5[K18('TwoButtonWindow')]
  0057  LOADK     R6 = K19 'quit_window_title'
  0058  LOADK     R7 = K20 'quit_window_desc'
  0059  LOADK     R8 = K21 'quit_window_button_yes'
  0060  LOADK     R9 = K22 'quit_window_button_no'
  0061  CLOSURE   R10 = closure proto0
  0062  LOADNIL   R11..R11 = nil
  0063  LOADBOOL  R12 = true
  0064  CALL      R3 = call(R3, 0 args, 9 rets)
  0065  JMP       (jump)   -> 72
  0066  GETTABUP  R3 = _ENV[K2('GM')]
  0067  GETTABLE  R3 = R3[K11('SceneManager')]
  0068  SELF      R4 = R3[K23('ChangeGameMode')] (self)
  0069  GETTABUP  R5 = _ENV[K13('EGameMode')]
  0070  GETTABLE  R5 = R5[K15('Main')]
  0071  CALL      R3 = call(R3, 0 args, 2 rets)
  0072  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 192-194 np=0 va=0 ms=2 code=4 consts=2 upvals=1 protos=0
    ;   K[0]='PlatformInterface'
    ;   K[1]='ExitGame'
    ;   upvals: _ENV
    0000  GETTABUP  R0 = _ENV[K0('PlatformInterface')]
    0001  GETTABLE  R0 = R0[K1('ExitGame')]
    0002  CALL      R0 = call(R0, 0 args, 0 rets)
    0003  RETURN    return R0..R-1
; ---------- proto7 [_ResetViewData] ----------
  ; fn ?  line 207-238 np=1 va=0 ms=13 code=35 consts=7 upvals=2 protos=0
  ;   K[0]='m_mapViewDataList'
  ;   K[1]=nil
  ;   K[2]='pairs'
  ;   K[3]='ipairs'
  ;   K[4]='view'
  ;   K[5]='Destroy'
  ;   K[6]='_UpdateViewData'
  ;   upvals: _ENV, arrValidStateInSequence
  ;   locals: self(0-35), (for generator)(6-21), (for state)(6-21), (for control)(6-21), state(7-19), viewDataList(7-19), (for generator)(10-19), (for state)(10-19), (for control)(10-19), _(11-17), viewData(11-17), (for generator)(26-32), (for state)(26-32), (for control)(26-32), _(27-30), state(27-30)
  0000  GETTABLE  R1 = R0[K0('m_mapViewDataList')]
  0001  EQ        if R1 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 21
  0003  GETTABUP  R1 = _ENV[K2('pairs')]
  0004  GETTABLE  R2 = R0[K0('m_mapViewDataList')]
  0005  CALL      R1 = call(R1, 3 args, 1 rets)
  0006  JMP       (jump)   -> 19
  0007  GETTABUP  R6 = _ENV[K3('ipairs')]
  0008  MOVE      R7 = R0
  0009  CALL      R6 = call(R6, 3 args, 1 rets)
  0010  JMP       (jump)   -> 17
  0011  GETTABLE  R11 = R10[K4('view')]
  0012  EQ        if R1 eq K1(nil)   -> -125169
  0013  JMP       (jump)   -> 17
  0014  GETTABLE  R11 = R10[K4('view')]
  0015  SELF      R12 = R11[K5('Destroy')] (self)
  0016  CALL      R11 = call(R11, 0 args, 1 rets)
  0017  TFORCALL  tforcall R6
  0018  TFORLOOP  tforloop R8(sBx=-8)   -> 11
  0019  TFORCALL  tforcall R1
  0020  TFORLOOP  tforloop R3(sBx=-14)   -> 7
  0021  NEWTABLE  R1 = {} (0 items)
  0022  SETTABLE  R0[K0('m_mapViewDataList')] = R1
  0023  GETTABUP  R1 = _ENV[K3('ipairs')]
  0024  GETUPVAL  R2 = _ENV
  0025  CALL      R1 = call(R1, 3 args, 1 rets)
  0026  JMP       (jump)   -> 30
  0027  GETTABLE  R6 = R0[K0('m_mapViewDataList')]
  0028  NEWTABLE  R7 = {} (0 items)
  0029  SETTABLE  R6[R5] = R7
  0030  TFORCALL  tforcall R1
  0031  TFORLOOP  tforloop R3(sBx=-5)   -> 27
  0032  SELF      R2 = R0[K6('_UpdateViewData')] (self)
  0033  CALL      R1 = call(R1, 0 args, 1 rets)
  0034  RETURN    return R0..R-1
; ---------- proto8 [_UpdateViewData] ----------
  ; fn ?  line 240-278 np=1 va=0 ms=13 code=109 consts=26 upvals=2 protos=1
  ;   K[0]='m_mapViewName2ViewState'
  ;   K[1]='ipairs'
  ;   K[2]='m_mapViewDataList'
  ;   K[3]='viewName'
  ;   K[4]='EViewState'
  ;   K[5]='Opened'
  ;   K[6]='table'
  ;   K[7]='sort'
  ;   K[8]='m_mapTopView'
  ;   K[9]='view'
  ;   K[10]=nil
  ;   K[11]='eViewType'
  ;   K[12]='UIManager: missing viewType in view: '
  ;   K[13]='nil'
  ;   K[14]='Log'
  ;   K[15]='Error'
  ;   K[16]='EViewType'
  ;   K[17]='Window'
  ;   K[18]='Loading'
  ;   K[19]=0
  ;   K[20]='Closing'
  ;   K[21]='m_bOpenWaitingWindow'
  ;   K[22]='WaitingOpen'
  ;   K[23]='allWindowClosed'
  ;   K[24]='shouldClearResources'
  ;   K[25]='_UpdateInputMultiTouch'
  ;   upvals: _ENV, arrValidStateInSequence
  ;   locals: self(0-109), (for generator)(5-18), (for state)(5-18), (for control)(5-18), _(6-16), state(6-16), (for generator)(10-16), (for state)(10-16), (for control)(10-16), i(11-14), viewData(11-14), openedList(22-109), (for generator)(32-58), (for state)(32-58), (for control)(32-58), i(33-56), viewData(33-56), info(46-50), hasActiveWindow(80-109)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  SETTABLE  R0[K0('m_mapViewName2ViewState')] = R1
  0002  GETTABUP  R1 = _ENV[K1('ipairs')]
  0003  GETUPVAL  R2 = _ENV
  0004  CALL      R1 = call(R1, 3 args, 1 rets)
  0005  JMP       (jump)   -> 16
  0006  GETTABUP  R6 = _ENV[K1('ipairs')]
  0007  GETTABLE  R7 = R0[K2('m_mapViewDataList')]
  0008  GETTABLE  R7 = R7[R5]
  0009  CALL      R6 = call(R6, 3 args, 1 rets)
  0010  JMP       (jump)   -> 14
  0011  GETTABLE  R11 = R0[K0('m_mapViewName2ViewState')]
  0012  GETTABLE  R12 = R10[K3('viewName')]
  0013  SETTABLE  R11[R12] = R5
  0014  TFORCALL  tforcall R6
  0015  TFORLOOP  tforloop R8(sBx=-5)   -> 11
  0016  TFORCALL  tforcall R1
  0017  TFORLOOP  tforloop R3(sBx=-12)   -> 6
  0018  GETTABLE  R1 = R0[K2('m_mapViewDataList')]
  0019  GETTABUP  R2 = _ENV[K4('EViewState')]
  0020  GETTABLE  R2 = R2[K5('Opened')]
  0021  GETTABLE  R1 = R1[R2]
  0022  GETTABUP  R2 = _ENV[K6('table')]
  0023  GETTABLE  R2 = R2[K7('sort')]
  0024  MOVE      R3 = R0
  0025  CLOSURE   R4 = closure proto0
  0026  CALL      R2 = call(R2, 0 args, 2 rets)
  0027  NEWTABLE  R2 = {} (0 items)
  0028  SETTABLE  R0[K8('m_mapTopView')] = R2
  0029  GETTABUP  R2 = _ENV[K1('ipairs')]
  0030  MOVE      R3 = R0
  0031  CALL      R2 = call(R2, 3 args, 1 rets)
  0032  JMP       (jump)   -> 56
  0033  GETTABLE  R7 = R6[K9('view')]
  0034  EQ        if R1 eq K10(nil)   -> -127186
  0035  JMP       (jump)   -> 40
  0036  GETTABLE  R7 = R6[K9('view')]
  0037  GETTABLE  R7 = R7[K11('eViewType')]
  0038  EQ        if R0 eq K10(nil)   -> -127182
  0039  JMP       (jump)   -> 51
  0040  LOADK     R7 = K12 'UIManager: missing viewType in view: '
  0041  GETTABLE  R8 = R6[K3('viewName')]
  0042  TEST      if not R8 then   -> -131027
  0043  JMP       (jump)   -> 45
  0044  LOADK     R8 = K13 'nil'
  0045  CONCAT    R7 = concat(R7..R7)
  0046  GETTABUP  R8 = _ENV[K14('Log')]
  0047  GETTABLE  R8 = R8[K15('Error')]
  0048  MOVE      R9 = R0
  0049  CALL      R8 = call(R8, 0 args, 1 rets)
  0050  JMP       (jump)   -> 56
  0051  GETTABLE  R7 = R0[K8('m_mapTopView')]
  0052  GETTABLE  R8 = R6[K9('view')]
  0053  GETTABLE  R8 = R8[K11('eViewType')]
  0054  GETTABLE  R9 = R6[K9('view')]
  0055  SETTABLE  R7[R8] = R9
  0056  TFORCALL  tforcall R2
  0057  TFORLOOP  tforloop R4(sBx=-25)   -> 33
  0058  GETTABLE  R2 = R0[K8('m_mapTopView')]
  0059  GETTABUP  R3 = _ENV[K16('EViewType')]
  0060  GETTABLE  R3 = R3[K17('Window')]
  0061  GETTABLE  R2 = R2[R3]
  0062  EQ        if R0 eq K10(nil)   -> -129718
  0063  JMP       (jump)   -> 79
  0064  GETTABLE  R2 = R0[K2('m_mapViewDataList')]
  0065  GETTABUP  R3 = _ENV[K4('EViewState')]
  0066  GETTABLE  R3 = R3[K18('Loading')]
  0067  GETTABLE  R2 = R2[R3]
  0068  LEN       R2 = len R0
  0069  LT        if R1 lt R2   -> 9801
  0070  JMP       (jump)   -> 79
  0071  GETTABLE  R2 = R0[K2('m_mapViewDataList')]
  0072  GETTABUP  R3 = _ENV[K4('EViewState')]
  0073  GETTABLE  R3 = R3[K20('Closing')]
  0074  GETTABLE  R2 = R2[R3]
  0075  LEN       R2 = len R0
  0076  LT        if R1 lt R2   -> 9808
  0077  JMP       (jump)   -> 79
  0078  LOADBOOL  R2 = false
  0079  LOADBOOL  R2 = true
  0080  TEST      if not R2 then   -> -130989
  0081  JMP       (jump)   -> 89
  0082  GETTABLE  R3 = R0[K2('m_mapViewDataList')]
  0083  GETTABUP  R4 = _ENV[K4('EViewState')]
  0084  GETTABLE  R4 = R4[K22('WaitingOpen')]
  0085  GETTABLE  R3 = R3[R4]
  0086  LEN       R3 = len R0
  0087  LT        if R1 lt R3   -> 9820
  0088  JMP       (jump)   -> 90
  0089  LOADBOOL  R3 = false
  0090  LOADBOOL  R3 = true
  0091  SETTABLE  R0[K21('m_bOpenWaitingWindow')] = R3
  0092  TEST      if not R2 then   -> -130977
  0093  JMP       (jump)   -> 101
  0094  GETTABLE  R3 = R0[K2('m_mapViewDataList')]
  0095  GETTABUP  R4 = _ENV[K4('EViewState')]
  0096  GETTABLE  R4 = R4[K22('WaitingOpen')]
  0097  GETTABLE  R3 = R3[R4]
  0098  LEN       R3 = len R0
  0099  EQ        if R1 eq K19(0)   -> -129160
  0100  JMP       (jump)   -> 102
  0101  LOADBOOL  R3 = false
  0102  LOADBOOL  R3 = true
  0103  SETTABLE  R0[K23('allWindowClosed')] = R3
  0104  GETTABLE  R3 = R0[K23('allWindowClosed')]
  0105  SETTABLE  R0[K24('shouldClearResources')] = R3
  0106  SELF      R4 = R0[K25('_UpdateInputMultiTouch')] (self)
  0107  CALL      R3 = call(R3, 0 args, 1 rets)
  0108  RETURN    return R0..R-1
  ; ---------- proto0 [m_mapTopView] ----------
    ; fn ?  line 254-254 np=2 va=0 ms=5 code=12 consts=2 upvals=0 protos=0
    ;   K[0]='view'
    ;   K[1]='GetSortingOrder'
    ;   locals: a(0-12), b(0-12)
    0000  GETTABLE  R2 = R0[K0('view')]
    0001  SELF      R3 = R2[K1('GetSortingOrder')] (self)
    0002  CALL      R2 = call(R2, 1 args, 1 rets)
    0003  GETTABLE  R3 = R1[K0('view')]
    0004  SELF      R4 = R3[K1('GetSortingOrder')] (self)
    0005  CALL      R3 = call(R3, 1 args, 1 rets)
    0006  LT        if R1 lt R3   -> -130037
    0007  JMP       (jump)   -> 9
    0008  LOADBOOL  R2 = false
    0009  LOADBOOL  R2 = true
    0010  RETURN    return R2..R1
    0011  RETURN    return R0..R-1
; ---------- proto9 [_UpdateInputMultiTouch] ----------
  ; fn ?  line 280-285 np=1 va=0 ms=6 code=28 consts=13 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='SceneManager'
  ;   K[2]='GetGameMode'
  ;   K[3]='EGameMode'
  ;   K[4]='Main'
  ;   K[5]='GetOpenedTopViewByType'
  ;   K[6]='EViewType'
  ;   K[7]='Window'
  ;   K[8]='Input'
  ;   K[9]='multiTouchEnabled'
  ;   K[10]='allWindowClosed'
  ;   K[11]=nil
  ;   K[12]='bEnableMultiTouch'
  ;   upvals: _ENV
  ;   locals: self(0-28), gameMode(4-28), isMainMode(10-28), topView(14-28)
  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 R1 eq R2   -> -130550
  0007  JMP       (jump)   -> 9
  0008  LOADBOOL  R2 = false
  0009  LOADBOOL  R2 = true
  0010  SELF      R4 = R0[K5('GetOpenedTopViewByType')] (self)
  0011  GETTABUP  R5 = _ENV[K6('EViewType')]
  0012  GETTABLE  R5 = R5[K7('Window')]
  0013  CALL      R3 = call(R3, 1 args, 2 rets)
  0014  GETTABUP  R4 = _ENV[K8('Input')]
  0015  TEST      if not R2 then   -> -131055
  0016  JMP       (jump)   -> 20
  0017  GETTABLE  R5 = R0[K10('allWindowClosed')]
  0018  TEST      if not R5 then   -> -131051
  0019  JMP       (jump)   -> 26
  0020  EQ        if R1 eq K11(nil)   -> -129247
  0021  JMP       (jump)   -> 24
  0022  GETTABLE  R5 = R3[K12('bEnableMultiTouch')]
  0023  JMP       (jump)   -> 26
  0024  LOADBOOL  R5 = false
  0025  LOADBOOL  R5 = true
  0026  SETTABLE  R4[K9('multiTouchEnabled')] = R5
  0027  RETURN    return R0..R-1
; ---------- proto10 [_AddLoadingViewData] ----------
  ; fn ?  line 288-294 np=2 va=0 ms=5 code=12 consts=6 upvals=1 protos=0
  ;   K[0]='m_mapViewDataList'
  ;   K[1]='EViewState'
  ;   K[2]='Loading'
  ;   K[3]=1
  ;   K[4]='viewName'
  ;   K[5]='_UpdateViewData'
  ;   upvals: _ENV
  ;   locals: self(0-12), viewName(0-12), loadingDataList(4-12)
  0000  GETTABLE  R2 = R0[K0('m_mapViewDataList')]
  0001  GETTABUP  R3 = _ENV[K1('EViewState')]
  0002  GETTABLE  R3 = R3[K2('Loading')]
  0003  GETTABLE  R2 = R2[R3]
  0004  LEN       R3 = len R0
  0005  ADD       R3 = K3(1) add R3
  0006  NEWTABLE  R4 = {} (0 items)
  0007  SETTABLE  R4[K4('viewName')] = R1
  0008  SETTABLE  R2[R3] = R4
  0009  SELF      R4 = R0[K5('_UpdateViewData')] (self)
  0010  CALL      R3 = call(R3, 0 args, 1 rets)
  0011  RETURN    return R0..R-1
; ---------- proto11 [_PollWaitingOpenViewData] ----------
  ; fn ?  line 297-302 np=1 va=0 ms=4 code=25 consts=11 upvals=1 protos=0
  ;   K[0]='Log'
  ;   K[1]='Assert'
  ;   K[2]='m_mapViewDataList'
  ;   K[3]='EViewState'
  ;   K[4]='WaitingOpen'
  ;   K[5]=0
  ;   K[6]='[UIManager]Poll View Data When List Is Empty'
  ;   K[7]='table'
  ;   K[8]='remove'
  ;   K[9]=1
  ;   K[10]='_UpdateViewData'
  ;   upvals: _ENV
  ;   locals: self(0-25), viewData(21-25)
  0000  GETTABUP  R1 = _ENV[K0('Log')]
  0001  GETTABLE  R1 = R1[K1('Assert')]
  0002  GETTABLE  R2 = R0[K2('m_mapViewDataList')]
  0003  GETTABUP  R3 = _ENV[K3('EViewState')]
  0004  GETTABLE  R3 = R3[K4('WaitingOpen')]
  0005  GETTABLE  R2 = R2[R3]
  0006  LEN       R2 = len R0
  0007  LT        if R1 lt R2   -> 2571
  0008  JMP       (jump)   -> 10
  0009  LOADBOOL  R2 = false
  0010  LOADBOOL  R2 = true
  0011  LOADK     R3 = K6 '[UIManager]Poll View Data When List Is Empty'
  0012  CALL      R1 = call(R1, 0 args, 2 rets)
  0013  GETTABUP  R1 = _ENV[K7('table')]
  0014  GETTABLE  R1 = R1[K8('remove')]
  0015  GETTABLE  R2 = R0[K2('m_mapViewDataList')]
  0016  GETTABUP  R3 = _ENV[K3('EViewState')]
  0017  GETTABLE  R3 = R3[K4('WaitingOpen')]
  0018  GETTABLE  R2 = R2[R3]
  0019  LOADK     R3 = K9 1
  0020  CALL      R1 = call(R1, 1 args, 2 rets)
  0021  SELF      R3 = R0[K10('_UpdateViewData')] (self)
  0022  CALL      R2 = call(R2, 0 args, 1 rets)
  0023  RETURN    return R1..R0
  0024  RETURN    return R0..R-1
; ---------- proto12 [_RemoveClosingViewData] ----------
  ; fn ?  line 305-314 np=2 va=0 ms=10 code=27 consts=8 upvals=1 protos=0
  ;   K[0]='ipairs'
  ;   K[1]='m_mapViewDataList'
  ;   K[2]='EViewState'
  ;   K[3]='Closing'
  ;   K[4]='view'
  ;   K[5]='table'
  ;   K[6]='remove'
  ;   K[7]='_UpdateViewData'
  ;   upvals: _ENV
  ;   locals: self(0-27), view(0-27), (for generator)(6-24), (for state)(6-24), (for control)(6-24), i(7-22), data(7-22)
  0000  GETTABUP  R2 = _ENV[K0('ipairs')]
  0001  GETTABLE  R3 = R0[K1('m_mapViewDataList')]
  0002  GETTABUP  R4 = _ENV[K2('EViewState')]
  0003  GETTABLE  R4 = R4[K3('Closing')]
  0004  GETTABLE  R3 = R3[R4]
  0005  CALL      R2 = call(R2, 3 args, 1 rets)
  0006  JMP       (jump)   -> 22
  0007  GETTABLE  R7 = R6[K4('view')]
  0008  EQ        if R0 eq R1   -> -127477
  0009  JMP       (jump)   -> 22
  0010  GETTABUP  R7 = _ENV[K5('table')]
  0011  GETTABLE  R7 = R7[K6('remove')]
  0012  GETTABLE  R8 = R0[K1('m_mapViewDataList')]
  0013  GETTABUP  R9 = _ENV[K2('EViewState')]
  0014  GETTABLE  R9 = R9[K3('Closing')]
  0015  GETTABLE  R8 = R8[R9]
  0016  MOVE      R9 = R0
  0017  CALL      R7 = call(R7, 0 args, 2 rets)
  0018  SELF      R8 = R0[K7('_UpdateViewData')] (self)
  0019  CALL      R7 = call(R7, 0 args, 1 rets)
  0020  LOADBOOL  R7 = true
  0021  RETURN    return R7..R6
  0022  TFORCALL  tforcall R2
  0023  TFORLOOP  tforloop R4(sBx=-17)   -> 7
  0024  LOADBOOL  R2 = false
  0025  RETURN    return R2..R1
  0026  RETURN    return R0..R-1
; ---------- proto13 [_ShiftViewData] ----------
  ; fn ?  line 320-342 np=5 va=0 ms=13 code=53 consts=13 upvals=1 protos=0
  ;   K[0]=0
  ;   K[1]='ipairs'
  ;   K[2]='m_mapViewDataList'
  ;   K[3]='type'
  ;   K[4]='string'
  ;   K[5]='viewName'
  ;   K[6]='table'
  ;   K[7]='view'
  ;   K[8]='EViewState'
  ;   K[9]='WaitingOpen'
  ;   K[10]='remove'
  ;   K[11]=1
  ;   K[12]='_UpdateViewData'
  ;   upvals: _ENV
  ;   locals: self(0-53), viewTarget(0-53), sourceState(0-53), targetState(0-53), loadedView(0-53), index(1-53), (for generator)(5-29), (for state)(5-29), (for control)(5-29), i(6-27), data(6-27), data(34-52)
  0000  LOADK     R5 = K0 0
  0001  GETTABUP  R6 = _ENV[K1('ipairs')]
  0002  GETTABLE  R7 = R0[K2('m_mapViewDataList')]
  0003  GETTABLE  R7 = R7[R2]
  0004  CALL      R6 = call(R6, 3 args, 1 rets)
  0005  JMP       (jump)   -> 27
  0006  GETTABUP  R11 = _ENV[K3('type')]
  0007  MOVE      R12 = R0
  0008  CALL      R11 = call(R11, 1 args, 1 rets)
  0009  EQ        if R0 eq K4('string')   -> -125169
  0010  JMP       (jump)   -> 14
  0011  GETTABLE  R11 = R10[K5('viewName')]
  0012  EQ        if R1 eq R1   -> -125425
  0013  JMP       (jump)   -> 22
  0014  GETTABUP  R11 = _ENV[K3('type')]
  0015  MOVE      R12 = R0
  0016  CALL      R11 = call(R11, 1 args, 1 rets)
  0017  EQ        if R0 eq K6('table')   -> -125159
  0018  JMP       (jump)   -> 27
  0019  GETTABLE  R11 = R10[K7('view')]
  0020  EQ        if R0 eq R1   -> -125417
  0021  JMP       (jump)   -> 27
  0022  MOVE      R5 = R0
  0023  GETTABUP  R11 = _ENV[K8('EViewState')]
  0024  GETTABLE  R11 = R11[K9('WaitingOpen')]
  0025  EQ        if R1 eq R11   -> -130010
  0026  JMP       (jump)   -> 29
  0027  TFORCALL  tforcall R6
  0028  TFORLOOP  tforloop R8(sBx=-23)   -> 6
  0029  LT        if R0 lt R5   -> 36
  0030  JMP       (jump)   -> 52
  0031  GETTABLE  R6 = R0[K2('m_mapViewDataList')]
  0032  GETTABLE  R6 = R6[R2]
  0033  GETTABLE  R6 = R6[R5]
  0034  TEST      if not R4 then   -> -131036
  0035  JMP       (jump)   -> 37
  0036  SETTABLE  R6[K7('view')] = R4
  0037  GETTABUP  R7 = _ENV[K6('table')]
  0038  GETTABLE  R7 = R7[K10('remove')]
  0039  GETTABLE  R8 = R0[K2('m_mapViewDataList')]
  0040  GETTABLE  R8 = R8[R2]
  0041  MOVE      R9 = R0
  0042  CALL      R7 = call(R7, 0 args, 2 rets)
  0043  GETTABLE  R7 = R0[K2('m_mapViewDataList')]
  0044  GETTABLE  R7 = R7[R3]
  0045  GETTABLE  R8 = R0[K2('m_mapViewDataList')]
  0046  GETTABLE  R8 = R8[R3]
  0047  LEN       R8 = len R0
  0048  ADD       R8 = K11(1) add R8
  0049  SETTABLE  R7[R8] = R6
  0050  SELF      R8 = R0[K12('_UpdateViewData')] (self)
  0051  CALL      R7 = call(R7, 0 args, 1 rets)
  0052  RETURN    return R0..R-1
; ---------- proto14 [OpenViewWhenIdle] ----------
  ; fn ?  line 346-353 np=2 va=1 ms=7 code=25 consts=13 upvals=1 protos=0
  ;   K[0]='Log'
  ;   K[1]='Info'
  ;   K[2]='UIManager OpenView '
  ;   K[3]='tostring'
  ;   K[4]='table'
  ;   K[5]='insert'
  ;   K[6]='m_mapViewDataList'
  ;   K[7]='EViewState'
  ;   K[8]='WaitingOpen'
  ;   K[9]='viewName'
  ;   K[10]='args'
  ;   K[11]='pack'
  ;   K[12]='_UpdateViewData'
  ;   upvals: _ENV
  ;   locals: self(0-25), viewName(0-25)
  0000  GETTABUP  R2 = _ENV[K0('Log')]
  0001  GETTABLE  R2 = R2[K1('Info')]
  0002  LOADK     R3 = K2 'UIManager OpenView '
  0003  GETTABUP  R4 = _ENV[K3('tostring')]
  0004  MOVE      R5 = R0
  0005  CALL      R4 = call(R4, 1 args, 1 rets)
  0006  CONCAT    R3 = concat(R3..R3)
  0007  CALL      R2 = call(R2, 0 args, 1 rets)
  0008  GETTABUP  R2 = _ENV[K4('table')]
  0009  GETTABLE  R2 = R2[K5('insert')]
  0010  GETTABLE  R3 = R0[K6('m_mapViewDataList')]
  0011  GETTABUP  R4 = _ENV[K7('EViewState')]
  0012  GETTABLE  R4 = R4[K8('WaitingOpen')]
  0013  GETTABLE  R3 = R3[R4]
  0014  NEWTABLE  R4 = {} (0 items)
  0015  SETTABLE  R4[K9('viewName')] = R1
  0016  GETTABUP  R5 = _ENV[K4('table')]
  0017  GETTABLE  R5 = R5[K11('pack')]
  0018  VARARG    R6 = vararg(0)
  0019  CALL      R5 = call(R5, 1 args, -1 rets)
  0020  SETTABLE  R4[K10('args')] = R5
  0021  CALL      R2 = call(R2, 0 args, 2 rets)
  0022  SELF      R3 = R0[K12('_UpdateViewData')] (self)
  0023  CALL      R2 = call(R2, 0 args, 1 rets)
  0024  RETURN    return R0..R-1
; ---------- proto15 [OpenView] ----------
  ; fn ?  line 355-367 np=2 va=1 ms=6 code=36 consts=14 upvals=1 protos=0
  ;   K[0]='Log'
  ;   K[1]='Info'
  ;   K[2]='UIManager OpenView '
  ;   K[3]='tostring'
  ;   K[4]='_CheckViewNameValid'
  ;   K[5]='MicrofunProfiler'
  ;   K[6]='Instance'
  ;   K[7]='StartSession'
  ;   K[8]='_GetView'
  ;   K[9]='EViewState'
  ;   K[10]='Cached'
  ;   K[11]=nil
  ;   K[12]='_ReOpenView'
  ;   K[13]='_LoadView'
  ;   upvals: _ENV
  ;   locals: self(0-36), viewName(0-36)
  0000  GETTABUP  R2 = _ENV[K0('Log')]
  0001  GETTABLE  R2 = R2[K1('Info')]
  0002  LOADK     R3 = K2 'UIManager OpenView '
  0003  GETTABUP  R4 = _ENV[K3('tostring')]
  0004  MOVE      R5 = R0
  0005  CALL      R4 = call(R4, 1 args, 1 rets)
  0006  CONCAT    R3 = concat(R3..R3)
  0007  CALL      R2 = call(R2, 0 args, 1 rets)
  0008  SELF      R3 = R0[K4('_CheckViewNameValid')] (self)
  0009  MOVE      R4 = R0
  0010  CALL      R2 = call(R2, 1 args, 2 rets)
  0011  TEST      if not R2 then   -> -131058
  0012  JMP       (jump)   -> 14
  0013  RETURN    return R0..R-1
  0014  GETTABUP  R2 = _ENV[K5('MicrofunProfiler')]
  0015  GETTABLE  R2 = R2[K6('Instance')]
  0016  SELF      R3 = R2[K7('StartSession')] (self)
  0017  MOVE      R4 = R0
  0018  CALL      R2 = call(R2, 0 args, 2 rets)
  0019  SELF      R3 = R0[K8('_GetView')] (self)
  0020  MOVE      R4 = R0
  0021  GETTABUP  R5 = _ENV[K9('EViewState')]
  0022  GETTABLE  R5 = R5[K10('Cached')]
  0023  CALL      R2 = call(R2, 1 args, 3 rets)
  0024  EQ        if R1 eq K11(nil)   -> -129755
  0025  JMP       (jump)   -> 31
  0026  SELF      R3 = R0[K12('_ReOpenView')] (self)
  0027  MOVE      R4 = R0
  0028  VARARG    R5 = vararg(0)
  0029  CALL      R2 = call(R2, 0 args, -1 rets)
  0030  JMP       (jump)   -> 35
  0031  SELF      R3 = R0[K13('_LoadView')] (self)
  0032  MOVE      R4 = R0
  0033  VARARG    R5 = vararg(0)
  0034  CALL      R2 = call(R2, 0 args, -1 rets)
  0035  RETURN    return R0..R-1
; ---------- proto16 [_LoadView] ----------
  ; fn ?  line 369-413 np=2 va=1 ms=12 code=28 consts=13 upvals=1 protos=2
  ;   K[0]='SetEventLock'
  ;   K[1]='table'
  ;   K[2]='pack'
  ;   K[3]='_AddLoadingViewData'
  ;   K[4]='GM'
  ;   K[5]='ResourceLoader'
  ;   K[6]='LoadPrefab'
  ;   K[7]='DataResource'
  ;   K[8]='UIPrefabConfig'
  ;   K[9]='GetConfig'
  ;   K[10]='m_canvasRootRect'
  ;   K[11]='Vector3'
  ;   K[12]='zero'
  ;   upvals: _ENV
  ;   locals: self(0-28), viewName(0-28), args(7-28), successCallback(8-28), failCallback(9-28)
  0000  SELF      R3 = R0[K0('SetEventLock')] (self)
  0001  LOADBOOL  R4 = true
  0002  CALL      R2 = call(R2, 0 args, 2 rets)
  0003  GETTABUP  R2 = _ENV[K1('table')]
  0004  GETTABLE  R2 = R2[K2('pack')]
  0005  VARARG    R3 = vararg(0)
  0006  CALL      R2 = call(R2, 1 args, -1 rets)
  0007  CLOSURE   R3 = closure proto0
  0008  CLOSURE   R4 = closure proto1
  0009  SELF      R6 = R0[K3('_AddLoadingViewData')] (self)
  0010  MOVE      R7 = R0
  0011  CALL      R5 = call(R5, 0 args, 2 rets)
  0012  GETTABUP  R5 = _ENV[K4('GM')]
  0013  GETTABLE  R5 = R5[K5('ResourceLoader')]
  0014  SELF      R6 = R5[K6('LoadPrefab')] (self)
  0015  GETTABUP  R7 = _ENV[K4('GM')]
  0016  GETTABLE  R7 = R7[K7('DataResource')]
  0017  GETTABLE  R7 = R7[K8('UIPrefabConfig')]
  0018  SELF      R8 = R7[K9('GetConfig')] (self)
  0019  MOVE      R9 = R0
  0020  CALL      R7 = call(R7, 1 args, 2 rets)
  0021  GETTABLE  R8 = R0[K10('m_canvasRootRect')]
  0022  GETTABUP  R9 = _ENV[K11('Vector3')]
  0023  GETTABLE  R9 = R9[K12('zero')]
  0024  MOVE      R10 = R0
  0025  MOVE      R11 = R0
  0026  CALL      R5 = call(R5, 0 args, 6 rets)
  0027  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 372-404 np=1 va=0 ms=11 code=83 consts=25 upvals=4 protos=0
    ;   K[0]='SetEventLock'
    ;   K[1]='_GetViewState'
    ;   K[2]='EViewState'
    ;   K[3]='Invalid'
    ;   K[4]='RemoveSelf'
    ;   K[5]='SetActive'
    ;   K[6]='GetLuaTable'
    ;   K[7]='type'
    ;   K[8]='table'
    ;   K[9]='UIManager: invalid view type: '
    ;   K[10]=' in viewName: '
    ;   K[11]='nil'
    ;   K[12]='Log'
    ;   K[13]='Error'
    ;   K[14]='ipairs'
    ;   K[15]='m_mapViewDataList'
    ;   K[16]='Loading'
    ;   K[17]='viewName'
    ;   K[18]='remove'
    ;   K[19]='_UpdateViewData'
    ;   K[20]='name'
    ;   K[21]='_OnViewOpen'
    ;   K[22]='unpack'
    ;   K[23]=1
    ;   K[24]='n'
    ;   upvals: self, viewName, _ENV, args
    ;   locals: go(0-83), view(20-83), errInfo(35-68), index(42-68), (for generator)(48-56), (for state)(48-56), (for control)(48-56), i(49-54), data(49-54)
    0000  GETUPVAL  R1 = self
    0001  SELF      R2 = R1[K0('SetEventLock')] (self)
    0002  LOADBOOL  R3 = false
    0003  CALL      R1 = call(R1, 0 args, 2 rets)
    0004  GETUPVAL  R1 = self
    0005  SELF      R2 = R1[K1('_GetViewState')] (self)
    0006  GETUPVAL  R3 = self
    0007  CALL      R1 = call(R1, 1 args, 2 rets)
    0008  GETTABUP  R2 = _ENV[K2('EViewState')]
    0009  GETTABLE  R2 = R2[K3('Invalid')]
    0010  EQ        if R0 eq R2   -> -130546
    0011  JMP       (jump)   -> 15
    0012  SELF      R2 = R0[K4('RemoveSelf')] (self)
    0013  CALL      R1 = call(R1, 0 args, 1 rets)
    0014  RETURN    return R0..R-1
    0015  SELF      R2 = R0[K5('SetActive')] (self)
    0016  LOADBOOL  R3 = false
    0017  CALL      R1 = call(R1, 0 args, 2 rets)
    0018  SELF      R2 = R0[K6('GetLuaTable')] (self)
    0019  CALL      R1 = call(R1, 1 args, 1 rets)
    0020  GETTABUP  R2 = _ENV[K7('type')]
    0021  MOVE      R3 = R0
    0022  CALL      R2 = call(R2, 1 args, 1 rets)
    0023  EQ        if R1 eq K8('table')   -> -129759
    0024  JMP       (jump)   -> 68
    0025  LOADK     R2 = K9 'UIManager: invalid view type: '
    0026  GETTABUP  R3 = _ENV[K7('type')]
    0027  MOVE      R4 = R0
    0028  CALL      R3 = call(R3, 1 args, 1 rets)
    0029  LOADK     R4 = K10 ' in viewName: '
    0030  GETUPVAL  R5 = self
    0031  TEST      if not R5 then   -> -131038
    0032  JMP       (jump)   -> 34
    0033  LOADK     R5 = K11 'nil'
    0034  CONCAT    R2 = concat(R2..R2)
    0035  GETTABUP  R3 = _ENV[K12('Log')]
    0036  GETTABLE  R3 = R3[K13('Error')]
    0037  MOVE      R4 = R0
    0038  CALL      R3 = call(R3, 0 args, 1 rets)
    0039  SELF      R4 = R0[K4('RemoveSelf')] (self)
    0040  CALL      R3 = call(R3, 0 args, 1 rets)
    0041  LOADNIL   R3..R3 = nil
    0042  GETTABUP  R4 = _ENV[K14('ipairs')]
    0043  GETTABUP  R5 = self[K15('m_mapViewDataList')]
    0044  GETTABUP  R6 = _ENV[K2('EViewState')]
    0045  GETTABLE  R6 = R6[K16('Loading')]
    0046  GETTABLE  R5 = R5[R6]
    0047  CALL      R4 = call(R4, 3 args, 1 rets)
    0048  JMP       (jump)   -> 54
    0049  GETTABLE  R9 = R8[K17('viewName')]
    0050  GETUPVAL  R10 = self
    0051  EQ        if R0 eq R10   -> -126401
    0052  JMP       (jump)   -> 54
    0053  MOVE      R3 = R0
    0054  TFORCALL  tforcall R4
    0055  TFORLOOP  tforloop R6(sBx=-7)   -> 49
    0056  GETTABUP  R4 = _ENV[K8('table')]
    0057  GETTABLE  R4 = R4[K18('remove')]
    0058  GETTABUP  R5 = self[K15('m_mapViewDataList')]
    0059  GETTABUP  R6 = _ENV[K2('EViewState')]
    0060  GETTABLE  R6 = R6[K16('Loading')]
    0061  GETTABLE  R5 = R5[R6]
    0062  MOVE      R6 = R0
    0063  CALL      R4 = call(R4, 0 args, 2 rets)
    0064  GETUPVAL  R4 = self
    0065  SELF      R5 = R4[K19('_UpdateViewData')] (self)
    0066  CALL      R4 = call(R4, 0 args, 1 rets)
    0067  RETURN    return R0..R-1
    0068  GETUPVAL  R2 = self
    0069  SETTABLE  R1[K20('name')] = R2
    0070  GETUPVAL  R2 = self
    0071  SELF      R3 = R2[K21('_OnViewOpen')] (self)
    0072  GETTABUP  R4 = _ENV[K2('EViewState')]
    0073  GETTABLE  R4 = R4[K16('Loading')]
    0074  MOVE      R5 = R0
    0075  GETTABUP  R6 = _ENV[K8('table')]
    0076  GETTABLE  R6 = R6[K22('unpack')]
    0077  GETUPVAL  R7 = self
    0078  LOADK     R8 = K23 1
    0079  GETTABUP  R9 = args[K24('n')]
    0080  CALL      R6 = call(R6, -1 args, 3 rets)
    0081  CALL      R2 = call(R2, 0 args, -1 rets)
    0082  RETURN    return R0..R-1
  ; ---------- proto1 [] ----------
    ; fn ?  line 406-409 np=0 va=0 ms=3 code=9 consts=3 upvals=1 protos=0
    ;   K[0]='SetEventLock'
    ;   K[1]='ShowPromptWithKey'
    ;   K[2]='show_ad_failed_window_desc'
    ;   upvals: self
    0000  GETUPVAL  R0 = self
    0001  SELF      R1 = R0[K0('SetEventLock')] (self)
    0002  LOADBOOL  R2 = false
    0003  CALL      R0 = call(R0, 0 args, 2 rets)
    0004  GETUPVAL  R0 = self
    0005  SELF      R1 = R0[K1('ShowPromptWithKey')] (self)
    0006  LOADK     R2 = K2 'show_ad_failed_window_desc'
    0007  CALL      R0 = call(R0, 0 args, 2 rets)
    0008  RETURN    return R0..R-1
; ---------- proto17 [_ReOpenView] ----------
  ; fn ?  line 415-421 np=2 va=1 ms=12 code=19 consts=7 upvals=1 protos=0
  ;   K[0]='ipairs'
  ;   K[1]='m_mapViewDataList'
  ;   K[2]='EViewState'
  ;   K[3]='Cached'
  ;   K[4]='viewName'
  ;   K[5]='_OnViewOpen'
  ;   K[6]='view'
  ;   upvals: _ENV
  ;   locals: self(0-19), viewName(0-19), (for generator)(6-18), (for state)(6-18), (for control)(6-18), _(7-16), viewData(7-16)
  0000  GETTABUP  R2 = _ENV[K0('ipairs')]
  0001  GETTABLE  R3 = R0[K1('m_mapViewDataList')]
  0002  GETTABUP  R4 = _ENV[K2('EViewState')]
  0003  GETTABLE  R4 = R4[K3('Cached')]
  0004  GETTABLE  R3 = R3[R4]
  0005  CALL      R2 = call(R2, 3 args, 1 rets)
  0006  JMP       (jump)   -> 16
  0007  GETTABLE  R7 = R6[K4('viewName')]
  0008  EQ        if R0 eq R1   -> -127477
  0009  JMP       (jump)   -> 16
  0010  SELF      R8 = R0[K5('_OnViewOpen')] (self)
  0011  GETTABUP  R9 = _ENV[K2('EViewState')]
  0012  GETTABLE  R9 = R9[K3('Cached')]
  0013  GETTABLE  R10 = R6[K6('view')]
  0014  VARARG    R11 = vararg(0)
  0015  CALL      R7 = call(R7, 0 args, -1 rets)
  0016  TFORCALL  tforcall R2
  0017  TFORLOOP  tforloop R4(sBx=-11)   -> 7
  0018  RETURN    return R0..R-1
; ---------- proto18 [_OnViewOpen] ----------
  ; fn ?  line 423-454 np=3 va=1 ms=11 code=78 consts=31 upvals=1 protos=0
  ;   K[0]='BeforeOpenCheck'
  ;   K[1]='_ShiftViewData'
  ;   K[2]='name'
  ;   K[3]='EViewState'
  ;   K[4]='Cached'
  ;   K[5]='GM'
  ;   K[6]='BIManager'
  ;   K[7]='LogProject'
  ;   K[8]='EBIProjectType'
  ;   K[9]='ViewOpenCheckFailed'
  ;   K[10]='tostring'
  ;   K[11]='ShowTestPrompt'
  ;   K[12]='弹窗开启检查失败:'
  ;   K[13]='gameObject'
  ;   K[14]='SetActive'
  ;   K[15]='_SetSortingOrder'
  ;   K[16]='Opened'
  ;   K[17]='OnOpenView'
  ;   K[18]=nil
  ;   K[19]='UIManager: OnOpenView is required in view '
  ;   K[20]='nil'
  ;   K[21]='Log'
  ;   K[22]='Error'
  ;   K[23]='eViewType'
  ;   K[24]='EViewType'
  ;   K[25]='Window'
  ;   K[26]='_UpdateWindowMask'
  ;   K[27]='EventDispatcher'
  ;   K[28]='DispatchEvent'
  ;   K[29]='EEventType'
  ;   K[30]='OpenView'
  ;   upvals: _ENV
  ;   locals: self(0-78), sourceState(0-78), view(0-78), bCheckPassed(3-78), bLogCheckFailed(3-78), info(54-59)
  0000  SELF      R4 = R2[K0('BeforeOpenCheck')] (self)
  0001  VARARG    R5 = vararg(0)
  0002  CALL      R3 = call(R3, 2 args, -1 rets)
  0003  TEST      if not R3 then   -> -131066
  0004  JMP       (jump)   -> 31
  0005  SELF      R6 = R0[K1('_ShiftViewData')] (self)
  0006  GETTABLE  R7 = R2[K2('name')]
  0007  MOVE      R8 = R0
  0008  GETTABUP  R9 = _ENV[K3('EViewState')]
  0009  GETTABLE  R9 = R9[K4('Cached')]
  0010  MOVE      R10 = R0
  0011  CALL      R5 = call(R5, 0 args, 5 rets)
  0012  TEST      if not R4 then   -> -131058
  0013  JMP       (jump)   -> 30
  0014  GETTABUP  R5 = _ENV[K5('GM')]
  0015  GETTABLE  R5 = R5[K6('BIManager')]
  0016  SELF      R6 = R5[K7('LogProject')] (self)
  0017  GETTABUP  R7 = _ENV[K8('EBIProjectType')]
  0018  GETTABLE  R7 = R7[K9('ViewOpenCheckFailed')]
  0019  GETTABUP  R8 = _ENV[K10('tostring')]
  0020  GETTABLE  R9 = R2[K2('name')]
  0021  CALL      R8 = call(R8, -1 args, 1 rets)
  0022  CALL      R5 = call(R5, 0 args, -1 rets)
  0023  SELF      R6 = R0[K11('ShowTestPrompt')] (self)
  0024  LOADK     R7 = K12 '弹窗开启检查失败:'
  0025  GETTABUP  R8 = _ENV[K10('tostring')]
  0026  GETTABLE  R9 = R2[K2('name')]
  0027  CALL      R8 = call(R8, 1 args, 1 rets)
  0028  CONCAT    R7 = concat(R7..R7)
  0029  CALL      R5 = call(R5, 0 args, 2 rets)
  0030  RETURN    return R0..R-1
  0031  GETTABLE  R5 = R2[K13('gameObject')]
  0032  SELF      R6 = R5[K14('SetActive')] (self)
  0033  LOADBOOL  R7 = true
  0034  CALL      R5 = call(R5, 0 args, 2 rets)
  0035  SELF      R6 = R0[K15('_SetSortingOrder')] (self)
  0036  MOVE      R7 = R0
  0037  CALL      R5 = call(R5, 0 args, 2 rets)
  0038  SELF      R6 = R0[K1('_ShiftViewData')] (self)
  0039  GETTABLE  R7 = R2[K2('name')]
  0040  MOVE      R8 = R0
  0041  GETTABUP  R9 = _ENV[K3('EViewState')]
  0042  GETTABLE  R9 = R9[K16('Opened')]
  0043  MOVE      R10 = R0
  0044  CALL      R5 = call(R5, 0 args, 5 rets)
  0045  GETTABLE  R5 = R2[K17('OnOpenView')]
  0046  EQ        if R0 eq K18(nil)   -> -128190
  0047  JMP       (jump)   -> 59
  0048  LOADK     R5 = K19 'UIManager: OnOpenView is required in view '
  0049  GETTABLE  R6 = R2[K2('name')]
  0050  TEST      if not R6 then   -> -131019
  0051  JMP       (jump)   -> 53
  0052  LOADK     R6 = K20 'nil'
  0053  CONCAT    R5 = concat(R5..R5)
  0054  GETTABUP  R6 = _ENV[K21('Log')]
  0055  GETTABLE  R6 = R6[K22('Error')]
  0056  MOVE      R7 = R0
  0057  CALL      R6 = call(R6, 0 args, 1 rets)
  0058  RETURN    return R0..R-1
  0059  SELF      R6 = R2[K17('OnOpenView')] (self)
  0060  VARARG    R7 = vararg(0)
  0061  CALL      R5 = call(R5, 0 args, -1 rets)
  0062  GETTABLE  R5 = R2[K23('eViewType')]
  0063  GETTABUP  R6 = _ENV[K24('EViewType')]
  0064  GETTABLE  R6 = R6[K25('Window')]
  0065  EQ        if R0 eq R6   -> -128439
  0066  JMP       (jump)   -> 69
  0067  SELF      R6 = R0[K26('_UpdateWindowMask')] (self)
  0068  CALL      R5 = call(R5, 0 args, 1 rets)
  0069  GETTABUP  R5 = _ENV[K27('EventDispatcher')]
  0070  GETTABLE  R5 = R5[K28('DispatchEvent')]
  0071  GETTABUP  R6 = _ENV[K29('EEventType')]
  0072  GETTABLE  R6 = R6[K30('OpenView')]
  0073  NEWTABLE  R7 = {} (0 items)
  0074  GETTABLE  R8 = R2[K2('name')]
  0075  SETTABLE  R7[K2('name')] = R8
  0076  CALL      R5 = call(R5, 0 args, 2 rets)
  0077  RETURN    return R0..R-1
; ---------- proto19 [_SetSortingOrder] ----------
  ; fn ?  line 457-470 np=2 va=0 ms=6 code=30 consts=10 upvals=1 protos=0
  ;   K[0]='SetSortingOrder'
  ;   K[1]=nil
  ;   K[2]='UIManager: SetSortingOrder is required in view '
  ;   K[3]='name'
  ;   K[4]='nil'
  ;   K[5]='Log'
  ;   K[6]='Error'
  ;   K[7]='sortingOrder'
  ;   K[8]='_GetTopViewSortingOrder'
  ;   K[9]='GetDeltaSortingOrder'
  ;   upvals: _ENV
  ;   locals: self(0-30), view(0-30), info(9-14), curOrder(26-29)
  0000  GETTABLE  R2 = R1[K0('SetSortingOrder')]
  0001  EQ        if R0 eq K1(nil)   -> -129788
  0002  JMP       (jump)   -> 14
  0003  LOADK     R2 = K2 'UIManager: SetSortingOrder is required in view '
  0004  GETTABLE  R3 = R1[K3('name')]
  0005  TEST      if not R3 then   -> -131064
  0006  JMP       (jump)   -> 8
  0007  LOADK     R3 = K4 'nil'
  0008  CONCAT    R2 = concat(R2..R2)
  0009  GETTABUP  R3 = _ENV[K5('Log')]
  0010  GETTABLE  R3 = R3[K6('Error')]
  0011  MOVE      R4 = R0
  0012  CALL      R3 = call(R3, 0 args, 1 rets)
  0013  RETURN    return R0..R-1
  0014  GETTABLE  R2 = R1[K7('sortingOrder')]
  0015  TEST      if not R2 then   -> -131055
  0016  JMP       (jump)   -> 21
  0017  SELF      R3 = R1[K0('SetSortingOrder')] (self)
  0018  GETTABLE  R4 = R1[K7('sortingOrder')]
  0019  CALL      R2 = call(R2, 0 args, 2 rets)
  0020  JMP       (jump)   -> 29
  0021  SELF      R3 = R0[K8('_GetTopViewSortingOrder')] (self)
  0022  CALL      R2 = call(R2, 1 args, 1 rets)
  0023  SELF      R4 = R0[K9('GetDeltaSortingOrder')] (self)
  0024  CALL      R3 = call(R3, 1 args, 1 rets)
  0025  ADD       R2 = R3 add R2
  0026  SELF      R4 = R1[K0('SetSortingOrder')] (self)
  0027  MOVE      R5 = R0
  0028  CALL      R3 = call(R3, 0 args, 2 rets)
  0029  RETURN    return R0..R-1
; ---------- proto20 [GetDeltaSortingOrder] ----------
  ; fn ?  line 472-474 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]=10
  ;   locals: self(0-3)
  0000  LOADK     R1 = K0 10
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto21 [CloseView] ----------
  ; fn ?  line 479-498 np=2 va=0 ms=7 code=60 consts=24 upvals=1 protos=0
  ;   K[0]='IsString'
  ;   K[1]='GetOpenedViewByName'
  ;   K[2]='Log'
  ;   K[3]='Info'
  ;   K[4]='UIManager CloseView '
  ;   K[5]='tostring'
  ;   K[6]='name'
  ;   K[7]='_GetViewState'
  ;   K[8]='EViewState'
  ;   K[9]='Opened'
  ;   K[10]='GM'
  ;   K[11]='BIManager'
  ;   K[12]='LogProfilingSession'
  ;   K[13]='_ShiftViewData'
  ;   K[14]='Closing'
  ;   K[15]='EventDispatcher'
  ;   K[16]='DispatchEvent'
  ;   K[17]='EEventType'
  ;   K[18]='OnViewWillClose'
  ;   K[19]='OnCloseView'
  ;   K[20]='eViewType'
  ;   K[21]='EViewType'
  ;   K[22]='Window'
  ;   K[23]='_UpdateWindowMask'
  ;   upvals: _ENV
  ;   locals: self(0-60), view(0-60)
  0000  GETTABUP  R2 = _ENV[K0('IsString')]
  0001  MOVE      R3 = R0
  0002  CALL      R2 = call(R2, 1 args, 1 rets)
  0003  TEST      if not R2 then   -> -131067
  0004  JMP       (jump)   -> 9
  0005  SELF      R3 = R0[K1('GetOpenedViewByName')] (self)
  0006  MOVE      R4 = R0
  0007  CALL      R2 = call(R2, 1 args, 2 rets)
  0008  MOVE      R1 = R0
  0009  TEST      if not R1 then   -> -131061
  0010  JMP       (jump)   -> 19
  0011  GETTABUP  R2 = _ENV[K2('Log')]
  0012  GETTABLE  R2 = R2[K3('Info')]
  0013  LOADK     R3 = K4 'UIManager CloseView '
  0014  GETTABUP  R4 = _ENV[K5('tostring')]
  0015  GETTABLE  R5 = R1[K6('name')]
  0016  CALL      R4 = call(R4, 1 args, 1 rets)
  0017  CONCAT    R3 = concat(R3..R3)
  0018  CALL      R2 = call(R2, 0 args, 1 rets)
  0019  TEST      if not R1 then   -> -131051
  0020  JMP       (jump)   -> 59
  0021  SELF      R3 = R0[K7('_GetViewState')] (self)
  0022  GETTABLE  R4 = R1[K6('name')]
  0023  CALL      R2 = call(R2, 1 args, 2 rets)
  0024  GETTABUP  R3 = _ENV[K8('EViewState')]
  0025  GETTABLE  R3 = R3[K9('Opened')]
  0026  EQ        if R0 eq R3   -> -130017
  0027  JMP       (jump)   -> 59
  0028  GETTABUP  R2 = _ENV[K10('GM')]
  0029  GETTABLE  R2 = R2[K11('BIManager')]
  0030  SELF      R3 = R2[K12('LogProfilingSession')] (self)
  0031  GETTABUP  R4 = _ENV[K5('tostring')]
  0032  GETTABLE  R5 = R1[K6('name')]
  0033  CALL      R4 = call(R4, -1 args, 1 rets)
  0034  CALL      R2 = call(R2, 0 args, -1 rets)
  0035  SELF      R3 = R0[K13('_ShiftViewData')] (self)
  0036  MOVE      R4 = R0
  0037  GETTABUP  R5 = _ENV[K8('EViewState')]
  0038  GETTABLE  R5 = R5[K9('Opened')]
  0039  GETTABUP  R6 = _ENV[K8('EViewState')]
  0040  GETTABLE  R6 = R6[K14('Closing')]
  0041  CALL      R2 = call(R2, 0 args, 4 rets)
  0042  GETTABUP  R2 = _ENV[K15('EventDispatcher')]
  0043  GETTABLE  R2 = R2[K16('DispatchEvent')]
  0044  GETTABUP  R3 = _ENV[K17('EEventType')]
  0045  GETTABLE  R3 = R3[K18('OnViewWillClose')]
  0046  NEWTABLE  R4 = {} (0 items)
  0047  GETTABLE  R5 = R1[K6('name')]
  0048  SETTABLE  R4[K6('name')] = R5
  0049  CALL      R2 = call(R2, 0 args, 2 rets)
  0050  SELF      R3 = R1[K19('OnCloseView')] (self)
  0051  CALL      R2 = call(R2, 0 args, 1 rets)
  0052  GETTABLE  R2 = R1[K20('eViewType')]
  0053  GETTABUP  R3 = _ENV[K21('EViewType')]
  0054  GETTABLE  R3 = R3[K22('Window')]
  0055  EQ        if R0 eq R3   -> -129988
  0056  JMP       (jump)   -> 59
  0057  SELF      R3 = R0[K23('_UpdateWindowMask')] (self)
  0058  CALL      R2 = call(R2, 0 args, 1 rets)
  0059  RETURN    return R0..R-1
; ---------- proto22 [OnViewCloseFinish] ----------
  ; fn ?  line 501-509 np=2 va=0 ms=7 code=30 consts=14 upvals=1 protos=0
  ;   K[0]='eCloseType'
  ;   K[1]='EViewCloseType'
  ;   K[2]='Destroy'
  ;   K[3]='_RemoveClosingViewData'
  ;   K[4]='Hide'
  ;   K[5]='_ShiftViewData'
  ;   K[6]='EViewState'
  ;   K[7]='Closing'
  ;   K[8]='Cached'
  ;   K[9]='EventDispatcher'
  ;   K[10]='DispatchEvent'
  ;   K[11]='EEventType'
  ;   K[12]='CloseView'
  ;   K[13]='name'
  ;   upvals: _ENV
  ;   locals: self(0-30), view(0-30)
  0000  GETTABLE  R2 = R1[K0('eCloseType')]
  0001  GETTABUP  R3 = _ENV[K1('EViewCloseType')]
  0002  GETTABLE  R3 = R3[K2('Destroy')]
  0003  EQ        if R0 eq R3   -> -130040
  0004  JMP       (jump)   -> 9
  0005  SELF      R3 = R0[K3('_RemoveClosingViewData')] (self)
  0006  MOVE      R4 = R0
  0007  CALL      R2 = call(R2, 0 args, 2 rets)
  0008  JMP       (jump)   -> 21
  0009  GETTABLE  R2 = R1[K0('eCloseType')]
  0010  GETTABUP  R3 = _ENV[K1('EViewCloseType')]
  0011  GETTABLE  R3 = R3[K4('Hide')]
  0012  EQ        if R0 eq R3   -> -130031
  0013  JMP       (jump)   -> 21
  0014  SELF      R3 = R0[K5('_ShiftViewData')] (self)
  0015  MOVE      R4 = R0
  0016  GETTABUP  R5 = _ENV[K6('EViewState')]
  0017  GETTABLE  R5 = R5[K7('Closing')]
  0018  GETTABUP  R6 = _ENV[K6('EViewState')]
  0019  GETTABLE  R6 = R6[K8('Cached')]
  0020  CALL      R2 = call(R2, 0 args, 4 rets)
  0021  GETTABUP  R2 = _ENV[K9('EventDispatcher')]
  0022  GETTABLE  R2 = R2[K10('DispatchEvent')]
  0023  GETTABUP  R3 = _ENV[K11('EEventType')]
  0024  GETTABLE  R3 = R3[K12('CloseView')]
  0025  NEWTABLE  R4 = {} (0 items)
  0026  GETTABLE  R5 = R1[K13('name')]
  0027  SETTABLE  R4[K13('name')] = R5
  0028  CALL      R2 = call(R2, 0 args, 2 rets)
  0029  RETURN    return R0..R-1
; ---------- proto23 [CloseAllOpenedWindow] ----------
  ; fn ?  line 511-520 np=1 va=0 ms=6 code=29 consts=10 upvals=1 protos=0
  ;   K[0]='m_mapViewDataList'
  ;   K[1]='EViewState'
  ;   K[2]='Opened'
  ;   K[3]=0
  ;   K[4]='view'
  ;   K[5]='eViewType'
  ;   K[6]='EViewType'
  ;   K[7]='Window'
  ;   K[8]='CloseView'
  ;   K[9]=1
  ;   upvals: _ENV
  ;   locals: self(0-29), i(5-29)
  0000  GETTABLE  R1 = R0[K0('m_mapViewDataList')]
  0001  GETTABUP  R2 = _ENV[K1('EViewState')]
  0002  GETTABLE  R2 = R2[K2('Opened')]
  0003  GETTABLE  R1 = R1[R2]
  0004  LEN       R1 = len R0
  0005  LT        if R0 lt R1   -> 1544
  0006  JMP       (jump)   -> 28
  0007  GETTABLE  R2 = R0[K0('m_mapViewDataList')]
  0008  GETTABUP  R3 = _ENV[K1('EViewState')]
  0009  GETTABLE  R3 = R3[K2('Opened')]
  0010  GETTABLE  R2 = R2[R3]
  0011  GETTABLE  R2 = R2[R1]
  0012  GETTABLE  R2 = R2[K4('view')]
  0013  GETTABLE  R2 = R2[K5('eViewType')]
  0014  GETTABUP  R3 = _ENV[K6('EViewType')]
  0015  GETTABLE  R3 = R3[K7('Window')]
  0016  EQ        if R0 eq R3   -> -130027
  0017  JMP       (jump)   -> 26
  0018  SELF      R3 = R0[K8('CloseView')] (self)
  0019  GETTABLE  R4 = R0[K0('m_mapViewDataList')]
  0020  GETTABUP  R5 = _ENV[K1('EViewState')]
  0021  GETTABLE  R5 = R5[K2('Opened')]
  0022  GETTABLE  R4 = R4[R5]
  0023  GETTABLE  R4 = R4[R1]
  0024  GETTABLE  R4 = R4[K4('view')]
  0025  CALL      R2 = call(R2, 0 args, 2 rets)
  0026  SUB       R1 = K9(1) sub R1
  0027  JMP       (jump)   -> 5
  0028  RETURN    return R0..R-1
; ---------- proto24 [GetOpenedTopView] ----------
  ; fn ?  line 524-527 np=1 va=0 ms=5 code=15 consts=4 upvals=1 protos=0
  ;   K[0]='m_mapViewDataList'
  ;   K[1]='EViewState'
  ;   K[2]='Opened'
  ;   K[3]='_GetViewGoFromViewData'
  ;   upvals: _ENV
  ;   locals: self(0-15), viewData(10-15)
  0000  GETTABLE  R1 = R0[K0('m_mapViewDataList')]
  0001  GETTABUP  R2 = _ENV[K1('EViewState')]
  0002  GETTABLE  R2 = R2[K2('Opened')]
  0003  GETTABLE  R1 = R1[R2]
  0004  GETTABLE  R2 = R0[K0('m_mapViewDataList')]
  0005  GETTABUP  R3 = _ENV[K1('EViewState')]
  0006  GETTABLE  R3 = R3[K2('Opened')]
  0007  GETTABLE  R2 = R2[R3]
  0008  LEN       R2 = len R0
  0009  GETTABLE  R1 = R1[R2]
  0010  SELF      R3 = R0[K3('_GetViewGoFromViewData')] (self)
  0011  MOVE      R4 = R0
  0012  TAILCALL  tailcall(R2, 0)
  0013  RETURN    return R2..R1
  0014  RETURN    return R0..R-1
; ---------- proto25 [_GetViewGoFromViewData] ----------
  ; fn ?  line 529-538 np=2 va=0 ms=6 code=27 consts=7 upvals=1 protos=0
  ;   K[0]='view'
  ;   K[1]='gameObject'
  ;   K[2]='IsNull'
  ;   K[3]='Log'
  ;   K[4]='Error'
  ;   K[5]='UIManager:GetOpenedTopView '
  ;   K[6]='viewName'
  ;   upvals: _ENV
  ;   locals: self(0-27), viewData(0-27), go(7-19)
  0000  TEST      if not R1 then   -> -131070
  0001  JMP       (jump)   -> 19
  0002  GETTABLE  R2 = R1[K0('view')]
  0003  TEST      if not R2 then   -> -131067
  0004  JMP       (jump)   -> 19
  0005  GETTABLE  R2 = R1[K0('view')]
  0006  GETTABLE  R2 = R2[K1('gameObject')]
  0007  SELF      R4 = R2[K2('IsNull')] (self)
  0008  CALL      R3 = call(R3, 1 args, 1 rets)
  0009  TEST      if not R3 then   -> -131061
  0010  JMP       (jump)   -> 19
  0011  GETTABUP  R3 = _ENV[K3('Log')]
  0012  GETTABLE  R3 = R3[K4('Error')]
  0013  LOADK     R4 = K5 'UIManager:GetOpenedTopView '
  0014  GETTABLE  R5 = R1[K6('viewName')]
  0015  CONCAT    R4 = concat(R4..R4)
  0016  CALL      R3 = call(R3, 0 args, 1 rets)
  0017  LOADNIL   R3..R3 = nil
  0018  RETURN    return R3..R2
  0019  TEST      if not R1 then   -> -131051
  0020  JMP       (jump)   -> 24
  0021  GETTABLE  R2 = R1[K0('view')]
  0022  TEST      if not R2 then   -> -131047
  0023  JMP       (jump)   -> 25
  0024  LOADNIL   R2..R2 = nil
  0025  RETURN    return R2..R1
  0026  RETURN    return R0..R-1
; ---------- proto26 [_GetTopViewSortingOrder] ----------
  ; fn ?  line 540-550 np=1 va=0 ms=9 code=23 consts=10 upvals=1 protos=0
  ;   K[0]='m_mapViewDataList'
  ;   K[1]='EViewState'
  ;   K[2]='Opened'
  ;   K[3]=1
  ;   K[4]=-1
  ;   K[5]='_GetViewGoFromViewData'
  ;   K[6]='sortingOrder'
  ;   K[7]=nil
  ;   K[8]='GetSortingOrder'
  ;   K[9]=0
  ;   upvals: _ENV
  ;   locals: self(0-23), openedViews(4-23), (for index)(7-20), (for limit)(7-20), (for step)(7-20), i(8-19), view(11-19)
  0000  GETTABLE  R1 = R0[K0('m_mapViewDataList')]
  0001  GETTABUP  R2 = _ENV[K1('EViewState')]
  0002  GETTABLE  R2 = R2[K2('Opened')]
  0003  GETTABLE  R1 = R1[R2]
  0004  LEN       R2 = len R0
  0005  LOADK     R3 = K3 1
  0006  LOADK     R4 = K4 -1
  0007  FORPREP   forprep R2(sBx=11)   -> 19
  0008  SELF      R7 = R0[K5('_GetViewGoFromViewData')] (self)
  0009  GETTABLE  R8 = R1[R5]
  0010  CALL      R6 = call(R6, 1 args, 2 rets)
  0011  TEST      if not R6 then   -> -131059
  0012  JMP       (jump)   -> 19
  0013  GETTABLE  R7 = R6[K6('sortingOrder')]
  0014  EQ        if R0 eq K7(nil)   -> -127209
  0015  JMP       (jump)   -> 19
  0016  SELF      R8 = R6[K8('GetSortingOrder')] (self)
  0017  TAILCALL  tailcall(R7, 0)
  0018  RETURN    return R7..R6
  0019  FORLOOP   forloop R2(sBx=-12)   -> 8
  0020  LOADK     R2 = K9 0
  0021  RETURN    return R2..R1
  0022  RETURN    return R0..R-1
; ---------- proto27 [GetOpenedTopViewByType] ----------
  ; fn ?  line 552-554 np=2 va=0 ms=3 code=10 consts=1 upvals=0 protos=0
  ;   K[0]='m_mapTopView'
  ;   locals: self(0-10), viewType(0-10)
  0000  GETTABLE  R2 = R0[K0('m_mapTopView')]
  0001  TEST      if not R2 then   -> -131069
  0002  JMP       (jump)   -> 7
  0003  GETTABLE  R2 = R0[K0('m_mapTopView')]
  0004  GETTABLE  R2 = R2[R1]
  0005  TEST      if not R2 then   -> -131064
  0006  JMP       (jump)   -> 8
  0007  LOADNIL   R2..R2 = nil
  0008  RETURN    return R2..R1
  0009  RETURN    return R0..R-1
; ---------- proto28 [GetOpenedViewByName] ----------
  ; fn ?  line 556-558 np=2 va=0 ms=6 code=7 consts=3 upvals=1 protos=0
  ;   K[0]='_GetView'
  ;   K[1]='EViewState'
  ;   K[2]='Opened'
  ;   upvals: _ENV
  ;   locals: self(0-7), viewName(0-7)
  0000  SELF      R3 = R0[K0('_GetView')] (self)
  0001  MOVE      R4 = R0
  0002  GETTABUP  R5 = _ENV[K1('EViewState')]
  0003  GETTABLE  R5 = R5[K2('Opened')]
  0004  TAILCALL  tailcall(R2, 0)
  0005  RETURN    return R2..R1
  0006  RETURN    return R0..R-1
; ---------- proto29 [_GetView] ----------
  ; fn ?  line 560-567 np=3 va=0 ms=9 code=15 consts=4 upvals=1 protos=0
  ;   K[0]='ipairs'
  ;   K[1]='m_mapViewDataList'
  ;   K[2]='viewName'
  ;   K[3]='view'
  ;   upvals: _ENV
  ;   locals: self(0-15), viewName(0-15), state(0-15), (for generator)(4-12), (for state)(4-12), (for control)(4-12), _(5-10), viewData(5-10)
  0000  GETTABUP  R3 = _ENV[K0('ipairs')]
  0001  GETTABLE  R4 = R0[K1('m_mapViewDataList')]
  0002  GETTABLE  R4 = R4[R2]
  0003  CALL      R3 = call(R3, 3 args, 1 rets)
  0004  JMP       (jump)   -> 10
  0005  GETTABLE  R8 = R7[K2('viewName')]
  0006  EQ        if R0 eq R1   -> -126967
  0007  JMP       (jump)   -> 10
  0008  GETTABLE  R8 = R7[K3('view')]
  0009  RETURN    return R8..R7
  0010  TFORCALL  tforcall R3
  0011  TFORLOOP  tforloop R5(sBx=-7)   -> 5
  0012  LOADNIL   R3..R3 = nil
  0013  RETURN    return R3..R2
  0014  RETURN    return R0..R-1
; ---------- proto30 [IsViewExisting] ----------
  ; fn ?  line 569-571 np=2 va=0 ms=5 code=11 consts=3 upvals=1 protos=0
  ;   K[0]='_GetViewState'
  ;   K[1]='EViewState'
  ;   K[2]='WaitingOpen'
  ;   upvals: _ENV
  ;   locals: self(0-11), viewName(0-11)
  0000  SELF      R3 = R0[K0('_GetViewState')] (self)
  0001  MOVE      R4 = R0
  0002  CALL      R2 = call(R2, 1 args, 2 rets)
  0003  GETTABUP  R3 = _ENV[K1('EViewState')]
  0004  GETTABLE  R3 = R3[K2('WaitingOpen')]
  0005  LE        if R1 le R2   -> -129527
  0006  JMP       (jump)   -> 8
  0007  LOADBOOL  R2 = false
  0008  LOADBOOL  R2 = true
  0009  RETURN    return R2..R1
  0010  RETURN    return R0..R-1
; ---------- proto31 [IsViewOpen] ----------
  ; fn ?  line 573-576 np=2 va=0 ms=5 code=15 consts=4 upvals=1 protos=0
  ;   K[0]='_GetViewState'
  ;   K[1]='EViewState'
  ;   K[2]='WaitingOpen'
  ;   K[3]='Closing'
  ;   upvals: _ENV
  ;   locals: self(0-15), viewName(0-15), state(3-15)
  0000  SELF      R3 = R0[K0('_GetViewState')] (self)
  0001  MOVE      R4 = R0
  0002  CALL      R2 = call(R2, 1 args, 2 rets)
  0003  GETTABUP  R3 = _ENV[K1('EViewState')]
  0004  GETTABLE  R3 = R3[K2('WaitingOpen')]
  0005  LE        if R0 le R2   -> -129527
  0006  JMP       (jump)   -> 11
  0007  GETTABUP  R3 = _ENV[K1('EViewState')]
  0008  GETTABLE  R3 = R3[K3('Closing')]
  0009  EQ        if R0 eq R3   -> -130034
  0010  JMP       (jump)   -> 12
  0011  LOADBOOL  R3 = false
  0012  LOADBOOL  R3 = true
  0013  RETURN    return R3..R2
  0014  RETURN    return R0..R-1
; ---------- proto32 [GetOpenedViewCountByType] ----------
  ; fn ?  line 578-587 np=2 va=0 ms=9 code=17 consts=8 upvals=1 protos=0
  ;   K[0]=0
  ;   K[1]='ipairs'
  ;   K[2]='m_mapViewDataList'
  ;   K[3]='EViewState'
  ;   K[4]='Opened'
  ;   K[5]='view'
  ;   K[6]='eViewType'
  ;   K[7]=1
  ;   upvals: _ENV
  ;   locals: self(0-17), viewType(0-17), count(1-17), (for generator)(7-15), (for state)(7-15), (for control)(7-15), _(8-13), viewData(8-13)
  0000  LOADK     R2 = K0 0
  0001  GETTABUP  R3 = _ENV[K1('ipairs')]
  0002  GETTABLE  R4 = R0[K2('m_mapViewDataList')]
  0003  GETTABUP  R5 = _ENV[K3('EViewState')]
  0004  GETTABLE  R5 = R5[K4('Opened')]
  0005  GETTABLE  R4 = R4[R5]
  0006  CALL      R3 = call(R3, 3 args, 1 rets)
  0007  JMP       (jump)   -> 13
  0008  GETTABLE  R8 = R7[K5('view')]
  0009  GETTABLE  R8 = R8[K6('eViewType')]
  0010  EQ        if R0 eq R1   -> -126963
  0011  JMP       (jump)   -> 13
  0012  ADD       R2 = K7(1) add R2
  0013  TFORCALL  tforcall R3
  0014  TFORLOOP  tforloop R5(sBx=-7)   -> 8
  0015  RETURN    return R2..R1
  0016  RETURN    return R0..R-1
; ---------- proto33 [GetCanvasSize] ----------
  ; fn ?  line 591-593 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_canvasSize'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_canvasSize')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto34 [GetCanvasRoot] ----------
  ; fn ?  line 595-597 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_canvasRootRect'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_canvasRootRect')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto35 [GetCanvas] ----------
  ; fn ?  line 599-601 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_canvas'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_canvas')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto36 [OnSceneChange] ----------
  ; fn ?  line 603-606 np=1 va=0 ms=4 code=6 consts=2 upvals=0 protos=0
  ;   K[0]='_ResetViewData'
  ;   K[1]='_UpdateWindowMask'
  ;   locals: self(0-6)
  0000  SELF      R2 = R0[K0('_ResetViewData')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  SELF      R2 = R0[K1('_UpdateWindowMask')] (self)
  0003  LOADBOOL  R3 = true
  0004  CALL      R1 = call(R1, 0 args, 2 rets)
  0005  RETURN    return R0..R-1
; ---------- proto37 [OnGameModeChange] ----------
  ; fn ?  line 608-611 np=1 va=0 ms=4 code=6 consts=2 upvals=0 protos=0
  ;   K[0]='_UpdateWindowMask'
  ;   K[1]='_UpdateInputMultiTouch'
  ;   locals: self(0-6)
  0000  SELF      R2 = R0[K0('_UpdateWindowMask')] (self)
  0001  LOADBOOL  R3 = true
  0002  CALL      R1 = call(R1, 0 args, 2 rets)
  0003  SELF      R2 = R0[K1('_UpdateInputMultiTouch')] (self)
  0004  CALL      R1 = call(R1, 0 args, 1 rets)
  0005  RETURN    return R0..R-1
; ---------- proto38 [LoadComponent] ----------
  ; fn ?  line 613-625 np=4 va=1 ms=12 code=27 consts=13 upvals=1 protos=1
  ;   K[0]='_CheckViewNameValid'
  ;   K[1]='table'
  ;   K[2]='pack'
  ;   K[3]='GM'
  ;   K[4]='ResourceLoader'
  ;   K[5]='LoadPrefab'
  ;   K[6]='DataResource'
  ;   K[7]='UIPrefabConfig'
  ;   K[8]='GetConfig'
  ;   K[9]='gameObject'
  ;   K[10]='transform'
  ;   K[11]='Vector3'
  ;   K[12]='zero'
  ;   upvals: _ENV
  ;   locals: self(0-27), name(0-27), view(0-27), callback(0-27), args(10-27), loadCallback(11-27)
  0000  SELF      R5 = R0[K0('_CheckViewNameValid')] (self)
  0001  MOVE      R6 = R0
  0002  CALL      R4 = call(R4, 1 args, 2 rets)
  0003  TEST      if not R4 then   -> -131066
  0004  JMP       (jump)   -> 6
  0005  RETURN    return R0..R-1
  0006  GETTABUP  R4 = _ENV[K1('table')]
  0007  GETTABLE  R4 = R4[K2('pack')]
  0008  VARARG    R5 = vararg(0)
  0009  CALL      R4 = call(R4, 1 args, -1 rets)
  0010  CLOSURE   R5 = closure proto0
  0011  GETTABUP  R6 = _ENV[K3('GM')]
  0012  GETTABLE  R6 = R6[K4('ResourceLoader')]
  0013  SELF      R7 = R6[K5('LoadPrefab')] (self)
  0014  GETTABUP  R8 = _ENV[K3('GM')]
  0015  GETTABLE  R8 = R8[K6('DataResource')]
  0016  GETTABLE  R8 = R8[K7('UIPrefabConfig')]
  0017  SELF      R9 = R8[K8('GetConfig')] (self)
  0018  MOVE      R10 = R0
  0019  CALL      R8 = call(R8, 1 args, 2 rets)
  0020  GETTABLE  R9 = R2[K9('gameObject')]
  0021  GETTABLE  R9 = R9[K10('transform')]
  0022  GETTABUP  R10 = _ENV[K11('Vector3')]
  0023  GETTABLE  R10 = R10[K12('zero')]
  0024  MOVE      R11 = R0
  0025  CALL      R6 = call(R6, 0 args, 5 rets)
  0026  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 618-623 np=1 va=0 ms=8 code=17 consts=7 upvals=5 protos=0
    ;   K[0]='GetLuaTable'
    ;   K[1]='name'
    ;   K[2]='Open'
    ;   K[3]='table'
    ;   K[4]='unpack'
    ;   K[5]=1
    ;   K[6]='n'
    ;   upvals: name, _ENV, args, callback, view
    ;   locals: go(0-17), component(2-17)
    0000  SELF      R2 = R0[K0('GetLuaTable')] (self)
    0001  CALL      R1 = call(R1, 1 args, 1 rets)
    0002  GETUPVAL  R2 = name
    0003  SETTABLE  R1[K1('name')] = R2
    0004  SELF      R3 = R1[K2('Open')] (self)
    0005  GETTABUP  R4 = _ENV[K3('table')]
    0006  GETTABLE  R4 = R4[K4('unpack')]
    0007  GETUPVAL  R5 = name
    0008  LOADK     R6 = K5 1
    0009  GETTABUP  R7 = args[K6('n')]
    0010  CALL      R4 = call(R4, -1 args, 3 rets)
    0011  CALL      R2 = call(R2, 0 args, -1 rets)
    0012  GETUPVAL  R2 = name
    0013  GETUPVAL  R3 = name
    0014  MOVE      R4 = R0
    0015  CALL      R2 = call(R2, 0 args, 2 rets)
    0016  RETURN    return R0..R-1
; ---------- proto39 [_CheckViewNameValid] ----------
  ; fn ?  line 627-633 np=2 va=0 ms=6 code=20 consts=8 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='DataResource'
  ;   K[2]='UIPrefabConfig'
  ;   K[3]='GetConfig'
  ;   K[4]='Log'
  ;   K[5]='Error'
  ;   K[6]='no prefab for '
  ;   K[7]=', please config in UIPrefabConfig'
  ;   upvals: _ENV
  ;   locals: self(0-20), strViewName(0-20)
  0000  GETTABUP  R2 = _ENV[K0('GM')]
  0001  GETTABLE  R2 = R2[K1('DataResource')]
  0002  GETTABLE  R2 = R2[K2('UIPrefabConfig')]
  0003  SELF      R3 = R2[K3('GetConfig')] (self)
  0004  MOVE      R4 = R0
  0005  CALL      R2 = call(R2, 1 args, 2 rets)
  0006  TEST      if not R2 then   -> -131063
  0007  JMP       (jump)   -> 17
  0008  GETTABUP  R2 = _ENV[K4('Log')]
  0009  GETTABLE  R2 = R2[K5('Error')]
  0010  LOADK     R3 = K6 'no prefab for '
  0011  MOVE      R4 = R0
  0012  LOADK     R5 = K7 ', please config in UIPrefabConfig'
  0013  CONCAT    R3 = concat(R3..R3)
  0014  CALL      R2 = call(R2, 0 args, 1 rets)
  0015  LOADBOOL  R2 = false
  0016  RETURN    return R2..R1
  0017  LOADBOOL  R2 = true
  0018  RETURN    return R2..R1
  0019  RETURN    return R0..R-1
; ---------- proto40 [SetEventLock] ----------
  ; fn ?  line 642-669 np=4 va=0 ms=10 code=74 consts=18 upvals=1 protos=0
  ;   K[0]='GameConfig'
  ;   K[1]='IsTestMode'
  ;   K[2]='Log'
  ;   K[3]='Traceback'
  ;   K[4]='SetEventLock:'
  ;   K[5]='true'
  ;   K[6]='false'
  ;   K[7]=1
  ;   K[8]=-1
  ;   K[9]=nil
  ;   K[10]='m_lockCountWithoutTarget'
  ;   K[11]='Assert'
  ;   K[12]=0
  ;   K[13]='lockCount不应为负数'
  ;   K[14]='m_lockTargetCountMap'
  ;   K[15]='_AddEventLockCallback'
  ;   K[16]='_RemoveEventLockCallback'
  ;   K[17]='UpdateEventLockRect'
  ;   upvals: _ENV
  ;   locals: self(0-74), locked(0-74), target(0-74), callback(0-74), delta(22-74), lockCount(39-71)
  0000  GETTABUP  R4 = _ENV[K0('GameConfig')]
  0001  GETTABLE  R4 = R4[K1('IsTestMode')]
  0002  CALL      R4 = call(R4, 1 args, 0 rets)
  0003  TEST      if not R4 then   -> -131067
  0004  JMP       (jump)   -> 16
  0005  GETTABUP  R4 = _ENV[K2('Log')]
  0006  GETTABLE  R4 = R4[K3('Traceback')]
  0007  LOADK     R5 = K4 'SetEventLock:'
  0008  TEST      if not R1 then   -> -131062
  0009  JMP       (jump)   -> 13
  0010  LOADK     R6 = K5 'true'
  0011  TEST      if not R6 then   -> -131058
  0012  JMP       (jump)   -> 14
  0013  LOADK     R6 = K6 'false'
  0014  CONCAT    R5 = concat(R5..R5)
  0015  CALL      R4 = call(R4, 0 args, 1 rets)
  0016  TEST      if not R1 then   -> -131054
  0017  JMP       (jump)   -> 21
  0018  LOADK     R4 = K7 1
  0019  TEST      if not R4 then   -> -131050
  0020  JMP       (jump)   -> 22
  0021  LOADK     R4 = K8 -1
  0022  EQ        if R0 eq K9(nil)   -> -129759
  0023  JMP       (jump)   -> 37
  0024  GETTABLE  R5 = R0[K10('m_lockCountWithoutTarget')]
  0025  ADD       R5 = R4 add R5
  0026  SETTABLE  R0[K10('m_lockCountWithoutTarget')] = R5
  0027  GETTABUP  R5 = _ENV[K2('Log')]
  0028  GETTABLE  R5 = R5[K11('Assert')]
  0029  GETTABLE  R6 = R0[K10('m_lockCountWithoutTarget')]
  0030  LE        if R1 le R6   -> 6182
  0031  JMP       (jump)   -> 33
  0032  LOADBOOL  R6 = false
  0033  LOADBOOL  R6 = true
  0034  LOADK     R7 = K13 'lockCount不应为负数'
  0035  CALL      R5 = call(R5, 0 args, 2 rets)
  0036  JMP       (jump)   -> 71
  0037  GETTABLE  R5 = R0[K14('m_lockTargetCountMap')]
  0038  GETTABLE  R5 = R5[R2]
  0039  EQ        if R0 eq K9(nil)   -> -128206
  0040  JMP       (jump)   -> 44
  0041  TEST      if not R1 then   -> -131028
  0042  JMP       (jump)   -> 44
  0043  RETURN    return R0..R-1
  0044  TESTSET   if R1 then R6   -> -128465
  0045  JMP       (jump)   -> 47
  0046  LOADK     R6 = K12 0
  0047  ADD       R5 = R4 add R6
  0048  GETTABUP  R6 = _ENV[K2('Log')]
  0049  GETTABLE  R6 = R6[K11('Assert')]
  0050  LE        if R1 le R5   -> 6201
  0051  JMP       (jump)   -> 53
  0052  LOADBOOL  R7 = false
  0053  LOADBOOL  R7 = true
  0054  LOADK     R8 = K13 'lockCount不应为负数'
  0055  CALL      R6 = call(R6, 0 args, 2 rets)
  0056  GETTABLE  R6 = R0[K14('m_lockTargetCountMap')]
  0057  SETTABLE  R6[R2] = R5
  0058  EQ        if R1 eq K9(nil)   -> -129211
  0059  JMP       (jump)   -> 71
  0060  TEST      if not R1 then   -> -131010
  0061  JMP       (jump)   -> 67
  0062  SELF      R7 = R0[K15('_AddEventLockCallback')] (self)
  0063  MOVE      R8 = R0
  0064  MOVE      R9 = R0
  0065  CALL      R6 = call(R6, 0 args, 3 rets)
  0066  JMP       (jump)   -> 71
  0067  SELF      R7 = R0[K16('_RemoveEventLockCallback')] (self)
  0068  MOVE      R8 = R0
  0069  MOVE      R9 = R0
  0070  CALL      R6 = call(R6, 0 args, 3 rets)
  0071  SELF      R6 = R0[K17('UpdateEventLockRect')] (self)
  0072  CALL      R5 = call(R5, 0 args, 1 rets)
  0073  RETURN    return R0..R-1
; ---------- proto41 [UpdateEventLockRect] ----------
  ; fn ?  line 671-687 np=1 va=0 ms=4 code=34 consts=13 upvals=1 protos=0
  ;   K[0]='IsEventLock'
  ;   K[1]='m_bLastLocked'
  ;   K[2]='m_eventLockRect'
  ;   K[3]='IsNull'
  ;   K[4]='localScale'
  ;   K[5]='V3One'
  ;   K[6]='Vector3'
  ;   K[7]='zero'
  ;   K[8]='EventDispatcher'
  ;   K[9]='DispatchEvent'
  ;   K[10]='EEventType'
  ;   K[11]='EventLockClear'
  ;   K[12]='EventLockBegin'
  ;   upvals: _ENV
  ;   locals: self(0-34), bLock(2-34)
  0000  SELF      R2 = R0[K0('IsEventLock')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  GETTABLE  R2 = R0[K1('m_bLastLocked')]
  0003  EQ        if R1 eq R1   -> -130042
  0004  JMP       (jump)   -> 32
  0005  GETTABLE  R2 = R0[K2('m_eventLockRect')]
  0006  SELF      R3 = R2[K3('IsNull')] (self)
  0007  CALL      R2 = call(R2, 1 args, 1 rets)
  0008  TEST      if not R2 then   -> -131061
  0009  JMP       (jump)   -> 19
  0010  GETTABLE  R2 = R0[K2('m_eventLockRect')]
  0011  TEST      if not R1 then   -> -131059
  0012  JMP       (jump)   -> 16
  0013  GETTABUP  R3 = _ENV[K5('V3One')]
  0014  TEST      if not R3 then   -> -131055
  0015  JMP       (jump)   -> 18
  0016  GETTABUP  R3 = _ENV[K6('Vector3')]
  0017  GETTABLE  R3 = R3[K7('zero')]
  0018  SETTABLE  R2[K4('localScale')] = R3
  0019  TEST      if not R1 then   -> -131050
  0020  JMP       (jump)   -> 27
  0021  GETTABUP  R2 = _ENV[K8('EventDispatcher')]
  0022  GETTABLE  R2 = R2[K9('DispatchEvent')]
  0023  GETTABUP  R3 = _ENV[K10('EEventType')]
  0024  GETTABLE  R3 = R3[K11('EventLockClear')]
  0025  CALL      R2 = call(R2, 0 args, 1 rets)
  0026  JMP       (jump)   -> 32
  0027  GETTABUP  R2 = _ENV[K8('EventDispatcher')]
  0028  GETTABLE  R2 = R2[K9('DispatchEvent')]
  0029  GETTABUP  R3 = _ENV[K10('EEventType')]
  0030  GETTABLE  R3 = R3[K12('EventLockBegin')]
  0031  CALL      R2 = call(R2, 0 args, 1 rets)
  0032  SETTABLE  R0[K1('m_bLastLocked')] = R1
  0033  RETURN    return R0..R-1
; ---------- proto42 [_AddEventLockCallback] ----------
  ; fn ?  line 689-695 np=3 va=0 ms=7 code=18 consts=9 upvals=1 protos=0
  ;   K[0]='m_mapEventLockCallback'
  ;   K[1]=nil
  ;   K[2]='Log'
  ;   K[3]='Error'
  ;   K[4]='[UIManager:_AddEventLockCallback] target有已经绑定的callback'
  ;   K[5]='EventDispatcher'
  ;   K[6]='AddListener'
  ;   K[7]='EEventType'
  ;   K[8]='OnEventLockMaskClicked'
  ;   upvals: _ENV
  ;   locals: self(0-18), target(0-18), callback(0-18)
  0000  GETTABLE  R3 = R0[K0('m_mapEventLockCallback')]
  0001  GETTABLE  R3 = R3[R1]
  0002  EQ        if R1 eq K1(nil)   -> -129275
  0003  JMP       (jump)   -> 8
  0004  GETTABUP  R3 = _ENV[K2('Log')]
  0005  GETTABLE  R3 = R3[K3('Error')]
  0006  LOADK     R4 = K4 '[UIManager:_AddEventLockCallback] target有已经绑定的callback'
  0007  CALL      R3 = call(R3, 0 args, 1 rets)
  0008  GETTABLE  R3 = R0[K0('m_mapEventLockCallback')]
  0009  SETTABLE  R3[R1] = R2
  0010  GETTABUP  R3 = _ENV[K5('EventDispatcher')]
  0011  GETTABLE  R3 = R3[K6('AddListener')]
  0012  GETTABUP  R4 = _ENV[K7('EEventType')]
  0013  GETTABLE  R4 = R4[K8('OnEventLockMaskClicked')]
  0014  MOVE      R5 = R0
  0015  MOVE      R6 = R0
  0016  CALL      R3 = call(R3, 0 args, 3 rets)
  0017  RETURN    return R0..R-1
; ---------- proto43 [_RemoveEventLockCallback] ----------
  ; fn ?  line 697-703 np=3 va=0 ms=6 code=17 consts=9 upvals=1 protos=0
  ;   K[0]='m_mapEventLockCallback'
  ;   K[1]='Log'
  ;   K[2]='Error'
  ;   K[3]='[UIManager:_RemoveEventLockCallback] target没有绑定对应callback'
  ;   K[4]=nil
  ;   K[5]='EventDispatcher'
  ;   K[6]='RemoveListener'
  ;   K[7]='EEventType'
  ;   K[8]='OnEventLockMaskClicked'
  ;   upvals: _ENV
  ;   locals: self(0-17), target(0-17), callback(0-17)
  0000  GETTABLE  R3 = R0[K0('m_mapEventLockCallback')]
  0001  GETTABLE  R3 = R3[R1]
  0002  EQ        if R1 eq R2   -> -129530
  0003  JMP       (jump)   -> 8
  0004  GETTABUP  R3 = _ENV[K1('Log')]
  0005  GETTABLE  R3 = R3[K2('Error')]
  0006  LOADK     R4 = K3 '[UIManager:_RemoveEventLockCallback] target没有绑定对应callback'
  0007  CALL      R3 = call(R3, 0 args, 1 rets)
  0008  GETTABLE  R3 = R0[K0('m_mapEventLockCallback')]
  0009  SETTABLE  R3[R1] = K4(nil)
  0010  GETTABUP  R3 = _ENV[K5('EventDispatcher')]
  0011  GETTABLE  R3 = R3[K6('RemoveListener')]
  0012  GETTABUP  R4 = _ENV[K7('EEventType')]
  0013  GETTABLE  R4 = R4[K8('OnEventLockMaskClicked')]
  0014  MOVE      R5 = R0
  0015  CALL      R3 = call(R3, 0 args, 2 rets)
  0016  RETURN    return R0..R-1
; ---------- proto44 [OnEventLockMaskClick] ----------
  ; fn ?  line 705-710 np=1 va=0 ms=3 code=16 consts=10 upvals=1 protos=0
  ;   K[0]='Log'
  ;   K[1]='Debug'
  ;   K[2]='EventLockClick'
  ;   K[3]='Table'
  ;   K[4]='IsEmpty'
  ;   K[5]='m_mapEventLockCallback'
  ;   K[6]='EventDispatcher'
  ;   K[7]='DispatchEvent'
  ;   K[8]='EEventType'
  ;   K[9]='OnEventLockMaskClicked'
  ;   upvals: _ENV
  ;   locals: self(0-16)
  0000  GETTABUP  R1 = _ENV[K0('Log')]
  0001  GETTABLE  R1 = R1[K1('Debug')]
  0002  LOADK     R2 = K2 'EventLockClick'
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  GETTABUP  R1 = _ENV[K3('Table')]
  0005  GETTABLE  R1 = R1[K4('IsEmpty')]
  0006  GETTABLE  R2 = R0[K5('m_mapEventLockCallback')]
  0007  CALL      R1 = call(R1, 1 args, 1 rets)
  0008  TEST      if not R1 then   -> -131061
  0009  JMP       (jump)   -> 15
  0010  GETTABUP  R1 = _ENV[K6('EventDispatcher')]
  0011  GETTABLE  R1 = R1[K7('DispatchEvent')]
  0012  GETTABUP  R2 = _ENV[K8('EEventType')]
  0013  GETTABLE  R2 = R2[K9('OnEventLockMaskClicked')]
  0014  CALL      R1 = call(R1, 0 args, 1 rets)
  0015  RETURN    return R0..R-1
; ---------- proto45 [RemoveAllEventLocks] ----------
  ; fn ?  line 712-721 np=2 va=0 ms=5 code=17 consts=8 upvals=1 protos=0
  ;   K[0]='m_lockTargetCountMap'
  ;   K[1]=nil
  ;   K[2]='m_mapEventLockCallback'
  ;   K[3]='EventDispatcher'
  ;   K[4]='RemoveListener'
  ;   K[5]='EEventType'
  ;   K[6]='OnEventLockMaskClicked'
  ;   K[7]='UpdateEventLockRect'
  ;   upvals: _ENV
  ;   locals: self(0-17), target(0-17)
  0000  GETTABLE  R2 = R0[K0('m_lockTargetCountMap')]
  0001  SETTABLE  R2[R1] = K1(nil)
  0002  GETTABLE  R2 = R0[K2('m_mapEventLockCallback')]
  0003  GETTABLE  R2 = R2[R1]
  0004  TEST      if not R2 then   -> -131066
  0005  JMP       (jump)   -> 14
  0006  GETTABLE  R2 = R0[K2('m_mapEventLockCallback')]
  0007  SETTABLE  R2[R1] = K1(nil)
  0008  GETTABUP  R2 = _ENV[K3('EventDispatcher')]
  0009  GETTABLE  R2 = R2[K4('RemoveListener')]
  0010  GETTABUP  R3 = _ENV[K5('EEventType')]
  0011  GETTABLE  R3 = R3[K6('OnEventLockMaskClicked')]
  0012  MOVE      R4 = R0
  0013  CALL      R2 = call(R2, 0 args, 2 rets)
  0014  SELF      R3 = R0[K7('UpdateEventLockRect')] (self)
  0015  CALL      R2 = call(R2, 0 args, 1 rets)
  0016  RETURN    return R0..R-1
; ---------- proto46 [IsEventLock] ----------
  ; fn ?  line 723-739 np=2 va=0 ms=8 code=25 consts=5 upvals=1 protos=0
  ;   K[0]='m_lockCountWithoutTarget'
  ;   K[1]=0
  ;   K[2]='m_bEventLockUntilNextPopup'
  ;   K[3]='pairs'
  ;   K[4]='m_lockTargetCountMap'
  ;   upvals: _ENV
  ;   locals: self(0-25), ignorePopupLock(0-25), (for generator)(15-22), (for state)(15-22), (for control)(15-22), _(16-20), count(16-20)
  0000  GETTABLE  R2 = R0[K0('m_lockCountWithoutTarget')]
  0001  LT        if R0 lt R2   -> 517
  0002  JMP       (jump)   -> 5
  0003  LOADBOOL  R2 = true
  0004  RETURN    return R2..R1
  0005  GETTABLE  R2 = R0[K2('m_bEventLockUntilNextPopup')]
  0006  TEST      if not R2 then   -> -131064
  0007  JMP       (jump)   -> 12
  0008  TEST      if not R1 then   -> -131061
  0009  JMP       (jump)   -> 12
  0010  LOADBOOL  R2 = true
  0011  RETURN    return R2..R1
  0012  GETTABUP  R2 = _ENV[K3('pairs')]
  0013  GETTABLE  R3 = R0[K4('m_lockTargetCountMap')]
  0014  CALL      R2 = call(R2, 3 args, 1 rets)
  0015  JMP       (jump)   -> 20
  0016  LT        if R0 lt R6   -> 536
  0017  JMP       (jump)   -> 20
  0018  LOADBOOL  R7 = true
  0019  RETURN    return R7..R6
  0020  TFORCALL  tforcall R2
  0021  TFORLOOP  tforloop R4(sBx=-6)   -> 16
  0022  LOADBOOL  R2 = false
  0023  RETURN    return R2..R1
  0024  RETURN    return R0..R-1
; ---------- proto47 [SetEventLockUntilNextPopup] ----------
  ; fn ?  line 742-745 np=1 va=0 ms=3 code=4 consts=3 upvals=0 protos=0
  ;   K[0]='m_bEventLockUntilNextPopup'
  ;   K[1]=true
  ;   K[2]='UpdateEventLockRect'
  ;   locals: self(0-4)
  0000  SETTABLE  R0[K0('m_bEventLockUntilNextPopup')] = K1(true)
  0001  SELF      R2 = R0[K2('UpdateEventLockRect')] (self)
  0002  CALL      R1 = call(R1, 0 args, 1 rets)
  0003  RETURN    return R0..R-1
; ---------- proto48 [CancelEventLockUntilNextPopup] ----------
  ; fn ?  line 747-750 np=1 va=0 ms=3 code=4 consts=3 upvals=0 protos=0
  ;   K[0]='m_bEventLockUntilNextPopup'
  ;   K[1]=false
  ;   K[2]='UpdateEventLockRect'
  ;   locals: self(0-4)
  0000  SETTABLE  R0[K0('m_bEventLockUntilNextPopup')] = K1(false)
  0001  SELF      R2 = R0[K2('UpdateEventLockRect')] (self)
  0002  CALL      R1 = call(R1, 0 args, 1 rets)
  0003  RETURN    return R0..R-1
; ---------- proto49 [IsEventLockUntilNextPopup] ----------
  ; fn ?  line 752-754 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_bEventLockUntilNextPopup'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_bEventLockUntilNextPopup')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto50 [OnChainPopuped] ----------
  ; fn ?  line 756-759 np=1 va=0 ms=3 code=4 consts=3 upvals=0 protos=0
  ;   K[0]='m_bEventLockUntilNextPopup'
  ;   K[1]=false
  ;   K[2]='UpdateEventLockRect'
  ;   locals: self(0-4)
  0000  SETTABLE  R0[K0('m_bEventLockUntilNextPopup')] = K1(false)
  0001  SELF      R2 = R0[K2('UpdateEventLockRect')] (self)
  0002  CALL      R1 = call(R1, 0 args, 1 rets)
  0003  RETURN    return R0..R-1
; ---------- proto51 [_GetViewState] ----------
  ; fn ?  line 761-763 np=2 va=0 ms=3 code=8 consts=3 upvals=1 protos=0
  ;   K[0]='m_mapViewName2ViewState'
  ;   K[1]='EViewState'
  ;   K[2]='Invalid'
  ;   upvals: _ENV
  ;   locals: self(0-8), strViewName(0-8)
  0000  GETTABLE  R2 = R0[K0('m_mapViewName2ViewState')]
  0001  GETTABLE  R2 = R2[R1]
  0002  TEST      if not R2 then   -> -131067
  0003  JMP       (jump)   -> 6
  0004  GETTABUP  R2 = _ENV[K1('EViewState')]
  0005  GETTABLE  R2 = R2[K2('Invalid')]
  0006  RETURN    return R2..R1
  0007  RETURN    return R0..R-1
; ---------- proto52 [_ShouldShowWindowMask] ----------
  ; fn ?  line 765-781 np=1 va=0 ms=10 code=35 consts=13 upvals=1 protos=0
  ;   K[0]=0
  ;   K[1]='ipairs'
  ;   K[2]='m_mapViewDataList'
  ;   K[3]='EViewState'
  ;   K[4]='Opened'
  ;   K[5]='view'
  ;   K[6]='eViewType'
  ;   K[7]='EViewType'
  ;   K[8]='Window'
  ;   K[9]='showWindowMask'
  ;   K[10]='windowMaskAlpha'
  ;   K[11]='EWindowMaskAlpha'
  ;   K[12]='Default'
  ;   upvals: _ENV
  ;   locals: self(0-35), hasMask(1-35), maskAlpha(2-35), (for generator)(8-31), (for state)(8-31), (for control)(8-31), _(9-29), viewData(9-29), alpha(26-29)
  0000  LOADBOOL  R1 = false
  0001  LOADK     R2 = K0 0
  0002  GETTABUP  R3 = _ENV[K1('ipairs')]
  0003  GETTABLE  R4 = R0[K2('m_mapViewDataList')]
  0004  GETTABUP  R5 = _ENV[K3('EViewState')]
  0005  GETTABLE  R5 = R5[K4('Opened')]
  0006  GETTABLE  R4 = R4[R5]
  0007  CALL      R3 = call(R3, 3 args, 1 rets)
  0008  JMP       (jump)   -> 29
  0009  GETTABLE  R8 = R7[K5('view')]
  0010  GETTABLE  R8 = R8[K6('eViewType')]
  0011  GETTABUP  R9 = _ENV[K7('EViewType')]
  0012  GETTABLE  R9 = R9[K8('Window')]
  0013  EQ        if R0 eq R9   -> -126952
  0014  JMP       (jump)   -> 29
  0015  GETTABLE  R8 = R7[K5('view')]
  0016  GETTABLE  R8 = R8[K9('showWindowMask')]
  0017  TEST      if not R8 then   -> -131053
  0018  JMP       (jump)   -> 29
  0019  LOADBOOL  R1 = true
  0020  GETTABLE  R8 = R7[K5('view')]
  0021  GETTABLE  R8 = R8[K10('windowMaskAlpha')]
  0022  TEST      if not R8 then   -> -131047
  0023  JMP       (jump)   -> 26
  0024  GETTABUP  R8 = _ENV[K11('EWindowMaskAlpha')]
  0025  GETTABLE  R8 = R8[K12('Default')]
  0026  LT        if R0 lt R8   -> -130012
  0027  JMP       (jump)   -> 29
  0028  MOVE      R2 = R0
  0029  TFORCALL  tforcall R3
  0030  TFORLOOP  tforloop R5(sBx=-22)   -> 9
  0031  MOVE      R3 = R0
  0032  MOVE      R4 = R0
  0033  RETURN    return R3..R2
  0034  RETURN    return R0..R-1
; ---------- proto53 [_UpdateWindowMask] ----------
  ; fn ?  line 783-829 np=2 va=0 ms=11 code=111 consts=29 upvals=1 protos=2
  ;   K[0]='GetOpenedTopViewByType'
  ;   K[1]='EViewType'
  ;   K[2]='Window'
  ;   K[3]='_ShouldShowWindowMask'
  ;   K[4]='m_bWindowMaskOn'
  ;   K[5]='m_windowMaskCanvas'
  ;   K[6]='gameObject'
  ;   K[7]='SetActive'
  ;   K[8]=true
  ;   K[9]='m_windowMaskTween'
  ;   K[10]=nil
  ;   K[11]='Kill'
  ;   K[12]='m_windowMaskImg'
  ;   K[13]='DOFade'
  ;   K[14]='showWindowMaskAnimDuration'
  ;   K[15]=0.16666666666666666
  ;   K[16]='OnComplete'
  ;   K[17]='color'
  ;   K[18]='a'
  ;   K[19]='m_windowMaskTween'
  ;   K[20]=nil
  ;   K[21]='CSColor'
  ;   K[22]=0
  ;   K[23]='sortingOrder'
  ;   K[24]='GetSortingOrder'
  ;   K[25]=2
  ;   K[26]='m_iClickIndex'
  ;   K[27]=false
  ;   K[28]='IsNull'
  ;   upvals: _ENV
  ;   locals: self(0-111), changeScene(0-111), topWindow(4-111), hasMask(6-111), maskAlpha(6-111)
  0000  SELF      R3 = R0[K0('GetOpenedTopViewByType')] (self)
  0001  GETTABUP  R4 = _ENV[K1('EViewType')]
  0002  GETTABLE  R4 = R4[K2('Window')]
  0003  CALL      R2 = call(R2, 1 args, 2 rets)
  0004  SELF      R4 = R0[K3('_ShouldShowWindowMask')] (self)
  0005  CALL      R3 = call(R3, 2 args, 1 rets)
  0006  TEST      if not R3 then   -> -131064
  0007  JMP       (jump)   -> 63
  0008  GETTABLE  R5 = R0[K4('m_bWindowMaskOn')]
  0009  TEST      if not R5 then   -> -131060
  0010  JMP       (jump)   -> 37
  0011  GETTABLE  R5 = R0[K5('m_windowMaskCanvas')]
  0012  GETTABLE  R5 = R5[K6('gameObject')]
  0013  SELF      R6 = R5[K7('SetActive')] (self)
  0014  LOADBOOL  R7 = true
  0015  CALL      R5 = call(R5, 0 args, 2 rets)
  0016  SETTABLE  R0[K4('m_bWindowMaskOn')] = K8(true)
  0017  GETTABLE  R5 = R0[K9('m_windowMaskTween')]
  0018  EQ        if R1 eq K10(nil)   -> -128226
  0019  JMP       (jump)   -> 23
  0020  GETTABLE  R5 = R0[K9('m_windowMaskTween')]
  0021  SELF      R6 = R5[K11('Kill')] (self)
  0022  CALL      R5 = call(R5, 0 args, 1 rets)
  0023  GETTABLE  R5 = R0[K12('m_windowMaskImg')]
  0024  SELF      R6 = R5[K13('DOFade')] (self)
  0025  MOVE      R7 = R0
  0026  GETTABLE  R8 = R2[K14('showWindowMaskAnimDuration')]
  0027  TEST      if not R8 then   -> -131042
  0028  JMP       (jump)   -> 30
  0029  LOADK     R8 = K15 0.16666666666666666
  0030  CALL      R5 = call(R5, 1 args, 3 rets)
  0031  SETTABLE  R0[K9('m_windowMaskTween')] = R5
  0032  GETTABLE  R5 = R0[K9('m_windowMaskTween')]
  0033  SELF      R6 = R5[K16('OnComplete')] (self)
  0034  CLOSURE   R7 = closure proto0
  0035  CALL      R5 = call(R5, 0 args, 2 rets)
  0036  JMP       (jump)   -> 56
  0037  GETTABLE  R5 = R0[K12('m_windowMaskImg')]
  0038  GETTABLE  R5 = R5[K17('color')]
  0039  GETTABLE  R5 = R5[K18('a')]
  0040  EQ        if R1 eq R4   -> -128466
  0041  JMP       (jump)   -> 56
  0042  GETTABLE  R5 = R0[K19('m_windowMaskTween')]
  0043  EQ        if R1 eq K20(nil)   -> -128191
  0044  JMP       (jump)   -> 48
  0045  GETTABLE  R5 = R0[K19('m_windowMaskTween')]
  0046  SELF      R6 = R5[K11('Kill')] (self)
  0047  CALL      R5 = call(R5, 0 args, 1 rets)
  0048  GETTABLE  R5 = R0[K12('m_windowMaskImg')]
  0049  GETTABUP  R6 = _ENV[K21('CSColor')]
  0050  LOADK     R7 = K22 0
  0051  LOADK     R8 = K22 0
  0052  LOADK     R9 = K22 0
  0053  MOVE      R10 = R0
  0054  CALL      R6 = call(R6, 1 args, 4 rets)
  0055  SETTABLE  R5[K17('color')] = R6
  0056  GETTABLE  R5 = R0[K5('m_windowMaskCanvas')]
  0057  SELF      R7 = R2[K24('GetSortingOrder')] (self)
  0058  CALL      R6 = call(R6, 1 args, 1 rets)
  0059  SUB       R6 = K25(2) sub R6
  0060  SETTABLE  R5[K23('sortingOrder')] = R6
  0061  SETTABLE  R0[K26('m_iClickIndex')] = K22(0)
  0062  JMP       (jump)   -> 110
  0063  GETTABLE  R5 = R0[K4('m_bWindowMaskOn')]
  0064  TEST      if not R5 then   -> -131005
  0065  JMP       (jump)   -> 68
  0066  TEST      if not R1 then   -> -131004
  0067  JMP       (jump)   -> 110
  0068  SETTABLE  R0[K4('m_bWindowMaskOn')] = K27(false)
  0069  SETTABLE  R0[K26('m_iClickIndex')] = K22(0)
  0070  GETTABLE  R5 = R0[K19('m_windowMaskTween')]
  0071  EQ        if R1 eq K20(nil)   -> -128163
  0072  JMP       (jump)   -> 76
  0073  GETTABLE  R5 = R0[K19('m_windowMaskTween')]
  0074  SELF      R6 = R5[K11('Kill')] (self)
  0075  CALL      R5 = call(R5, 0 args, 1 rets)
  0076  TEST      if not R1 then   -> -130994
  0077  JMP       (jump)   -> 100
  0078  GETTABLE  R5 = R0[K5('m_windowMaskCanvas')]
  0079  TEST      if not R5 then   -> -130991
  0080  JMP       (jump)   -> 110
  0081  GETTABLE  R5 = R0[K5('m_windowMaskCanvas')]
  0082  SELF      R6 = R5[K28('IsNull')] (self)
  0083  CALL      R5 = call(R5, 1 args, 1 rets)
  0084  TEST      if not R5 then   -> -130985
  0085  JMP       (jump)   -> 110
  0086  GETTABLE  R5 = R0[K5('m_windowMaskCanvas')]
  0087  GETTABLE  R5 = R5[K6('gameObject')]
  0088  SELF      R6 = R5[K7('SetActive')] (self)
  0089  LOADBOOL  R7 = false
  0090  CALL      R5 = call(R5, 0 args, 2 rets)
  0091  GETTABLE  R5 = R0[K12('m_windowMaskImg')]
  0092  GETTABUP  R6 = _ENV[K21('CSColor')]
  0093  LOADK     R7 = K22 0
  0094  LOADK     R8 = K22 0
  0095  LOADK     R9 = K22 0
  0096  LOADK     R10 = K22 0
  0097  CALL      R6 = call(R6, 1 args, 4 rets)
  0098  SETTABLE  R5[K17('color')] = R6
  0099  JMP       (jump)   -> 110
  0100  GETTABLE  R5 = R0[K12('m_windowMaskImg')]
  0101  SELF      R6 = R5[K13('DOFade')] (self)
  0102  LOADK     R7 = K22 0
  0103  LOADK     R8 = K15 0.16666666666666666
  0104  CALL      R5 = call(R5, 1 args, 3 rets)
  0105  SETTABLE  R0[K19('m_windowMaskTween')] = R5
  0106  GETTABLE  R5 = R0[K19('m_windowMaskTween')]
  0107  SELF      R6 = R5[K16('OnComplete')] (self)
  0108  CLOSURE   R7 = closure proto1
  0109  CALL      R5 = call(R5, 0 args, 2 rets)
  0110  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 796-796 np=0 va=0 ms=2 code=2 consts=2 upvals=1 protos=0
    ;   K[0]='m_windowMaskTween'
    ;   K[1]=nil
    ;   upvals: self
    0000  SETTABUP  self[K0('m_windowMaskTween')] = K1(nil)
    0001  RETURN    return R0..R-1
  ; ---------- proto1 [] ----------
    ; fn ?  line 823-826 np=0 va=0 ms=3 code=7 consts=5 upvals=1 protos=0
    ;   K[0]='m_windowMaskTween'
    ;   K[1]=nil
    ;   K[2]='m_windowMaskCanvas'
    ;   K[3]='gameObject'
    ;   K[4]='SetActive'
    ;   upvals: self
    0000  SETTABUP  self[K0('m_windowMaskTween')] = K1(nil)
    0001  GETTABUP  R0 = self[K2('m_windowMaskCanvas')]
    0002  GETTABLE  R0 = R0[K3('gameObject')]
    0003  SELF      R1 = R0[K4('SetActive')] (self)
    0004  LOADBOOL  R2 = false
    0005  CALL      R0 = call(R0, 0 args, 2 rets)
    0006  RETURN    return R0..R-1
; ---------- proto54 [ShowPromptWithKey] ----------
  ; fn ?  line 834-836 np=8 va=0 ms=17 code=14 consts=4 upvals=1 protos=0
  ;   K[0]='ShowPrompt'
  ;   K[1]='GM'
  ;   K[2]='GameTextModel'
  ;   K[3]='GetText'
  ;   upvals: _ENV
  ;   locals: self(0-14), textKey(0-14), screenPos(0-14), stayDuration(0-14), bTMP(0-14), forTest(0-14), baseSortingOrder(0-14), specialPrefab(0-14)
  0000  SELF      R9 = R0[K0('ShowPrompt')] (self)
  0001  GETTABUP  R10 = _ENV[K1('GM')]
  0002  GETTABLE  R10 = R10[K2('GameTextModel')]
  0003  SELF      R11 = R10[K3('GetText')] (self)
  0004  MOVE      R12 = R0
  0005  CALL      R10 = call(R10, 1 args, 2 rets)
  0006  MOVE      R11 = R0
  0007  MOVE      R12 = R0
  0008  MOVE      R13 = R0
  0009  MOVE      R14 = R0
  0010  MOVE      R15 = R0
  0011  MOVE      R16 = R0
  0012  CALL      R8 = call(R8, 0 args, 8 rets)
  0013  RETURN    return R0..R-1
; ---------- proto55 [ShowPrompt] ----------
  ; fn ?  line 838-843 np=8 va=0 ms=17 code=18 consts=4 upvals=1 protos=0
  ;   K[0]='PositionUtil'
  ;   K[1]='UICameraScreen2World'
  ;   K[2]='m_promptManager'
  ;   K[3]='Show'
  ;   upvals: _ENV
  ;   locals: self(0-18), text(0-18), screenPos(0-18), stayDuration(0-18), bTMP(0-18), forTest(0-18), baseSortingOrder(0-18), specialPrefab(0-18)
  0000  TEST      if not R2 then   -> -131070
  0001  JMP       (jump)   -> 7
  0002  GETTABUP  R8 = _ENV[K0('PositionUtil')]
  0003  GETTABLE  R8 = R8[K1('UICameraScreen2World')]
  0004  MOVE      R9 = R0
  0005  CALL      R8 = call(R8, 1 args, 1 rets)
  0006  MOVE      R2 = R0
  0007  GETTABLE  R8 = R0[K2('m_promptManager')]
  0008  SELF      R9 = R8[K3('Show')] (self)
  0009  MOVE      R10 = R0
  0010  MOVE      R11 = R0
  0011  MOVE      R12 = R0
  0012  MOVE      R13 = R0
  0013  MOVE      R14 = R0
  0014  MOVE      R15 = R0
  0015  MOVE      R16 = R0
  0016  CALL      R8 = call(R8, 0 args, 8 rets)
  0017  RETURN    return R0..R-1
; ---------- proto56 [ShowTestPrompt] ----------
  ; fn ?  line 845-852 np=2 va=0 ms=9 code=19 consts=7 upvals=1 protos=0
  ;   K[0]='Log'
  ;   K[1]='Info'
  ;   K[2]='tostring'
  ;   K[3]='GM'
  ;   K[4]='UIManager'
  ;   K[5]='CanShowTestUI'
  ;   K[6]='ShowPrompt'
  ;   upvals: _ENV
  ;   locals: self(0-19), text(0-19)
  0000  GETTABUP  R2 = _ENV[K0('Log')]
  0001  GETTABLE  R2 = R2[K1('Info')]
  0002  GETTABUP  R3 = _ENV[K2('tostring')]
  0003  MOVE      R4 = R0
  0004  CALL      R3 = call(R3, -1 args, 1 rets)
  0005  CALL      R2 = call(R2, 0 args, -1 rets)
  0006  GETTABUP  R2 = _ENV[K3('GM')]
  0007  GETTABLE  R2 = R2[K4('UIManager')]
  0008  SELF      R3 = R2[K5('CanShowTestUI')] (self)
  0009  CALL      R2 = call(R2, 1 args, 1 rets)
  0010  TEST      if not R2 then   -> -131059
  0011  JMP       (jump)   -> 13
  0012  RETURN    return R0..R-1
  0013  SELF      R3 = R0[K6('ShowPrompt')] (self)
  0014  MOVE      R4 = R0
  0015  LOADNIL   R5..R5 = nil
  0016  LOADBOOL  R8 = true
  0017  CALL      R2 = call(R2, 0 args, 6 rets)
  0018  RETURN    return R0..R-1
; ---------- proto57 [GetCurrentPromptId] ----------
  ; fn ?  line 854-856 np=1 va=0 ms=3 code=5 consts=2 upvals=0 protos=0
  ;   K[0]='m_promptManager'
  ;   K[1]='GetCurrentId'
  ;   locals: self(0-5)
  0000  GETTABLE  R1 = R0[K0('m_promptManager')]
  0001  SELF      R2 = R1[K1('GetCurrentId')] (self)
  0002  TAILCALL  tailcall(R1, 0)
  0003  RETURN    return R1..R0
  0004  RETURN    return R0..R-1
; ---------- proto58 [ShowMask] ----------
  ; fn ?  line 860-869 np=1 va=0 ms=3 code=18 consts=11 upvals=1 protos=0
  ;   K[0]='m_isMaskVisible'
  ;   K[1]='Log'
  ;   K[2]='Warning'
  ;   K[3]='MaskLayer already visible'
  ;   K[4]=true
  ;   K[5]='m_maskLayer'
  ;   K[6]='Show'
  ;   K[7]='EventDispatcher'
  ;   K[8]='DispatchEvent'
  ;   K[9]='EEventType'
  ;   K[10]='OnUIShowMask'
  ;   upvals: _ENV
  ;   locals: self(0-18)
  0000  GETTABLE  R1 = R0[K0('m_isMaskVisible')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 8
  0003  GETTABUP  R1 = _ENV[K1('Log')]
  0004  GETTABLE  R1 = R1[K2('Warning')]
  0005  LOADK     R2 = K3 'MaskLayer already visible'
  0006  CALL      R1 = call(R1, 0 args, 1 rets)
  0007  RETURN    return R0..R-1
  0008  SETTABLE  R0[K0('m_isMaskVisible')] = K4(true)
  0009  GETTABLE  R1 = R0[K5('m_maskLayer')]
  0010  SELF      R2 = R1[K6('Show')] (self)
  0011  CALL      R1 = call(R1, 0 args, 1 rets)
  0012  GETTABUP  R1 = _ENV[K7('EventDispatcher')]
  0013  GETTABLE  R1 = R1[K8('DispatchEvent')]
  0014  GETTABUP  R2 = _ENV[K9('EEventType')]
  0015  GETTABLE  R2 = R2[K10('OnUIShowMask')]
  0016  CALL      R1 = call(R1, 0 args, 1 rets)
  0017  RETURN    return R0..R-1
; ---------- proto59 [HideMask] ----------
  ; fn ?  line 871-874 np=1 va=0 ms=3 code=5 consts=4 upvals=0 protos=0
  ;   K[0]='m_isMaskVisible'
  ;   K[1]=false
  ;   K[2]='m_maskLayer'
  ;   K[3]='Hide'
  ;   locals: self(0-5)
  0000  SETTABLE  R0[K0('m_isMaskVisible')] = K1(false)
  0001  GETTABLE  R1 = R0[K2('m_maskLayer')]
  0002  SELF      R2 = R1[K3('Hide')] (self)
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  RETURN    return R0..R-1
; ---------- proto60 [IsMaskVisible] ----------
  ; fn ?  line 876-878 np=1 va=0 ms=2 code=7 consts=2 upvals=0 protos=0
  ;   K[0]='m_isMaskVisible'
  ;   K[1]=true
  ;   locals: self(0-7)
  0000  GETTABLE  R1 = R0[K0('m_isMaskVisible')]
  0001  EQ        if R1 eq K1(true)   -> -130300
  0002  JMP       (jump)   -> 4
  0003  LOADBOOL  R1 = false
  0004  LOADBOOL  R1 = true
  0005  RETURN    return R1..R0
  0006  RETURN    return R0..R-1
; ---------- proto61 [OpenTip] ----------
  ; fn ?  line 887-889 np=4 va=1 ms=10 code=8 consts=2 upvals=0 protos=0
  ;   K[0]='m_tipManager'
  ;   K[1]='OpenTip'
  ;   locals: self(0-8), caller(0-8), prefabName(0-8), rootTransform(0-8)
  0000  GETTABLE  R4 = R0[K0('m_tipManager')]
  0001  SELF      R5 = R4[K1('OpenTip')] (self)
  0002  MOVE      R6 = R0
  0003  MOVE      R7 = R0
  0004  MOVE      R8 = R0
  0005  VARARG    R9 = vararg(0)
  0006  CALL      R4 = call(R4, 0 args, -1 rets)
  0007  RETURN    return R0..R-1
; ---------- proto62 [HideTip] ----------
  ; fn ?  line 897-899 np=6 va=0 ms=13 code=9 consts=2 upvals=0 protos=0
  ;   K[0]='m_tipManager'
  ;   K[1]='HideTip'
  ;   locals: self(0-9), caller(0-9), prefabName(0-9), bIgnoreAnim(0-9), delay(0-9), callback(0-9)
  0000  GETTABLE  R6 = R0[K0('m_tipManager')]
  0001  SELF      R7 = R6[K1('HideTip')] (self)
  0002  MOVE      R8 = R0
  0003  MOVE      R9 = R0
  0004  MOVE      R10 = R0
  0005  MOVE      R11 = R0
  0006  MOVE      R12 = R0
  0007  CALL      R6 = call(R6, 0 args, 6 rets)
  0008  RETURN    return R0..R-1
; ---------- proto63 [RegisterTip] ----------
  ; fn ?  line 902-904 np=2 va=0 ms=5 code=5 consts=2 upvals=0 protos=0
  ;   K[0]='m_tipManager'
  ;   K[1]='RegisterTip'
  ;   locals: self(0-5), tip(0-5)
  0000  GETTABLE  R2 = R0[K0('m_tipManager')]
  0001  SELF      R3 = R2[K1('RegisterTip')] (self)
  0002  MOVE      R4 = R0
  0003  CALL      R2 = call(R2, 0 args, 2 rets)
  0004  RETURN    return R0..R-1
; ---------- proto64 [UnregisterTip] ----------
  ; fn ?  line 907-909 np=2 va=0 ms=5 code=5 consts=2 upvals=0 protos=0
  ;   K[0]='m_tipManager'
  ;   K[1]='UnregisterTip'
  ;   locals: self(0-5), tip(0-5)
  0000  GETTABLE  R2 = R0[K0('m_tipManager')]
  0001  SELF      R3 = R2[K1('UnregisterTip')] (self)
  0002  MOVE      R4 = R0
  0003  CALL      R2 = call(R2, 0 args, 2 rets)
  0004  RETURN    return R0..R-1
; ---------- proto65 [HideTestInfo] ----------
  ; fn ?  line 914-928 np=1 va=0 ms=5 code=30 consts=10 upvals=1 protos=0
  ;   K[0]='GameConfig'
  ;   K[1]='IsTestMode'
  ;   K[2]='GameObject'
  ;   K[3]='Find'
  ;   K[4]='Profiling'
  ;   K[5]='SetActive'
  ;   K[6]='m_testMaskBtnGo'
  ;   K[7]='m_testServerTimeTextGo'
  ;   K[8]='bHideTest'
  ;   K[9]=true
  ;   upvals: _ENV
  ;   locals: self(0-30), performanceInfoGo(9-14)
  0000  GETTABUP  R1 = _ENV[K0('GameConfig')]
  0001  GETTABLE  R1 = R1[K1('IsTestMode')]
  0002  CALL      R1 = call(R1, 1 args, 0 rets)
  0003  TEST      if not R1 then   -> -131067
  0004  JMP       (jump)   -> 14
  0005  GETTABUP  R1 = _ENV[K2('GameObject')]
  0006  GETTABLE  R1 = R1[K3('Find')]
  0007  LOADK     R2 = K4 'Profiling'
  0008  CALL      R1 = call(R1, 1 args, 1 rets)
  0009  TEST      if not R1 then   -> -131061
  0010  JMP       (jump)   -> 14
  0011  SELF      R3 = R1[K5('SetActive')] (self)
  0012  LOADBOOL  R4 = false
  0013  CALL      R2 = call(R2, 0 args, 2 rets)
  0014  GETTABLE  R1 = R0[K6('m_testMaskBtnGo')]
  0015  TEST      if not R1 then   -> -131055
  0016  JMP       (jump)   -> 21
  0017  GETTABLE  R1 = R0[K6('m_testMaskBtnGo')]
  0018  SELF      R2 = R1[K5('SetActive')] (self)
  0019  LOADBOOL  R3 = false
  0020  CALL      R1 = call(R1, 0 args, 2 rets)
  0021  GETTABLE  R1 = R0[K7('m_testServerTimeTextGo')]
  0022  TEST      if not R1 then   -> -131048
  0023  JMP       (jump)   -> 28
  0024  GETTABLE  R1 = R0[K7('m_testServerTimeTextGo')]
  0025  SELF      R2 = R1[K5('SetActive')] (self)
  0026  LOADBOOL  R3 = false
  0027  CALL      R1 = call(R1, 0 args, 2 rets)
  0028  SETTABLE  R0[K8('bHideTest')] = K9(true)
  0029  RETURN    return R0..R-1
; ---------- proto66 [CanShowTestUI] ----------
  ; fn ?  line 930-932 np=1 va=0 ms=4 code=17 consts=7 upvals=1 protos=0
  ;   K[0]='GameConfig'
  ;   K[1]='IsTestMode'
  ;   K[2]='PlayerPrefs'
  ;   K[3]='GetInt'
  ;   K[4]='EPlayerPrefKey'
  ;   K[5]='ShowItemTestInfo'
  ;   K[6]=0
  ;   upvals: _ENV
  ;   locals: self(0-17)
  0000  GETTABUP  R1 = _ENV[K0('GameConfig')]
  0001  GETTABLE  R1 = R1[K1('IsTestMode')]
  0002  CALL      R1 = call(R1, 1 args, 0 rets)
  0003  TEST      if not R1 then   -> -131067
  0004  JMP       (jump)   -> 15
  0005  GETTABUP  R1 = _ENV[K2('PlayerPrefs')]
  0006  GETTABLE  R1 = R1[K3('GetInt')]
  0007  GETTABUP  R2 = _ENV[K4('EPlayerPrefKey')]
  0008  GETTABLE  R2 = R2[K5('ShowItemTestInfo')]
  0009  LOADK     R3 = K6 0
  0010  CALL      R1 = call(R1, 1 args, 2 rets)
  0011  EQ        if R0 eq K6(0)   -> -130285
  0012  JMP       (jump)   -> 14
  0013  LOADBOOL  R1 = false
  0014  LOADBOOL  R1 = true
  0015  RETURN    return R1..R0
  0016  RETURN    return R0..R-1
