# UI_Button_ChainBundleButton_307.luac
; fn @ChainBundleButton.lua  line 0-0 np=0 va=1 ms=3 code=12 consts=5 upvals=1 protos=1
;   K[0]='ChainBundleButton'
;   K[1]='setmetatable'
;   K[2]='BundleButton'
;   K[3]='__index'
;   K[4]='_UpdateExclamation'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  GETTABUP  R2 = _ENV[K2('BundleButton')]
0003  CALL      R0 = call(R0, 1 args, 2 rets)
0004  SETTABUP  _ENV[K0('ChainBundleButton')] = R0
0005  GETTABUP  R0 = _ENV[K0('ChainBundleButton')]
0006  GETTABUP  R1 = _ENV[K0('ChainBundleButton')]
0007  SETTABLE  R0[K3('__index')] = R1
0008  GETTABUP  R0 = _ENV[K0('ChainBundleButton')]
0009  CLOSURE   R1 = closure proto0
0010  SETTABLE  R0[K4('_UpdateExclamation')] = R1
0011  RETURN    return R0..R-1
; ---------- proto0 [_UpdateExclamation] ----------
  ; fn ?  line 5-13 np=1 va=0 ms=6 code=28 consts=8 upvals=1 protos=0
  ;   K[0]='m_model'
  ;   K[1]=nil
  ;   K[2]='m_dataGroup'
  ;   K[3]='GetCurStepBundleConfigData'
  ;   K[4]='UIUtil'
  ;   K[5]='SetActive'
  ;   K[6]='m_exclamationGo'
  ;   K[7]='IsFree'
  ;   upvals: _ENV
  ;   locals: self(0-28), bundleData(10-21)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  EQ        if R1 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 22
  0003  GETTABLE  R1 = R0[K2('m_dataGroup')]
  0004  EQ        if R1 eq K1(nil)   -> -130297
  0005  JMP       (jump)   -> 22
  0006  GETTABLE  R1 = R0[K0('m_model')]
  0007  SELF      R2 = R1[K3('GetCurStepBundleConfigData')] (self)
  0008  GETTABLE  R3 = R0[K2('m_dataGroup')]
  0009  CALL      R1 = call(R1, 1 args, 2 rets)
  0010  GETTABUP  R2 = _ENV[K4('UIUtil')]
  0011  GETTABLE  R2 = R2[K5('SetActive')]
  0012  GETTABLE  R3 = R0[K6('m_exclamationGo')]
  0013  EQ        if R1 eq K1(nil)   -> -130288
  0014  JMP       (jump)   -> 18
  0015  SELF      R5 = R1[K7('IsFree')] (self)
  0016  CALL      R4 = call(R4, 1 args, 1 rets)
  0017  JMP       (jump)   -> 20
  0018  LOADBOOL  R4 = false
  0019  LOADBOOL  R4 = true
  0020  CALL      R2 = call(R2, 0 args, 2 rets)
  0021  JMP       (jump)   -> 27
  0022  GETTABUP  R1 = _ENV[K4('UIUtil')]
  0023  GETTABLE  R1 = R1[K5('SetActive')]
  0024  GETTABLE  R2 = R0[K6('m_exclamationGo')]
  0025  LOADBOOL  R3 = false
  0026  CALL      R1 = call(R1, 0 args, 2 rets)
  0027  RETURN    return R0..R-1
