# UI_SceneView_SceneViewHudSideBarTopRight_420.luac
; fn @SceneViewHudSideBarTopRight.lua  line 0-0 np=0 va=1 ms=3 code=15 consts=6 upvals=1 protos=2
;   K[0]='SceneViewHudSideBarTopRight'
;   K[1]='setmetatable'
;   K[2]='SceneViewHudSideBar'
;   K[3]='__index'
;   K[4]='_Init'
;   K[5]='LateUpdate'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  GETTABUP  R2 = _ENV[K2('SceneViewHudSideBar')]
0003  CALL      R0 = call(R0, 1 args, 2 rets)
0004  SETTABUP  _ENV[K0('SceneViewHudSideBarTopRight')] = R0
0005  GETTABUP  R0 = _ENV[K0('SceneViewHudSideBarTopRight')]
0006  GETTABUP  R1 = _ENV[K0('SceneViewHudSideBarTopRight')]
0007  SETTABLE  R0[K3('__index')] = R1
0008  GETTABUP  R0 = _ENV[K0('SceneViewHudSideBarTopRight')]
0009  CLOSURE   R1 = closure proto0
0010  SETTABLE  R0[K4('_Init')] = R1
0011  GETTABUP  R0 = _ENV[K0('SceneViewHudSideBarTopRight')]
0012  CLOSURE   R1 = closure proto1
0013  SETTABLE  R0[K5('LateUpdate')] = R1
0014  RETURN    return R0..R-1
; ---------- proto0 [_Init] ----------
  ; fn ?  line 7-23 np=1 va=0 ms=13 code=37 consts=20 upvals=1 protos=1
  ;   K[0]='pairs'
  ;   K[1]='AlbumActivityDefinition'
  ;   K[2]='GM'
  ;   K[3]='ActivityManager'
  ;   K[4]='GetModel'
  ;   K[5]='ActivityEntryCodeCreator'
  ;   K[6]='statusChangeEvent'
  ;   K[7]='DoublePackBuffStateChanged'
  ;   K[8]='eEntryRootKey'
  ;   K[9]='EEntryRootKey'
  ;   K[10]='DoublePackBuff'
  ;   K[11]='checkFun'
  ;   K[12]='entryPrefabName'
  ;   K[13]='UIPrefabConfigName'
  ;   K[14]='AlbumDoublePackBuffEntry'
  ;   K[15]='hudKey'
  ;   K[16]='EAlbumBuffType'
  ;   K[17]='DoublePack'
  ;   K[18]='bRefreshLayout'
  ;   K[19]=true
  ;   upvals: _ENV
  ;   locals: self(0-37), (for generator)(3-36), (for state)(3-36), (for control)(3-36), activityType(4-34), definition(4-34), model(9-34)
  0000  GETTABUP  R1 = _ENV[K0('pairs')]
  0001  GETTABUP  R2 = _ENV[K1('AlbumActivityDefinition')]
  0002  CALL      R1 = call(R1, 3 args, 1 rets)
  0003  JMP       (jump)   -> 34
  0004  GETTABUP  R6 = _ENV[K2('GM')]
  0005  GETTABLE  R6 = R6[K3('ActivityManager')]
  0006  SELF      R7 = R6[K4('GetModel')] (self)
  0007  MOVE      R8 = R0
  0008  CALL      R6 = call(R6, 1 args, 2 rets)
  0009  SELF      R8 = R0[K5('ActivityEntryCodeCreator')] (self)
  0010  NEWTABLE  R9 = {} (0 items)
  0011  GETTABLE  R10 = R5[K7('DoublePackBuffStateChanged')]
  0012  SETTABLE  R9[K6('statusChangeEvent')] = R10
  0013  GETTABUP  R10 = _ENV[K9('EEntryRootKey')]
  0014  GETTABLE  R10 = R10[K10('DoublePackBuff')]
  0015  SETTABLE  R9[K8('eEntryRootKey')] = R10
  0016  CLOSURE   R10 = closure proto0
  0017  SETTABLE  R9[K11('checkFun')] = R10
  0018  GETTABUP  R10 = _ENV[K13('UIPrefabConfigName')]
  0019  GETTABLE  R10 = R10[K14('AlbumDoublePackBuffEntry')]
  0020  SETTABLE  R9[K12('entryPrefabName')] = R10
  0021  MOVE      R10 = R0
  0022  GETTABUP  R11 = _ENV[K16('EAlbumBuffType')]
  0023  GETTABLE  R11 = R11[K17('DoublePack')]
  0024  CONCAT    R10 = concat(R10..R10)
  0025  SETTABLE  R9[K15('hudKey')] = R10
  0026  SETTABLE  R9[K18('bRefreshLayout')] = K19(true)
  0027  NEWTABLE  R10 = {} (2 items)
  0028  MOVE      R11 = R0
  0029  GETTABUP  R12 = _ENV[K16('EAlbumBuffType')]
  0030  GETTABLE  R12 = R12[K17('DoublePack')]
  0031  SETLIST   setlist R10[B=1,C=2]
  0032  CALL      R7 = call(R7, 0 args, 3 rets)
  0033  JMP       (jump)   -> 34
  0034  TFORCALL  tforcall R1
  0035  TFORLOOP  tforloop R3(sBx=-32)   -> 4
  0036  RETURN    return R0..R-1
  ; ---------- proto0 [checkFun] ----------
    ; fn ?  line 15-17 np=0 va=0 ms=3 code=7 consts=3 upvals=2 protos=0
    ;   K[0]='IsBuffOpenning'
    ;   K[1]='EAlbumBuffType'
    ;   K[2]='DoublePack'
    ;   upvals: model, _ENV
    0000  GETUPVAL  R0 = model
    0001  SELF      R1 = R0[K0('IsBuffOpenning')] (self)
    0002  GETTABUP  R2 = _ENV[K1('EAlbumBuffType')]
    0003  GETTABLE  R2 = R2[K2('DoublePack')]
    0004  TAILCALL  tailcall(R0, 0)
    0005  RETURN    return R0..R-1
    0006  RETURN    return R0..R-1
