# UI_Window_Account_SignOutWindow_655.luac
; fn @SignOutWindow.lua  line 0-0 np=0 va=1 ms=3 code=15 consts=6 upvals=1 protos=2
;   K[0]='SignOutWindow'
;   K[1]='setmetatable'
;   K[2]='BaseWindow'
;   K[3]='__index'
;   K[4]='Init'
;   K[5]='OnSignOutButtonClicked'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  GETTABUP  R2 = _ENV[K2('BaseWindow')]
0003  CALL      R0 = call(R0, 1 args, 2 rets)
0004  SETTABUP  _ENV[K0('SignOutWindow')] = R0
0005  GETTABUP  R0 = _ENV[K0('SignOutWindow')]
0006  GETTABUP  R1 = _ENV[K0('SignOutWindow')]
0007  SETTABLE  R0[K3('__index')] = R1
0008  GETTABUP  R0 = _ENV[K0('SignOutWindow')]
0009  CLOSURE   R1 = closure proto0
0010  SETTABLE  R0[K4('Init')] = R1
0011  GETTABUP  R0 = _ENV[K0('SignOutWindow')]
0012  CLOSURE   R1 = closure proto1
0013  SETTABLE  R0[K5('OnSignOutButtonClicked')] = R1
0014  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 6-18 np=1 va=0 ms=8 code=53 consts=24 upvals=1 protos=0
  ;   K[0]='m_accountAvatar'
  ;   K[1]='SetAvatar'
  ;   K[2]='EAvatarFrame'
  ;   K[3]='Normal'
  ;   K[4]='GM'
  ;   K[5]='AccountManager'
  ;   K[6]='GetAccountPictureUrl'
  ;   K[7]='UserProfileModel'
  ;   K[8]='GetBadge'
  ;   K[9]='GetFrame'
  ;   K[10]='m_nameText'
  ;   K[11]='text'
  ;   K[12]='GetAccountName'
  ;   K[13]='ImageFileConfigName'
  ;   K[14]='icon_frame_fb'
  ;   K[15]='GetAccountType'
  ;   K[16]='ESsoSocialType'
  ;   K[17]='Apple'
  ;   K[18]='icon_frame_apple'
  ;   K[19]='Google'
  ;   K[20]='icon_frame_google'
  ;   K[21]='SpriteUtil'
  ;   K[22]='SetImage'
  ;   K[23]='m_bingTag'
  ;   upvals: _ENV
  ;   locals: self(0-53), bindTag(25-53)
  0000  GETTABLE  R1 = R0[K0('m_accountAvatar')]
  0001  SELF      R2 = R1[K1('SetAvatar')] (self)
  0002  GETTABUP  R3 = _ENV[K2('EAvatarFrame')]
  0003  GETTABLE  R3 = R3[K3('Normal')]
  0004  GETTABUP  R4 = _ENV[K4('GM')]
  0005  GETTABLE  R4 = R4[K5('AccountManager')]
  0006  SELF      R5 = R4[K6('GetAccountPictureUrl')] (self)
  0007  CALL      R4 = call(R4, 1 args, 1 rets)
  0008  GETTABUP  R5 = _ENV[K4('GM')]
  0009  GETTABLE  R5 = R5[K7('UserProfileModel')]
  0010  SELF      R6 = R5[K8('GetBadge')] (self)
  0011  CALL      R5 = call(R5, 1 args, 1 rets)
  0012  GETTABUP  R6 = _ENV[K4('GM')]
  0013  GETTABLE  R6 = R6[K7('UserProfileModel')]
  0014  SELF      R7 = R6[K9('GetFrame')] (self)
  0015  CALL      R6 = call(R6, -1 args, 1 rets)
  0016  CALL      R1 = call(R1, 0 args, -1 rets)
  0017  GETTABLE  R1 = R0[K10('m_nameText')]
  0018  GETTABUP  R2 = _ENV[K4('GM')]
  0019  GETTABLE  R2 = R2[K5('AccountManager')]
  0020  SELF      R3 = R2[K12('GetAccountName')] (self)
  0021  CALL      R2 = call(R2, 1 args, 1 rets)
  0022  SETTABLE  R1[K11('text')] = R2
  0023  GETTABUP  R1 = _ENV[K13('ImageFileConfigName')]
  0024  GETTABLE  R1 = R1[K14('icon_frame_fb')]
  0025  GETTABUP  R2 = _ENV[K4('GM')]
  0026  GETTABLE  R2 = R2[K5('AccountManager')]
  0027  SELF      R3 = R2[K15('GetAccountType')] (self)
  0028  CALL      R2 = call(R2, 1 args, 1 rets)
  0029  GETTABUP  R3 = _ENV[K16('ESsoSocialType')]
  0030  GETTABLE  R3 = R3[K17('Apple')]
  0031  EQ        if R0 eq R3   -> -130012
  0032  JMP       (jump)   -> 36
  0033  GETTABUP  R2 = _ENV[K13('ImageFileConfigName')]
  0034  GETTABLE  R1 = R2[K18('icon_frame_apple')]
  0035  JMP       (jump)   -> 46
  0036  GETTABUP  R2 = _ENV[K4('GM')]
  0037  GETTABLE  R2 = R2[K5('AccountManager')]
  0038  SELF      R3 = R2[K15('GetAccountType')] (self)
  0039  CALL      R2 = call(R2, 1 args, 1 rets)
  0040  GETTABUP  R3 = _ENV[K16('ESsoSocialType')]
  0041  GETTABLE  R3 = R3[K19('Google')]
  0042  EQ        if R0 eq R3   -> -130001
  0043  JMP       (jump)   -> 46
  0044  GETTABUP  R2 = _ENV[K13('ImageFileConfigName')]
  0045  GETTABLE  R1 = R2[K20('icon_frame_google')]
  0046  GETTABUP  R2 = _ENV[K21('SpriteUtil')]
  0047  GETTABLE  R2 = R2[K22('SetImage')]
  0048  GETTABLE  R3 = R0[K23('m_bingTag')]
  0049  MOVE      R4 = R0
  0050  LOADBOOL  R5 = true
  0051  CALL      R2 = call(R2, 0 args, 3 rets)
  0052  RETURN    return R0..R-1
; ---------- proto1 [OnSignOutButtonClicked] ----------
  ; fn ?  line 20-23 np=1 va=0 ms=4 code=8 consts=4 upvals=1 protos=0
  ;   K[0]='Close'
  ;   K[1]='GM'
  ;   K[2]='AccountManager'
  ;   K[3]='Logout'
  ;   upvals: _ENV
  ;   locals: self(0-8)
  0000  SELF      R2 = R0[K0('Close')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  GETTABUP  R1 = _ENV[K1('GM')]
  0003  GETTABLE  R1 = R1[K2('AccountManager')]
  0004  SELF      R2 = R1[K3('Logout')] (self)
  0005  LOADBOOL  R3 = true
  0006  CALL      R1 = call(R1, 0 args, 2 rets)
  0007  RETURN    return R0..R-1
