# UI_Button_UserAvatarHudButton_328.luac
; fn @UserAvatarHudButton.lua  line 0-0 np=0 va=1 ms=3 code=21 consts=8 upvals=1 protos=4
;   K[0]='UserAvatarHudButton'
;   K[1]='setmetatable'
;   K[2]='HudGeneralButton'
;   K[3]='__index'
;   K[4]='Awake'
;   K[5]='_UpdateUserAvatar'
;   K[6]='OnUserAvatarHudButtonClicked'
;   K[7]='OnHit'
;   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('UserAvatarHudButton')] = R0
0005  GETTABUP  R0 = _ENV[K0('UserAvatarHudButton')]
0006  GETTABUP  R1 = _ENV[K0('UserAvatarHudButton')]
0007  SETTABLE  R0[K3('__index')] = R1
0008  GETTABUP  R0 = _ENV[K0('UserAvatarHudButton')]
0009  CLOSURE   R1 = closure proto0
0010  SETTABLE  R0[K4('Awake')] = R1
0011  GETTABUP  R0 = _ENV[K0('UserAvatarHudButton')]
0012  CLOSURE   R1 = closure proto1
0013  SETTABLE  R0[K5('_UpdateUserAvatar')] = R1
0014  GETTABUP  R0 = _ENV[K0('UserAvatarHudButton')]
0015  CLOSURE   R1 = closure proto2
0016  SETTABLE  R0[K6('OnUserAvatarHudButtonClicked')] = R1
0017  GETTABUP  R0 = _ENV[K0('UserAvatarHudButton')]
0018  CLOSURE   R1 = closure proto3
0019  SETTABLE  R0[K7('OnHit')] = R1
0020  RETURN    return R0..R-1
; ---------- proto0 [Awake] ----------
  ; fn ?  line 5-9 np=1 va=0 ms=5 code=14 consts=7 upvals=1 protos=0
  ;   K[0]='HudGeneralButton'
  ;   K[1]='Awake'
  ;   K[2]='EventDispatcher'
  ;   K[3]='AddListener'
  ;   K[4]='EEventType'
  ;   K[5]='UpdateProfile'
  ;   K[6]='_UpdateUserAvatar'
  ;   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  GETTABUP  R1 = _ENV[K2('EventDispatcher')]
  0005  GETTABLE  R1 = R1[K3('AddListener')]
  0006  GETTABUP  R2 = _ENV[K4('EEventType')]
  0007  GETTABLE  R2 = R2[K5('UpdateProfile')]
  0008  MOVE      R3 = R0
  0009  GETTABLE  R4 = R0[K6('_UpdateUserAvatar')]
  0010  CALL      R1 = call(R1, 0 args, 3 rets)
  0011  SELF      R2 = R0[K6('_UpdateUserAvatar')] (self)
  0012  CALL      R1 = call(R1, 0 args, 1 rets)
  0013  RETURN    return R0..R-1
; ---------- proto1 [_UpdateUserAvatar] ----------
  ; fn ?  line 11-13 np=1 va=0 ms=3 code=4 consts=2 upvals=0 protos=0
  ;   K[0]='m_userAvatar'
  ;   K[1]='SetMySelf'
  ;   locals: self(0-4)
  0000  GETTABLE  R1 = R0[K0('m_userAvatar')]
  0001  SELF      R2 = R1[K1('SetMySelf')] (self)
  0002  CALL      R1 = call(R1, 0 args, 1 rets)
  0003  RETURN    return R0..R-1
; ---------- proto2 [OnUserAvatarHudButtonClicked] ----------
  ; 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]='AvatarBadgeWindow'
  ;   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('AvatarBadgeWindow')]
  0005  CALL      R1 = call(R1, 0 args, 2 rets)
  0006  RETURN    return R0..R-1
; ---------- proto3 [OnHit] ----------
  ; fn ?  line 19-21 np=1 va=0 ms=3 code=4 consts=2 upvals=0 protos=0
  ;   K[0]='m_scaleEffect'
  ;   K[1]='Play'
  ;   locals: self(0-4)
  0000  GETTABLE  R1 = R0[K0('m_scaleEffect')]
  0001  SELF      R2 = R1[K1('Play')] (self)
  0002  CALL      R1 = call(R1, 0 args, 1 rets)
  0003  RETURN    return R0..R-1