; ---------- proto1 [LateUpdate] ----------
  ; fn ?  line 25-39 np=1 va=0 ms=13 code=41 consts=13 upvals=1 protos=0
  ;   K[0]='UIUtil'
  ;   K[1]='IsUIWindowAutoPopupAllowed'
  ;   K[2]='m_buffContainerRectTransform'
  ;   K[3]='childCount'
  ;   K[4]=1
  ;   K[5]=0
  ;   K[6]=-1
  ;   K[7]='GetChild'
  ;   K[8]='gameObject'
  ;   K[9]='GetLuaTable'
  ;   K[10]=nil
  ;   K[11]='IsFunction'
  ;   K[12]='TryPopTip'
  ;   upvals: _ENV
  ;   locals: self(0-41), (for index)(10-40), (for limit)(10-40), (for step)(10-40), i(11-39), entryNode(15-39), (for index)(19-39), (for limit)(19-39), (for step)(19-39), i(20-38), entry(26-38)
  0000  GETTABUP  R1 = _ENV[K0('UIUtil')]
  0001  GETTABLE  R1 = R1[K1('IsUIWindowAutoPopupAllowed')]
  0002  CALL      R1 = call(R1, 1 args, 0 rets)
  0003  TEST      if not R1 then   -> -131067
  0004  JMP       (jump)   -> 40
  0005  GETTABLE  R1 = R0[K2('m_buffContainerRectTransform')]
  0006  GETTABLE  R1 = R1[K3('childCount')]
  0007  SUB       R1 = K4(1) sub R1
  0008  LOADK     R2 = K5 0
  0009  LOADK     R3 = K6 -1
  0010  FORPREP   forprep R1(sBx=28)   -> 39
  0011  GETTABLE  R5 = R0[K2('m_buffContainerRectTransform')]
  0012  SELF      R6 = R5[K7('GetChild')] (self)
  0013  MOVE      R7 = R0
  0014  CALL      R5 = call(R5, 1 args, 2 rets)
  0015  LOADK     R6 = K5 0
  0016  GETTABLE  R7 = R5[K3('childCount')]
  0017  SUB       R7 = K4(1) sub R7
  0018  LOADK     R8 = K4 1
  0019  FORPREP   forprep R6(sBx=18)   -> 38
  0020  SELF      R11 = R5[K7('GetChild')] (self)
  0021  MOVE      R12 = R0
  0022  CALL      R10 = call(R10, 1 args, 2 rets)
  0023  GETTABLE  R10 = R10[K8('gameObject')]
  0024  SELF      R11 = R10[K9('GetLuaTable')] (self)
  0025  CALL      R10 = call(R10, 1 args, 1 rets)
  0026  EQ        if R1 eq K10(nil)   -> -125658
  0027  JMP       (jump)   -> 38
  0028  GETTABUP  R11 = _ENV[K11('IsFunction')]
  0029  GETTABLE  R12 = R10[K12('TryPopTip')]
  0030  CALL      R11 = call(R11, 1 args, 1 rets)
  0031  TEST      if not R11 then   -> -131039
  0032  JMP       (jump)   -> 38
  0033  SELF      R12 = R10[K12('TryPopTip')] (self)
  0034  CALL      R11 = call(R11, 1 args, 1 rets)
  0035  TEST      if not R11 then   -> -131035
  0036  JMP       (jump)   -> 38
  0037  RETURN    return R0..R-1
  0038  FORLOOP   forloop R6(sBx=-19)   -> 20
  0039  FORLOOP   forloop R1(sBx=-29)   -> 11
  0040  RETURN    return R0..R-1
