# UI_SceneView_SceneViewHudSideBar_407.luac
; fn @SceneViewHudSideBar.lua  line 0-0 np=0 va=1 ms=2 code=42 consts=14 upvals=1 protos=12
;   K[0]='SceneViewHudSideBar'
;   K[1]='__index'
;   K[2]='Init'
;   K[3]='_Init'
;   K[4]='OnDestroy'
;   K[5]='_EntryUpdateFunctionCreator'
;   K[6]='_ActivityEntryCodeCreator'
;   K[7]='ActivityEntryCodeCreator'
;   K[8]='IsExistEntryNodeRect'
;   K[9]='_GetLoadEndFunc'
;   K[10]='BundleEntryCodeCreator'
;   K[11]='OnBundleDataRefreshed'
;   K[12]='_OnBundleDataRefreshed'
;   K[13]='SortBundleEntry'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('SceneViewHudSideBar')] = R0
0002  GETTABUP  R0 = _ENV[K0('SceneViewHudSideBar')]
0003  GETTABUP  R1 = _ENV[K0('SceneViewHudSideBar')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  GETTABUP  R0 = _ENV[K0('SceneViewHudSideBar')]
0006  CLOSURE   R1 = closure proto0
0007  SETTABLE  R0[K2('Init')] = R1
0008  GETTABUP  R0 = _ENV[K0('SceneViewHudSideBar')]
0009  CLOSURE   R1 = closure proto1
0010  SETTABLE  R0[K3('_Init')] = R1
0011  GETTABUP  R0 = _ENV[K0('SceneViewHudSideBar')]
0012  CLOSURE   R1 = closure proto2
0013  SETTABLE  R0[K4('OnDestroy')] = R1
0014  GETTABUP  R0 = _ENV[K0('SceneViewHudSideBar')]
0015  CLOSURE   R1 = closure proto3
0016  SETTABLE  R0[K5('_EntryUpdateFunctionCreator')] = R1
0017  GETTABUP  R0 = _ENV[K0('SceneViewHudSideBar')]
0018  CLOSURE   R1 = closure proto4
0019  SETTABLE  R0[K6('_ActivityEntryCodeCreator')] = R1
0020  GETTABUP  R0 = _ENV[K0('SceneViewHudSideBar')]
0021  CLOSURE   R1 = closure proto5
0022  SETTABLE  R0[K7('ActivityEntryCodeCreator')] = R1
0023  GETTABUP  R0 = _ENV[K0('SceneViewHudSideBar')]
0024  CLOSURE   R1 = closure proto6
0025  SETTABLE  R0[K8('IsExistEntryNodeRect')] = R1
0026  GETTABUP  R0 = _ENV[K0('SceneViewHudSideBar')]
0027  CLOSURE   R1 = closure proto7
0028  SETTABLE  R0[K9('_GetLoadEndFunc')] = R1
0029  GETTABUP  R0 = _ENV[K0('SceneViewHudSideBar')]
0030  CLOSURE   R1 = closure proto8
0031  SETTABLE  R0[K10('BundleEntryCodeCreator')] = R1
0032  GETTABUP  R0 = _ENV[K0('SceneViewHudSideBar')]
0033  CLOSURE   R1 = closure proto9
0034  SETTABLE  R0[K11('OnBundleDataRefreshed')] = R1
0035  GETTABUP  R0 = _ENV[K0('SceneViewHudSideBar')]
0036  CLOSURE   R1 = closure proto10
0037  SETTABLE  R0[K12('_OnBundleDataRefreshed')] = R1
0038  GETTABUP  R0 = _ENV[K0('SceneViewHudSideBar')]
0039  CLOSURE   R1 = closure proto11
0040  SETTABLE  R0[K13('SortBundleEntry')] = R1
0041  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 9-13 np=2 va=0 ms=4 code=6 consts=3 upvals=0 protos=0
  ;   K[0]='m_sceneViewHud'
  ;   K[1]='m_mapAttachedHudType'
  ;   K[2]='_Init'
  ;   locals: self(0-6), sceneViewHud(0-6)
  0000  SETTABLE  R0[K0('m_sceneViewHud')] = R1
  0001  NEWTABLE  R2 = {} (0 items)
  0002  SETTABLE  R0[K1('m_mapAttachedHudType')] = R2
  0003  SELF      R3 = R0[K2('_Init')] (self)
  0004  CALL      R2 = call(R2, 0 args, 1 rets)
  0005  RETURN    return R0..R-1
; ---------- proto1 [_Init] ----------
  ; fn ?  line 15-17 np=1 va=0 ms=3 code=5 consts=3 upvals=1 protos=0
  ;   K[0]='Log'
  ;   K[1]='Error'
  ;   K[2]='_Init()是抽象接口'
  ;   upvals: _ENV
  ;   locals: self(0-5)
  0000  GETTABUP  R1 = _ENV[K0('Log')]
  0001  GETTABLE  R1 = R1[K1('Error')]
  0002  LOADK     R2 = K2 '_Init()是抽象接口'
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  RETURN    return R0..R-1
; ---------- proto2 [OnDestroy] ----------
  ; fn ?  line 19-21 np=1 va=0 ms=3 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='EventDispatcher'
  ;   K[1]='RemoveTarget'
  ;   upvals: _ENV
  ;   locals: self(0-5)
  0000  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0001  GETTABLE  R1 = R1[K1('RemoveTarget')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  RETURN    return R0..R-1
; ---------- proto3 [_EntryUpdateFunctionCreator] ----------
  ; fn ?  line 33-124 np=9 va=0 ms=11 code=8 consts=1 upvals=1 protos=2
  ;   K[0]=nil
  ;   upvals: _ENV
  ;   locals: self(0-8), entryNodeName(0-8), entryCountName(0-8), hudType(0-8), entryPrefabConfigName(0-8), checkFunc(0-8), params(0-8), bRefreshLayout(0-8), endFunc(0-8), refreshLayoutFunc(5-8)
  0000  EQ        if R0 eq K0(nil)   -> -127742
  0001  JMP       (jump)   -> 4
  0002  NEWTABLE  R9 = {} (0 items)
  0003  MOVE      R6 = R0
  0004  CLOSURE   R9 = closure proto0
  0005  CLOSURE   R10 = closure proto1
  0006  RETURN    return R10..R9
  0007  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 38-43 np=0 va=0 ms=2 code=16 consts=4 upvals=3 protos=0
    ;   K[0]=nil
    ;   K[1]='LayoutRebuilder'
    ;   K[2]='ForceRebuildLayoutImmediate'
    ;   K[3]='parent'
    ;   upvals: self, entryNodeName, _ENV
    0000  GETUPVAL  R0 = self
    0001  GETTABUP  R0 = self[R0]
    0002  EQ        if R1 eq K0(nil)   -> -130812
    0003  JMP       (jump)   -> 15
    0004  GETTABUP  R0 = _ENV[K1('LayoutRebuilder')]
    0005  GETTABLE  R0 = R0[K2('ForceRebuildLayoutImmediate')]
    0006  GETUPVAL  R1 = self
    0007  GETTABUP  R1 = self[R1]
    0008  CALL      R0 = call(R0, 0 args, 1 rets)
    0009  GETTABUP  R0 = _ENV[K1('LayoutRebuilder')]
    0010  GETTABLE  R0 = R0[K2('ForceRebuildLayoutImmediate')]
    0011  GETUPVAL  R1 = self
    0012  GETTABUP  R1 = self[R1]
    0013  GETTABLE  R1 = R1[K3('parent')]
    0014  CALL      R0 = call(R0, 0 args, 1 rets)
    0015  RETURN    return R0..R-1
  ; ---------- proto1 [] ----------
    ; fn ?  line 44-123 np=0 va=0 ms=8 code=90 consts=23 upvals=11 protos=2
    ;   K[0]='UIUtil'
    ;   K[1]='SetActive'
    ;   K[2]='gameObject'
    ;   K[3]='m_mapAttachedHudType'
    ;   K[4]='GM'
    ;   K[5]='DataResource'
    ;   K[6]='UIPrefabConfig'
    ;   K[7]='GetConfig'
    ;   K[8]=0
    ;   K[9]=1
    ;   K[10]='ResourceLoader'
    ;   K[11]='LoadPrefab'
    ;   K[12]='V3Zero'
    ;   K[13]='m_mapAttachedHudType'
    ;   K[14]='m_sceneViewHud'
    ;   K[15]='GetHudButton'
    ;   K[16]='DetachHudButton'
    ;   K[17]=nil
    ;   K[18]='gameObject'
    ;   K[19]='BeforeDestroy'
    ;   K[20]=nil
    ;   K[21]=0
    ;   K[22]='gameObject'
    ;   upvals: checkFunc, _ENV, self, entryNodeName, hudType, entryPrefabConfigName, entryCountName, endFunc, params, bRefreshLayout, refreshLayoutFunc
    ;   locals: config(22-40), callback(23-40), btn(50-69), gameObjectToDestroy(58-69), DestroyEntry(59-69)
    0000  GETUPVAL  R0 = checkFunc
    0001  CALL      R0 = call(R0, 1 args, 0 rets)
    0002  TEST      if not R0 then   -> -131068
    0003  JMP       (jump)   -> 41
    0004  GETTABUP  R0 = _ENV[K0('UIUtil')]
    0005  GETTABLE  R0 = R0[K1('SetActive')]
    0006  GETUPVAL  R1 = checkFunc
    0007  GETTABUP  R1 = self[R1]
    0008  GETTABLE  R1 = R1[K2('gameObject')]
    0009  LOADBOOL  R2 = true
    0010  CALL      R0 = call(R0, 0 args, 2 rets)
    0011  GETTABUP  R0 = self[K3('m_mapAttachedHudType')]
    0012  GETUPVAL  R1 = checkFunc
    0013  GETTABLE  R0 = R0[R1]
    0014  TEST      if not R0 then   -> -131055
    0015  JMP       (jump)   -> 89
    0016  GETTABUP  R0 = _ENV[K4('GM')]
    0017  GETTABLE  R0 = R0[K5('DataResource')]
    0018  GETTABLE  R0 = R0[K6('UIPrefabConfig')]
    0019  SELF      R1 = R0[K7('GetConfig')] (self)
    0020  GETUPVAL  R2 = checkFunc
    0021  CALL      R0 = call(R0, 1 args, 2 rets)
    0022  CLOSURE   R1 = closure proto0
    0023  GETUPVAL  R2 = checkFunc
    0024  GETUPVAL  R3 = checkFunc
    0025  GETTABUP  R3 = self[R3]
    0026  TEST      if not R3 then   -> -131043
    0027  JMP       (jump)   -> 29
    0028  LOADK     R3 = K8 0
    0029  ADD       R3 = K9(1) add R3
    0030  SETTABUP  self[R2] = R3
    0031  GETTABUP  R2 = _ENV[K4('GM')]
    0032  GETTABLE  R2 = R2[K10('ResourceLoader')]
    0033  SELF      R3 = R2[K11('LoadPrefab')] (self)
    0034  MOVE      R4 = R0
    0035  GETUPVAL  R5 = checkFunc
    0036  GETTABUP  R5 = self[R5]
    0037  GETTABUP  R6 = _ENV[K12('V3Zero')]
    0038  MOVE      R7 = R0
    0039  CALL      R2 = call(R2, 0 args, 5 rets)
    0040  JMP       (jump)   -> 89
    0041  GETTABUP  R0 = self[K13('m_mapAttachedHudType')]
    0042  GETUPVAL  R1 = checkFunc
    0043  GETTABLE  R0 = R0[R1]
    0044  TEST      if not R0 then   -> -131026
    0045  JMP       (jump)   -> 69
    0046  GETTABUP  R0 = self[K14('m_sceneViewHud')]
    0047  SELF      R1 = R0[K15('GetHudButton')] (self)
    0048  GETUPVAL  R2 = checkFunc
    0049  CALL      R0 = call(R0, 1 args, 2 rets)
    0050  GETTABUP  R1 = self[K14('m_sceneViewHud')]
    0051  SELF      R2 = R1[K16('DetachHudButton')] (self)
    0052  GETUPVAL  R3 = checkFunc
    0053  CALL      R1 = call(R1, 0 args, 2 rets)
    0054  GETTABUP  R1 = self[K13('m_mapAttachedHudType')]
    0055  GETUPVAL  R2 = checkFunc
    0056  SETTABLE  R1[R2] = K17(nil)
    0057  GETTABLE  R1 = R0[K18('gameObject')]
    0058  CLOSURE   R2 = closure proto1
    0059  GETTABLE  R3 = R0[K19('BeforeDestroy')]
    0060  EQ        if R1 eq K20(nil)   -> -129198
    0061  JMP       (jump)   -> 66
    0062  SELF      R4 = R0[K19('BeforeDestroy')] (self)
    0063  MOVE      R5 = R0
    0064  CALL      R3 = call(R3, 0 args, 2 rets)
    0065  JMP       (jump)   -> 69
    0066  MOVE      R3 = R0
    0067  CALL      R3 = call(R3, 0 args, 0 rets)
    0068  JMP       (jump)   -> 69
    0069  GETUPVAL  R0 = checkFunc
    0070  GETTABUP  R0 = self[R0]
    0071  EQ        if R1 eq K20(nil)   -> -130723
    0072  JMP       (jump)   -> 77
    0073  GETUPVAL  R0 = checkFunc
    0074  GETTABUP  R0 = self[R0]
    0075  EQ        if R0 eq K21(0)   -> -130718
    0076  JMP       (jump)   -> 84
    0077  GETTABUP  R0 = _ENV[K0('UIUtil')]
    0078  GETTABLE  R0 = R0[K1('SetActive')]
    0079  GETUPVAL  R1 = checkFunc
    0080  GETTABUP  R1 = self[R1]
    0081  GETTABLE  R1 = R1[K22('gameObject')]
    0082  LOADBOOL  R2 = false
    0083  CALL      R0 = call(R0, 0 args, 2 rets)
    0084  GETUPVAL  R0 = checkFunc
    0085  EQ        if R1 eq K20(nil)   -> -130709
    0086  JMP       (jump)   -> 89
    0087  GETUPVAL  R0 = checkFunc
    0088  CALL      R0 = call(R0, 0 args, 0 rets)
    0089  RETURN    return R0..R-1
    ; ---------- proto0 [] ----------
      ; fn ?  line 50-80 np=1 va=0 ms=6 code=71 consts=17 upvals=10 protos=0
      ;   K[0]='m_mapAttachedHudType'
      ;   K[1]='AddressableLoader'
      ;   K[2]='Destroy'
      ;   K[3]=1
      ;   K[4]=nil
      ;   K[5]=0
      ;   K[6]='UIUtil'
      ;   K[7]='SetActive'
      ;   K[8]='gameObject'
      ;   K[9]='GetLuaTable'
      ;   K[10]='Init'
      ;   K[11]='table'
      ;   K[12]='unpack'
      ;   K[13]='SetFlyTargetPosition'
      ;   K[14]='m_sceneViewHud'
      ;   K[15]='AttachHudButton'
      ;   K[16]=true
      ;   upvals: self, hudType, checkFunc, _ENV, entryCountName, entryNodeName, endFunc, params, bRefreshLayout, refreshLayoutFunc
      ;   locals: gameObject(0-71), entry(41-71)
      0000  GETTABUP  R1 = self[K0('m_mapAttachedHudType')]
      0001  GETUPVAL  R2 = self
      0002  GETTABLE  R1 = R1[R2]
      0003  TEST      if not R1 then   -> -131066
      0004  JMP       (jump)   -> 9
      0005  GETUPVAL  R1 = self
      0006  CALL      R1 = call(R1, 1 args, 0 rets)
      0007  TEST      if not R1 then   -> -131062
      0008  JMP       (jump)   -> 39
      0009  GETTABUP  R1 = _ENV[K1('AddressableLoader')]
      0010  GETTABLE  R1 = R1[K2('Destroy')]
      0011  MOVE      R2 = R0
      0012  CALL      R1 = call(R1, 0 args, 1 rets)
      0013  GETUPVAL  R1 = self
      0014  GETUPVAL  R2 = self
      0015  GETTABUP  R2 = self[R2]
      0016  SUB       R2 = K3(1) sub R2
      0017  SETTABUP  self[R1] = R2
      0018  GETUPVAL  R1 = self
      0019  GETTABUP  R1 = self[R1]
      0020  EQ        if R1 eq K4(nil)   -> -130278
      0021  JMP       (jump)   -> 26
      0022  GETUPVAL  R1 = self
      0023  GETTABUP  R1 = self[R1]
      0024  EQ        if R0 eq K5(0)   -> -130273
      0025  JMP       (jump)   -> 33
      0026  GETTABUP  R1 = _ENV[K6('UIUtil')]
      0027  GETTABLE  R1 = R1[K7('SetActive')]
      0028  GETUPVAL  R2 = self
      0029  GETTABUP  R2 = self[R2]
      0030  GETTABLE  R2 = R2[K8('gameObject')]
      0031  LOADBOOL  R3 = false
      0032  CALL      R1 = call(R1, 0 args, 2 rets)
      0033  GETUPVAL  R1 = self
      0034  EQ        if R1 eq K4(nil)   -> -130264
      0035  JMP       (jump)   -> 38
      0036  GETUPVAL  R1 = self
      0037  CALL      R1 = call(R1, 0 args, 0 rets)
      0038  RETURN    return R0..R-1
      0039  SELF      R2 = R0[K9('GetLuaTable')] (self)
      0040  CALL      R1 = call(R1, 1 args, 1 rets)
      0041  GETTABLE  R2 = R1[K10('Init')]
      0042  EQ        if R1 eq K4(nil)   -> -129744
      0043  JMP       (jump)   -> 50
      0044  SELF      R3 = R1[K10('Init')] (self)
      0045  GETTABUP  R4 = _ENV[K11('table')]
      0046  GETTABLE  R4 = R4[K12('unpack')]
      0047  GETUPVAL  R5 = self
      0048  CALL      R4 = call(R4, -1 args, 1 rets)
      0049  CALL      R2 = call(R2, 0 args, -1 rets)
      0050  SELF      R3 = R1[K13('SetFlyTargetPosition')] (self)
      0051  CALL      R2 = call(R2, 0 args, 1 rets)
      0052  GETTABUP  R2 = self[K14('m_sceneViewHud')]
      0053  SELF      R3 = R2[K15('AttachHudButton')] (self)
      0054  GETUPVAL  R4 = self
      0055  MOVE      R5 = R0
      0056  CALL      R2 = call(R2, 0 args, 3 rets)
      0057  GETTABUP  R2 = self[K0('m_mapAttachedHudType')]
      0058  GETUPVAL  R3 = self
      0059  SETTABLE  R2[R3] = K16(true)
      0060  GETUPVAL  R2 = self
      0061  TEST      if not R2 then   -> -131009
      0062  JMP       (jump)   -> 65
      0063  GETUPVAL  R2 = self
      0064  CALL      R2 = call(R2, 0 args, 0 rets)
      0065  GETUPVAL  R2 = self
      0066  EQ        if R1 eq K4(nil)   -> -129720
      0067  JMP       (jump)   -> 70
      0068  GETUPVAL  R2 = self
      0069  CALL      R2 = call(R2, 0 args, 0 rets)
      0070  RETURN    return R0..R-1
    ; ---------- proto1 [] ----------
      ; fn ?  line 91-103 np=0 va=0 ms=3 code=35 consts=8 upvals=7 protos=0
      ;   K[0]='UIUtil'
      ;   K[1]='SetActive'
      ;   K[2]='AddressableLoader'
      ;   K[3]='Destroy'
      ;   K[4]=1
      ;   K[5]=nil
      ;   K[6]=0
      ;   K[7]='gameObject'
      ;   upvals: bRefreshLayout, _ENV, gameObjectToDestroy, refreshLayoutFunc, self, entryCountName, entryNodeName
      0000  GETUPVAL  R0 = bRefreshLayout
      0001  TEST      if not R0 then   -> -131069
      0002  JMP       (jump)   -> 10
      0003  GETTABUP  R0 = _ENV[K0('UIUtil')]
      0004  GETTABLE  R0 = R0[K1('SetActive')]
      0005  GETUPVAL  R1 = bRefreshLayout
      0006  LOADBOOL  R2 = false
      0007  CALL      R0 = call(R0, 0 args, 2 rets)
      0008  GETUPVAL  R0 = bRefreshLayout
      0009  CALL      R0 = call(R0, 0 args, 0 rets)
      0010  GETTABUP  R0 = _ENV[K2('AddressableLoader')]
      0011  GETTABLE  R0 = R0[K3('Destroy')]
      0012  GETUPVAL  R1 = bRefreshLayout
      0013  CALL      R0 = call(R0, 0 args, 1 rets)
      0014  GETUPVAL  R0 = bRefreshLayout
      0015  GETUPVAL  R1 = bRefreshLayout
      0016  GETTABUP  R1 = self[R1]
      0017  SUB       R1 = K4(1) sub R1
      0018  SETTABUP  self[R0] = R1
      0019  GETUPVAL  R0 = bRefreshLayout
      0020  GETTABUP  R0 = self[R0]
      0021  EQ        if R1 eq K5(nil)   -> -130788
      0022  JMP       (jump)   -> 27
      0023  GETUPVAL  R0 = bRefreshLayout
      0024  GETTABUP  R0 = self[R0]
      0025  EQ        if R0 eq K6(0)   -> -130783
      0026  JMP       (jump)   -> 34
      0027  GETTABUP  R0 = _ENV[K0('UIUtil')]
      0028  GETTABLE  R0 = R0[K1('SetActive')]
      0029  GETUPVAL  R1 = bRefreshLayout
      0030  GETTABUP  R1 = self[R1]
      0031  GETTABLE  R1 = R1[K7('gameObject')]
      0032  LOADBOOL  R2 = false
      0033  CALL      R0 = call(R0, 0 args, 2 rets)
      0034  RETURN    return R0..R-1
; ---------- proto4 [_ActivityEntryCodeCreator] ----------
  ; fn ?  line 136-158 np=3 va=0 ms=17 code=51 consts=18 upvals=1 protos=0
  ;   K[0]='GetEntryRootName'
  ;   K[1]='eEntryRootKey'
  ;   K[2]='GetEntryCountName'
  ;   K[3]='bRefreshLayout'
  ;   K[4]='EEntryRootKey'
  ;   K[5]='Bundle'
  ;   K[6]='m_loadNum'
  ;   K[7]=1
  ;   K[8]='_GetLoadEndFunc'
  ;   K[9]='_EntryUpdateFunctionCreator'
  ;   K[10]='hudKey'
  ;   K[11]='entryPrefabName'
  ;   K[12]='checkFun'
  ;   K[13]='statusChangeEvent'
  ;   K[14]=nil
  ;   K[15]='EventDispatcher'
  ;   K[16]='AddListener'
  ;   K[17]='extraListenEvent'
  ;   upvals: _ENV
  ;   locals: self(0-51), entryConfig(0-51), params(0-51), entryNodeName(3-51), entryCountName(6-51), bRefreshLayout(7-51), endFunc(8-51), updateFunction(30-51)
  0000  GETTABUP  R3 = _ENV[K0('GetEntryRootName')]
  0001  GETTABLE  R4 = R1[K1('eEntryRootKey')]
  0002  CALL      R3 = call(R3, 1 args, 1 rets)
  0003  GETTABUP  R4 = _ENV[K2('GetEntryCountName')]
  0004  GETTABLE  R5 = R1[K1('eEntryRootKey')]
  0005  CALL      R4 = call(R4, 1 args, 1 rets)
  0006  GETTABLE  R5 = R1[K3('bRefreshLayout')]
  0007  LOADNIL   R6..R6 = nil
  0008  GETTABLE  R7 = R1[K1('eEntryRootKey')]
  0009  GETTABUP  R8 = _ENV[K4('EEntryRootKey')]
  0010  GETTABLE  R8 = R8[K5('Bundle')]
  0011  EQ        if R0 eq R8   -> -127467
  0012  JMP       (jump)   -> 20
  0013  GETTABLE  R7 = R0[K6('m_loadNum')]
  0014  ADD       R7 = K7(1) add R7
  0015  SETTABLE  R0[K6('m_loadNum')] = R7
  0016  LOADBOOL  R5 = true
  0017  SELF      R8 = R0[K8('_GetLoadEndFunc')] (self)
  0018  CALL      R7 = call(R7, 1 args, 1 rets)
  0019  MOVE      R6 = R0
  0020  SELF      R8 = R0[K9('_EntryUpdateFunctionCreator')] (self)
  0021  MOVE      R9 = R0
  0022  MOVE      R10 = R0
  0023  GETTABLE  R11 = R1[K10('hudKey')]
  0024  GETTABLE  R12 = R1[K11('entryPrefabName')]
  0025  GETTABLE  R13 = R1[K12('checkFun')]
  0026  MOVE      R14 = R0
  0027  MOVE      R15 = R0
  0028  MOVE      R16 = R0
  0029  CALL      R7 = call(R7, 1 args, 9 rets)
  0030  GETTABLE  R8 = R1[K13('statusChangeEvent')]
  0031  EQ        if R1 eq K14(nil)   -> -126673
  0032  JMP       (jump)   -> 39
  0033  GETTABUP  R8 = _ENV[K15('EventDispatcher')]
  0034  GETTABLE  R8 = R8[K16('AddListener')]
  0035  GETTABLE  R9 = R1[K13('statusChangeEvent')]
  0036  MOVE      R10 = R0
  0037  MOVE      R11 = R0
  0038  CALL      R8 = call(R8, 0 args, 3 rets)
  0039  GETTABLE  R8 = R1[K17('extraListenEvent')]
  0040  EQ        if R1 eq K14(nil)   -> -126664
  0041  JMP       (jump)   -> 48
  0042  GETTABUP  R8 = _ENV[K15('EventDispatcher')]
  0043  GETTABLE  R8 = R8[K16('AddListener')]
  0044  GETTABLE  R9 = R1[K17('extraListenEvent')]
  0045  MOVE      R10 = R0
  0046  MOVE      R11 = R0
  0047  CALL      R8 = call(R8, 0 args, 3 rets)
  0048  MOVE      R8 = R0
  0049  CALL      R8 = call(R8, 0 args, 0 rets)
  0050  RETURN    return R0..R-1
; ---------- proto5 [ActivityEntryCodeCreator] ----------
  ; fn ?  line 160-162 np=3 va=0 ms=7 code=5 consts=1 upvals=0 protos=0
  ;   K[0]='_ActivityEntryCodeCreator'
  ;   locals: self(0-5), entryConfig(0-5), params(0-5)
  0000  SELF      R4 = R0[K0('_ActivityEntryCodeCreator')] (self)
  0001  MOVE      R5 = R0
  0002  MOVE      R6 = R0
  0003  CALL      R3 = call(R3, 0 args, 3 rets)
  0004  RETURN    return R0..R-1
; ---------- proto6 [IsExistEntryNodeRect] ----------
  ; fn ?  line 165-167 np=2 va=0 ms=3 code=7 consts=1 upvals=0 protos=0
  ;   K[0]=nil
  ;   locals: self(0-7), nodeKey(0-7)
  0000  GETTABLE  R2 = R0[R1]
  0001  EQ        if R0 eq K0(nil)   -> -129789
  0002  JMP       (jump)   -> 4
  0003  LOADBOOL  R2 = false
  0004  LOADBOOL  R2 = true
  0005  RETURN    return R2..R1
  0006  RETURN    return R0..R-1
; ---------- proto7 [_GetLoadEndFunc] ----------
  ; fn ?  line 169-177 np=1 va=0 ms=2 code=3 consts=0 upvals=0 protos=1
  ;   locals: self(0-3)
  0000  CLOSURE   R1 = closure proto0
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 170-176 np=0 va=0 ms=2 code=10 consts=4 upvals=1 protos=0
    ;   K[0]='m_loadNum'
    ;   K[1]=1
    ;   K[2]=0
    ;   K[3]='SortBundleEntry'
    ;   upvals: self
    0000  GETTABUP  R0 = self[K0('m_loadNum')]
    0001  SUB       R0 = K1(1) sub R0
    0002  SETTABUP  self[K0('m_loadNum')] = R0
    0003  GETTABUP  R0 = self[K0('m_loadNum')]
    0004  EQ        if R0 eq K2(0)   -> -130808
    0005  JMP       (jump)   -> 9
    0006  GETUPVAL  R0 = self
    0007  SELF      R1 = R0[K3('SortBundleEntry')] (self)
    0008  CALL      R0 = call(R0, 0 args, 1 rets)
    0009  RETURN    return R0..R-1
; ---------- proto8 [BundleEntryCodeCreator] ----------
  ; fn ?  line 180-209 np=2 va=0 ms=19 code=50 consts=18 upvals=1 protos=0
  ;   K[0]='Table'
  ;   K[1]='IsEmpty'
  ;   K[2]='m_loadNum'
  ;   K[3]=0
  ;   K[4]='ipairs'
  ;   K[5]='GM'
  ;   K[6]='BundleManager'
  ;   K[7]='GetModel'
  ;   K[8]=nil
  ;   K[9]='GetAllGroupDatas'
  ;   K[10]=1
  ;   K[11]='_OnBundleDataRefreshed'
  ;   K[12]='_GetLoadEndFunc'
  ;   K[13]='EventDispatcher'
  ;   K[14]='AddListener'
  ;   K[15]='EEventType'
  ;   K[16]='BundleDataRefreshed'
  ;   K[17]='OnBundleDataRefreshed'
  ;   upvals: _ENV
  ;   locals: self(0-50), arrBundleType(0-50), model(9-50), (for generator)(12-42), (for state)(12-42), (for control)(12-42), _(13-40), bundleType(13-40), (for generator)(28-40), (for state)(28-40), (for control)(28-40), _(29-38), dataGroup(29-38)
  0000  GETTABUP  R2 = _ENV[K0('Table')]
  0001  GETTABLE  R2 = R2[K1('IsEmpty')]
  0002  MOVE      R3 = R0
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  TEST      if not R2 then   -> -131066
  0005  JMP       (jump)   -> 7
  0006  RETURN    return R0..R-1
  0007  SETTABLE  R0[K2('m_loadNum')] = K3(0)
  0008  LOADNIL   R2..R2 = nil
  0009  GETTABUP  R3 = _ENV[K4('ipairs')]
  0010  MOVE      R4 = R0
  0011  CALL      R3 = call(R3, 3 args, 1 rets)
  0012  JMP       (jump)   -> 40
  0013  GETTABUP  R8 = _ENV[K5('GM')]
  0014  GETTABLE  R8 = R8[K6('BundleManager')]
  0015  SELF      R9 = R8[K7('GetModel')] (self)
  0016  MOVE      R10 = R0
  0017  CALL      R8 = call(R8, 1 args, 2 rets)
  0018  MOVE      R2 = R0
  0019  EQ        if R1 eq K8(nil)   -> -129763
  0020  JMP       (jump)   -> 40
  0021  GETTABUP  R8 = _ENV[K4('ipairs')]
  0022  SELF      R10 = R2[K9('GetAllGroupDatas')] (self)
  0023  CALL      R9 = call(R9, 1 args, 1 rets)
  0024  TEST      if not R9 then   -> -131045
  0025  JMP       (jump)   -> 27
  0026  NEWTABLE  R9 = {} (0 items)
  0027  CALL      R8 = call(R8, 3 args, 1 rets)
  0028  JMP       (jump)   -> 38
  0029  GETTABLE  R13 = R0[K2('m_loadNum')]
  0030  ADD       R13 = K10(1) add R13
  0031  SETTABLE  R0[K2('m_loadNum')] = R13
  0032  SELF      R14 = R0[K11('_OnBundleDataRefreshed')] (self)
  0033  MOVE      R15 = R0
  0034  MOVE      R16 = R0
  0035  SELF      R18 = R0[K12('_GetLoadEndFunc')] (self)
  0036  CALL      R17 = call(R17, -1 args, 1 rets)
  0037  CALL      R13 = call(R13, 0 args, -1 rets)
  0038  TFORCALL  tforcall R8
  0039  TFORLOOP  tforloop R10(sBx=-11)   -> 29
  0040  TFORCALL  tforcall R3
  0041  TFORLOOP  tforloop R5(sBx=-29)   -> 13
  0042  GETTABUP  R3 = _ENV[K13('EventDispatcher')]
  0043  GETTABLE  R3 = R3[K14('AddListener')]
  0044  GETTABUP  R4 = _ENV[K15('EEventType')]
  0045  GETTABLE  R4 = R4[K16('BundleDataRefreshed')]
  0046  MOVE      R5 = R0
  0047  GETTABLE  R6 = R0[K17('OnBundleDataRefreshed')]
  0048  CALL      R3 = call(R3, 0 args, 3 rets)
  0049  RETURN    return R0..R-1
; ---------- proto9 [OnBundleDataRefreshed] ----------
  ; fn ?  line 211-213 np=2 va=0 ms=6 code=5 consts=3 upvals=0 protos=0
  ;   K[0]='_OnBundleDataRefreshed'
  ;   K[1]='dataGroup'
  ;   K[2]='bundleType'
  ;   locals: self(0-5), msg(0-5)
  0000  SELF      R3 = R0[K0('_OnBundleDataRefreshed')] (self)
  0001  GETTABLE  R4 = R1[K1('dataGroup')]
  0002  GETTABLE  R5 = R1[K2('bundleType')]
  0003  CALL      R2 = call(R2, 0 args, 3 rets)
  0004  RETURN    return R0..R-1
; ---------- proto10 [_OnBundleDataRefreshed] ----------
  ; fn ?  line 215-232 np=4 va=0 ms=22 code=59 consts=16 upvals=1 protos=1
  ;   K[0]='GM'
  ;   K[1]='BundleManager'
  ;   K[2]='GetModel'
  ;   K[3]=nil
  ;   K[4]='GetMapEntryShowConfig'
  ;   K[5]='GetEntryRootName'
  ;   K[6]='eEntryRootKey'
  ;   K[7]='EEntryRootKey'
  ;   K[8]='Bundle'
  ;   K[9]='GetEntryCountName'
  ;   K[10]='GetBundleHudKey'
  ;   K[11]='GetGroupId'
  ;   K[12]='BundleUIType'
  ;   K[13]='GetBundleUIType'
  ;   K[14]='entryPrefabName'
  ;   K[15]='_EntryUpdateFunctionCreator'
  ;   upvals: _ENV
  ;   locals: self(0-59), dataGroup(0-59), bundleType(0-59), endFunc(0-59), model(5-59), entryConfig(13-59), entryNodeName(20-59), entryCountName(27-59), hudKey(32-59), uiDefinition(36-59), prefabName(42-59), checkFunc(43-59), updateFunction(56-59)
  0000  GETTABUP  R4 = _ENV[K0('GM')]
  0001  GETTABLE  R4 = R4[K1('BundleManager')]
  0002  SELF      R5 = R4[K2('GetModel')] (self)
  0003  MOVE      R6 = R0
  0004  CALL      R4 = call(R4, 1 args, 2 rets)
  0005  EQ        if R1 eq K3(nil)   -> -128758
  0006  JMP       (jump)   -> 10
  0007  GETTABLE  R5 = R4[K4('GetMapEntryShowConfig')]
  0008  EQ        if R0 eq K3(nil)   -> -128243
  0009  JMP       (jump)   -> 11
  0010  RETURN    return R0..R-1
  0011  SELF      R6 = R4[K4('GetMapEntryShowConfig')] (self)
  0012  CALL      R5 = call(R5, 1 args, 1 rets)
  0013  GETTABUP  R6 = _ENV[K5('GetEntryRootName')]
  0014  GETTABLE  R7 = R5[K6('eEntryRootKey')]
  0015  TEST      if not R7 then   -> -131054
  0016  JMP       (jump)   -> 19
  0017  GETTABUP  R7 = _ENV[K7('EEntryRootKey')]
  0018  GETTABLE  R7 = R7[K8('Bundle')]
  0019  CALL      R6 = call(R6, 1 args, 1 rets)
  0020  GETTABUP  R7 = _ENV[K9('GetEntryCountName')]
  0021  GETTABLE  R8 = R5[K6('eEntryRootKey')]
  0022  TEST      if not R8 then   -> -131047
  0023  JMP       (jump)   -> 26
  0024  GETTABUP  R8 = _ENV[K7('EEntryRootKey')]
  0025  GETTABLE  R8 = R8[K8('Bundle')]
  0026  CALL      R7 = call(R7, 1 args, 1 rets)
  0027  GETTABUP  R8 = _ENV[K10('GetBundleHudKey')]
  0028  MOVE      R9 = R0
  0029  SELF      R11 = R1[K11('GetGroupId')] (self)
  0030  CALL      R10 = call(R10, -1 args, 1 rets)
  0031  CALL      R8 = call(R8, 1 args, -1 rets)
  0032  GETTABUP  R9 = _ENV[K12('BundleUIType')]
  0033  SELF      R11 = R1[K13('GetBundleUIType')] (self)
  0034  CALL      R10 = call(R10, 1 args, 1 rets)
  0035  GETTABLE  R9 = R9[R10]
  0036  TEST      if not R9 then   -> -131034
  0037  JMP       (jump)   -> 41
  0038  GETTABLE  R10 = R9[K14('entryPrefabName')]
  0039  TEST      if not R10 then   -> -131030
  0040  JMP       (jump)   -> 42
  0041  GETTABLE  R10 = R5[K14('entryPrefabName')]
  0042  CLOSURE   R11 = closure proto0
  0043  SELF      R13 = R0[K15('_EntryUpdateFunctionCreator')] (self)
  0044  MOVE      R14 = R0
  0045  MOVE      R15 = R0
  0046  MOVE      R16 = R0
  0047  MOVE      R17 = R0
  0048  MOVE      R18 = R0
  0049  NEWTABLE  R19 = {} (2 items)
  0050  MOVE      R20 = R0
  0051  MOVE      R21 = R0
  0052  SETLIST   setlist R19[B=1,C=2]
  0053  LOADBOOL  R20 = true
  0054  MOVE      R21 = R0
  0055  CALL      R12 = call(R12, 1 args, 9 rets)
  0056  MOVE      R13 = R0
  0057  CALL      R13 = call(R13, 0 args, 0 rets)
  0058  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 227-229 np=0 va=0 ms=2 code=5 consts=1 upvals=2 protos=0
    ;   K[0]='checkFun'
    ;   upvals: entryConfig, dataGroup
    0000  GETTABUP  R0 = entryConfig[K0('checkFun')]
    0001  GETUPVAL  R1 = entryConfig
    0002  TAILCALL  tailcall(R0, 0)
    0003  RETURN    return R0..R-1
    0004  RETURN    return R0..R-1
; ---------- proto11 [SortBundleEntry] ----------
  ; fn ?  line 235-278 np=1 va=0 ms=20 code=103 consts=24 upvals=1 protos=1
  ;   K[0]='ipairs'
  ;   K[1]='BundleTypeOrderList'
  ;   K[2]='GM'
  ;   K[3]='BundleManager'
  ;   K[4]='GetModel'
  ;   K[5]=nil
  ;   K[6]='GetActiveGroupDatas'
  ;   K[7]='m_sceneViewHud'
  ;   K[8]='GetHudButton'
  ;   K[9]='GetBundleHudKey'
  ;   K[10]='GetGroupId'
  ;   K[11]='table'
  ;   K[12]='insert'
  ;   K[13]='FundPackActivityDefinition'
  ;   K[14]='DiscoSpinActivityDefinition'
  ;   K[15]='DoubleWheelActivityDefinition'
  ;   K[16]='pairs'
  ;   K[17]='ActivityManager'
  ;   K[18]='IsFunction'
  ;   K[19]='GetMapEntryShowConfig'
  ;   K[20]='hudKey'
  ;   K[21]='sort'
  ;   K[22]='transform'
  ;   K[23]='SetAsLastSibling'
  ;   upvals: _ENV
  ;   locals: self(0-103), arrEntry(1-103), model(2-103), entry(2-103), (for generator)(5-42), (for state)(5-42), (for control)(5-42), _(6-40), bundleType(6-40), (for generator)(21-40), (for state)(21-40), (for control)(21-40), _(22-38), dataGroup(22-38), arrBundleActivityDefinition(47-103), entryConfig(48-103), entryRootName(48-103), (for generator)(51-88), (for state)(51-88), (for control)(51-88), _(52-86), bundleActivityDefinition(52-86), (for generator)(55-86), (for state)(55-86), (for control)(55-86), activityType(56-84), activityDefinition(56-84), (for generator)(96-102), (for state)(96-102), (for control)(96-102), _(97-100), entry(97-100)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  LOADNIL   R2..R2 = nil
  0002  GETTABUP  R4 = _ENV[K0('ipairs')]
  0003  GETTABUP  R5 = _ENV[K1('BundleTypeOrderList')]
  0004  CALL      R4 = call(R4, 3 args, 1 rets)
  0005  JMP       (jump)   -> 40
  0006  GETTABUP  R9 = _ENV[K2('GM')]
  0007  GETTABLE  R9 = R9[K3('BundleManager')]
  0008  SELF      R10 = R9[K4('GetModel')] (self)
  0009  MOVE      R11 = R0
  0010  CALL      R9 = call(R9, 1 args, 2 rets)
  0011  MOVE      R2 = R0
  0012  EQ        if R1 eq K5(nil)   -> -129773
  0013  JMP       (jump)   -> 40
  0014  GETTABUP  R9 = _ENV[K0('ipairs')]
  0015  SELF      R11 = R2[K6('GetActiveGroupDatas')] (self)
  0016  CALL      R10 = call(R10, 1 args, 1 rets)
  0017  TEST      if not R10 then   -> -131052
  0018  JMP       (jump)   -> 20
  0019  NEWTABLE  R10 = {} (0 items)
  0020  CALL      R9 = call(R9, 3 args, 1 rets)
  0021  JMP       (jump)   -> 38
  0022  GETTABLE  R14 = R0[K7('m_sceneViewHud')]
  0023  SELF      R15 = R14[K8('GetHudButton')] (self)
  0024  GETTABUP  R16 = _ENV[K9('GetBundleHudKey')]
  0025  MOVE      R17 = R0
  0026  SELF      R19 = R13[K10('GetGroupId')] (self)
  0027  CALL      R18 = call(R18, -1 args, 1 rets)
  0028  CALL      R16 = call(R16, -1 args, -1 rets)
  0029  CALL      R14 = call(R14, 1 args, -1 rets)
  0030  MOVE      R3 = R0
  0031  EQ        if R1 eq K5(nil)   -> -129242
  0032  JMP       (jump)   -> 38
  0033  GETTABUP  R14 = _ENV[K11('table')]
  0034  GETTABLE  R14 = R14[K12('insert')]
  0035  MOVE      R15 = R0
  0036  MOVE      R16 = R0
  0037  CALL      R14 = call(R14, 0 args, 2 rets)
  0038  TFORCALL  tforcall R9
  0039  TFORLOOP  tforloop R11(sBx=-18)   -> 22
  0040  TFORCALL  tforcall R4
  0041  TFORLOOP  tforloop R6(sBx=-36)   -> 6
  0042  NEWTABLE  R4 = {} (3 items)
  0043  GETTABUP  R5 = _ENV[K13('FundPackActivityDefinition')]
  0044  GETTABUP  R6 = _ENV[K14('DiscoSpinActivityDefinition')]
  0045  GETTABUP  R7 = _ENV[K15('DoubleWheelActivityDefinition')]
  0046  SETLIST   setlist R4[B=1,C=3]
  0047  LOADNIL   R5..R5 = nil
  0048  GETTABUP  R7 = _ENV[K0('ipairs')]
  0049  MOVE      R8 = R0
  0050  CALL      R7 = call(R7, 3 args, 1 rets)
  0051  JMP       (jump)   -> 86
  0052  GETTABUP  R12 = _ENV[K16('pairs')]
  0053  MOVE      R13 = R0
  0054  CALL      R12 = call(R12, 3 args, 1 rets)
  0055  JMP       (jump)   -> 84
  0056  GETTABUP  R17 = _ENV[K2('GM')]
  0057  GETTABLE  R17 = R17[K17('ActivityManager')]
  0058  SELF      R18 = R17[K4('GetModel')] (self)
  0059  MOVE      R19 = R0
  0060  CALL      R17 = call(R17, 1 args, 2 rets)
  0061  MOVE      R2 = R0
  0062  EQ        if R1 eq K5(nil)   -> -129723
  0063  JMP       (jump)   -> 84
  0064  GETTABUP  R17 = _ENV[K18('IsFunction')]
  0065  GETTABLE  R18 = R2[K19('GetMapEntryShowConfig')]
  0066  CALL      R17 = call(R17, 1 args, 1 rets)
  0067  TEST      if not R17 then   -> -131003
  0068  JMP       (jump)   -> 84
  0069  SELF      R18 = R2[K19('GetMapEntryShowConfig')] (self)
  0070  CALL      R17 = call(R17, 1 args, 1 rets)
  0071  MOVE      R5 = R0
  0072  GETTABLE  R17 = R0[K7('m_sceneViewHud')]
  0073  SELF      R18 = R17[K8('GetHudButton')] (self)
  0074  GETTABLE  R19 = R5[K20('hudKey')]
  0075  CALL      R17 = call(R17, 1 args, 2 rets)
  0076  MOVE      R3 = R0
  0077  EQ        if R1 eq K5(nil)   -> -129196
  0078  JMP       (jump)   -> 84
  0079  GETTABUP  R17 = _ENV[K11('table')]
  0080  GETTABLE  R17 = R17[K12('insert')]
  0081  MOVE      R18 = R0
  0082  MOVE      R19 = R0
  0083  CALL      R17 = call(R17, 0 args, 2 rets)
  0084  TFORCALL  tforcall R12
  0085  TFORLOOP  tforloop R14(sBx=-30)   -> 56
  0086  TFORCALL  tforcall R7
  0087  TFORLOOP  tforloop R9(sBx=-36)   -> 52
  0088  GETTABUP  R7 = _ENV[K11('table')]
  0089  GETTABLE  R7 = R7[K21('sort')]
  0090  MOVE      R8 = R0
  0091  CLOSURE   R9 = closure proto0
  0092  CALL      R7 = call(R7, 0 args, 2 rets)
  0093  GETTABUP  R7 = _ENV[K0('ipairs')]
  0094  MOVE      R8 = R0
  0095  CALL      R7 = call(R7, 3 args, 1 rets)
  0096  JMP       (jump)   -> 100
  0097  GETTABLE  R12 = R11[K22('transform')]
  0098  SELF      R13 = R12[K23('SetAsLastSibling')] (self)
  0099  CALL      R12 = call(R12, 0 args, 1 rets)
  0100  TFORCALL  tforcall R7
  0101  TFORLOOP  tforloop R9(sBx=-5)   -> 97
  0102  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 271-273 np=2 va=0 ms=5 code=10 consts=1 upvals=0 protos=0
    ;   K[0]='GetTriggerStartTime'
    ;   locals: a(0-10), b(0-10)
    0000  SELF      R3 = R0[K0('GetTriggerStartTime')] (self)
    0001  CALL      R2 = call(R2, 1 args, 1 rets)
    0002  SELF      R4 = R1[K0('GetTriggerStartTime')] (self)
    0003  CALL      R3 = call(R3, 1 args, 1 rets)
    0004  LT        if R1 lt R3   -> -130039
    0005  JMP       (jump)   -> 7
    0006  LOADBOOL  R2 = false
    0007  LOADBOOL  R2 = true
    0008  RETURN    return R2..R1
    0009  RETURN    return R0..R-1
