# UI_Button_SettingButton_312.luac
; fn @SettingButton.lua  line 0-0 np=0 va=1 ms=3 code=18 consts=7 upvals=1 protos=3
;   K[0]='SettingButton'
;   K[1]='setmetatable'
;   K[2]='HudGeneralButton'
;   K[3]='__index'
;   K[4]='Awake'
;   K[5]='_UpdateRedPoint'
;   K[6]='OnClicked'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  GETTABUP  R2 = _ENV[K2('HudGeneralButton')]
0003  CALL      R0 = call(R0, 1 args, 2 rets)
0004  SETTABUP  _ENV[K0('SettingButton')] = R0
0005  GETTABUP  R0 = _ENV[K0('SettingButton')]
0006  GETTABUP  R1 = _ENV[K0('SettingButton')]
0007  SETTABLE  R0[K3('__index')] = R1
0008  GETTABUP  R0 = _ENV[K0('SettingButton')]
0009  CLOSURE   R1 = closure proto0
0010  SETTABLE  R0[K4('Awake')] = R1
0011  GETTABUP  R0 = _ENV[K0('SettingButton')]
0012  CLOSURE   R1 = closure proto1
0013  SETTABLE  R0[K5('_UpdateRedPoint')] = R1
0014  GETTABUP  R0 = _ENV[K0('SettingButton')]
0015  CLOSURE   R1 = closure proto2
0016  SETTABLE  R0[K6('OnClicked')] = R1
0017  RETURN    return R0..R-1
; ---------- proto0 [Awake] ----------
  ; fn ?  line 4-9 np=1 va=0 ms=5 code=14 consts=7 upvals=1 protos=0
  ;   K[0]='HudGeneralButton'
  ;   K[1]='Awake'
  ;   K[2]='_UpdateRedPoint'
  ;   K[3]='EventDispatcher'
  ;   K[4]='AddListener'
  ;   K[5]='EEventType'
  ;   K[6]='RefreshSettingStrongTip'
  ;   upvals: _ENV
  ;   locals: self(0-14)
  0000  GETTABUP  R1 = _ENV[K0('HudGeneralButton')]
  0001  GETTABLE  R1 = R1[K1('Awake')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  SELF      R2 = R0[K2('_UpdateRedPoint')] (self)
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  GETTABUP  R1 = _ENV[K3('EventDispatcher')]
  0007  GETTABLE  R1 = R1[K4('AddListener')]
  0008  GETTABUP  R2 = _ENV[K5('EEventType')]
  0009  GETTABLE  R2 = R2[K6('RefreshSettingStrongTip')]
  0010  MOVE      R3 = R0
  0011  GETTABLE  R4 = R0[K2('_UpdateRedPoint')]
  0012  CALL      R1 = call(R1, 0 args, 3 rets)
  0013  RETURN    return R0..R-1
; ---------- proto1 [_UpdateRedPoint] ----------
  ; fn ?  line 11-13 np=1 va=0 ms=5 code=20 consts=9 upvals=1 protos=0
  ;   K[0]='m_exclamationGo'
  ;   K[1]='SetActive'
  ;   K[2]='GM'
  ;   K[3]='SDKHelper'
  ;   K[4]='HasUnreadCSMsg'
  ;   K[5]='MoreGameModel'
  ;   K[6]='IsStrongTip'
  ;   K[7]='AccountManager'
  ;   K[8]='ShowBindStrongTip'
  ;   upvals: _ENV
  ;   locals: self(0-20)
  0000  GETTABLE  R1 = R0[K0('m_exclamationGo')]
  0001  SELF      R2 = R1[K1('SetActive')] (self)
  0002  GETTABUP  R3 = _ENV[K2('GM')]
  0003  GETTABLE  R3 = R3[K3('SDKHelper')]
  0004  SELF      R4 = R3[K4('HasUnreadCSMsg')] (self)
  0005  CALL      R3 = call(R3, 1 args, 1 rets)
  0006  TEST      if not R3 then   -> -131063
  0007  JMP       (jump)   -> 18
  0008  GETTABUP  R3 = _ENV[K2('GM')]
  0009  GETTABLE  R3 = R3[K5('MoreGameModel')]
  0010  SELF      R4 = R3[K6('IsStrongTip')] (self)
  0011  CALL      R3 = call(R3, 1 args, 1 rets)
  0012  TEST      if not R3 then   -> -131057
  0013  JMP       (jump)   -> 18
  0014  GETTABUP  R3 = _ENV[K2('GM')]
  0015  GETTABLE  R3 = R3[K7('AccountManager')]
  0016  SELF      R4 = R3[K8('ShowBindStrongTip')] (self)
  0017  CALL      R3 = call(R3, 1 args, 1 rets)
  0018  CALL      R1 = call(R1, 0 args, 2 rets)
  0019  RETURN    return R0..R-1
; ---------- proto2 [OnClicked] ----------
  ; fn ?  line 15-17 np=1 va=0 ms=4 code=7 consts=5 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='UIManager'
  ;   K[2]='OpenView'
  ;   K[3]='UIPrefabConfigName'
  ;   K[4]='SettingWindow'
  ;   upvals: _ENV
  ;   locals: self(0-7)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('UIManager')]
  0002  SELF      R2 = R1[K2('OpenView')] (self)
  0003  GETTABUP  R3 = _ENV[K3('UIPrefabConfigName')]
  0004  GETTABLE  R3 = R3[K4('SettingWindow')]
  0005  CALL      R1 = call(R1, 0 args, 2 rets)
  0006  RETURN    return R0..R-1
