# UI_Window_Account_SignInWindow_654.luac
; fn @SignInWindow.lua  line 0-0 np=0 va=1 ms=3 code=25 consts=11 upvals=1 protos=5
;   K[0]='SignInWindow'
;   K[1]='setmetatable'
;   K[2]='canClickWindowMask'
;   K[3]=true
;   K[4]='BaseWindow'
;   K[5]='__index'
;   K[6]='Init'
;   K[7]='OnFacebookButtonClicked'
;   K[8]='OnAppleButtonClicked'
;   K[9]='OnGoogleButtonClicked'
;   K[10]='_Login'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  SETTABLE  R1[K2('canClickWindowMask')] = K3(true)
0003  GETTABUP  R2 = _ENV[K4('BaseWindow')]
0004  CALL      R0 = call(R0, 1 args, 2 rets)
0005  SETTABUP  _ENV[K0('SignInWindow')] = R0
0006  GETTABUP  R0 = _ENV[K0('SignInWindow')]
0007  GETTABUP  R1 = _ENV[K0('SignInWindow')]
0008  SETTABLE  R0[K5('__index')] = R1
0009  GETTABUP  R0 = _ENV[K0('SignInWindow')]
0010  CLOSURE   R1 = closure proto0
0011  SETTABLE  R0[K6('Init')] = R1
0012  GETTABUP  R0 = _ENV[K0('SignInWindow')]
0013  CLOSURE   R1 = closure proto1
0014  SETTABLE  R0[K7('OnFacebookButtonClicked')] = R1
0015  GETTABUP  R0 = _ENV[K0('SignInWindow')]
0016  CLOSURE   R1 = closure proto2
0017  SETTABLE  R0[K8('OnAppleButtonClicked')] = R1
0018  GETTABUP  R0 = _ENV[K0('SignInWindow')]
0019  CLOSURE   R1 = closure proto3
0020  SETTABLE  R0[K9('OnGoogleButtonClicked')] = R1
0021  GETTABUP  R0 = _ENV[K0('SignInWindow')]
0022  CLOSURE   R1 = closure proto4
0023  SETTABLE  R0[K10('_Login')] = R1
0024  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 8-17 np=1 va=0 ms=7 code=46 consts=20 upvals=1 protos=0
  ;   K[0]='m_appleGo'
  ;   K[1]='SetActive'
  ;   K[2]='DeviceInfo'
  ;   K[3]='IsSystemIOS'
  ;   K[4]='m_googleGo'
  ;   K[5]='GM'
  ;   K[6]='AccountManager'
  ;   K[7]='ShowBindReward'
  ;   K[8]='m_desc'
  ;   K[9]='text'
  ;   K[10]='GameTextModel'
  ;   K[11]='GetText'
  ;   K[12]='setting_login_first_desc'
  ;   K[13]='GetBindRewardCount'
  ;   K[14]='save_progress_desc'
  ;   K[15]='EventDispatcher'
  ;   K[16]='AddListener'
  ;   K[17]='EEventType'
  ;   K[18]='RefreshSettingBindEntry'
  ;   K[19]='Close'
  ;   upvals: _ENV
  ;   locals: self(0-46)
  0000  GETTABLE  R1 = R0[K0('m_appleGo')]
  0001  SELF      R2 = R1[K1('SetActive')] (self)
  0002  GETTABUP  R3 = _ENV[K2('DeviceInfo')]
  0003  GETTABLE  R3 = R3[K3('IsSystemIOS')]
  0004  CALL      R3 = call(R3, -1 args, 0 rets)
  0005  CALL      R1 = call(R1, 0 args, -1 rets)
  0006  GETTABLE  R1 = R0[K4('m_googleGo')]
  0007  SELF      R2 = R1[K1('SetActive')] (self)
  0008  GETTABUP  R3 = _ENV[K2('DeviceInfo')]
  0009  GETTABLE  R3 = R3[K3('IsSystemIOS')]
  0010  CALL      R3 = call(R3, 1 args, 0 rets)
  0011  NOT       R3 = not R0
  0012  CALL      R1 = call(R1, 0 args, 2 rets)
  0013  GETTABUP  R1 = _ENV[K5('GM')]
  0014  GETTABLE  R1 = R1[K6('AccountManager')]
  0015  SELF      R2 = R1[K7('ShowBindReward')] (self)
  0016  CALL      R1 = call(R1, 1 args, 1 rets)
  0017  TEST      if not R1 then   -> -131053
  0018  JMP       (jump)   -> 31
  0019  GETTABLE  R1 = R0[K8('m_desc')]
  0020  GETTABUP  R2 = _ENV[K5('GM')]
  0021  GETTABLE  R2 = R2[K10('GameTextModel')]
  0022  SELF      R3 = R2[K11('GetText')] (self)
  0023  LOADK     R4 = K12 'setting_login_first_desc'
  0024  GETTABUP  R5 = _ENV[K5('GM')]
  0025  GETTABLE  R5 = R5[K6('AccountManager')]
  0026  SELF      R6 = R5[K13('GetBindRewardCount')] (self)
  0027  CALL      R5 = call(R5, -1 args, 1 rets)
  0028  CALL      R2 = call(R2, 1 args, -1 rets)
  0029  SETTABLE  R1[K9('text')] = R2
  0030  JMP       (jump)   -> 38
  0031  GETTABLE  R1 = R0[K8('m_desc')]
  0032  GETTABUP  R2 = _ENV[K5('GM')]
  0033  GETTABLE  R2 = R2[K10('GameTextModel')]
  0034  SELF      R3 = R2[K11('GetText')] (self)
  0035  LOADK     R4 = K14 'save_progress_desc'
  0036  CALL      R2 = call(R2, 1 args, 2 rets)
  0037  SETTABLE  R1[K9('text')] = R2
  0038  GETTABUP  R1 = _ENV[K15('EventDispatcher')]
  0039  GETTABLE  R1 = R1[K16('AddListener')]
  0040  GETTABUP  R2 = _ENV[K17('EEventType')]
  0041  GETTABLE  R2 = R2[K18('RefreshSettingBindEntry')]
  0042  MOVE      R3 = R0
  0043  GETTABLE  R4 = R0[K19('Close')]
  0044  CALL      R1 = call(R1, 0 args, 3 rets)
  0045  RETURN    return R0..R-1
; ---------- proto1 [OnFacebookButtonClicked] ----------
  ; fn ?  line 19-21 np=1 va=0 ms=4 code=5 consts=3 upvals=1 protos=0
  ;   K[0]='_Login'
  ;   K[1]='ESsoSocialType'
  ;   K[2]='Facebook'
  ;   upvals: _ENV
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('_Login')] (self)
  0001  GETTABUP  R3 = _ENV[K1('ESsoSocialType')]
  0002  GETTABLE  R3 = R3[K2('Facebook')]
  0003  CALL      R1 = call(R1, 0 args, 2 rets)
  0004  RETURN    return R0..R-1
; ---------- proto2 [OnAppleButtonClicked] ----------
  ; fn ?  line 23-25 np=1 va=0 ms=4 code=5 consts=3 upvals=1 protos=0
  ;   K[0]='_Login'
  ;   K[1]='ESsoSocialType'
  ;   K[2]='Apple'
  ;   upvals: _ENV
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('_Login')] (self)
  0001  GETTABUP  R3 = _ENV[K1('ESsoSocialType')]
  0002  GETTABLE  R3 = R3[K2('Apple')]
  0003  CALL      R1 = call(R1, 0 args, 2 rets)
  0004  RETURN    return R0..R-1
; ---------- proto3 [OnGoogleButtonClicked] ----------
  ; fn ?  line 27-29 np=1 va=0 ms=4 code=5 consts=3 upvals=1 protos=0
  ;   K[0]='_Login'
  ;   K[1]='ESsoSocialType'
  ;   K[2]='Google'
  ;   upvals: _ENV
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('_Login')] (self)
  0001  GETTABUP  R3 = _ENV[K1('ESsoSocialType')]
  0002  GETTABLE  R3 = R3[K2('Google')]
  0003  CALL      R1 = call(R1, 0 args, 2 rets)
  0004  RETURN    return R0..R-1
; ---------- proto4 [_Login] ----------
  ; fn ?  line 31-42 np=2 va=0 ms=11 code=39 consts=17 upvals=1 protos=0
  ;   K[0]='Close'
  ;   K[1]='Application'
  ;   K[2]='internetReachability'
  ;   K[3]='NetworkReachability'
  ;   K[4]='NotReachable'
  ;   K[5]='GM'
  ;   K[6]='GameTextModel'
  ;   K[7]='GetText'
  ;   K[8]='download_no_connection_title'
  ;   K[9]='download_no_connection_desc'
  ;   K[10]='download_no_connection_btn'
  ;   K[11]='UIManager'
  ;   K[12]='OpenView'
  ;   K[13]='UIPrefabConfigName'
  ;   K[14]='GeneralMsgWindow'
  ;   K[15]='AccountManager'
  ;   K[16]='Login'
  ;   upvals: _ENV
  ;   locals: self(0-39), socialType(0-39), title(13-32), description(18-32), buttonText(23-32)
  0000  SELF      R3 = R0[K0('Close')] (self)
  0001  CALL      R2 = call(R2, 0 args, 1 rets)
  0002  GETTABUP  R2 = _ENV[K1('Application')]
  0003  GETTABLE  R2 = R2[K2('internetReachability')]
  0004  GETTABUP  R3 = _ENV[K3('NetworkReachability')]
  0005  GETTABLE  R3 = R3[K4('NotReachable')]
  0006  EQ        if R0 eq R3   -> -130037
  0007  JMP       (jump)   -> 33
  0008  GETTABUP  R2 = _ENV[K5('GM')]
  0009  GETTABLE  R2 = R2[K6('GameTextModel')]
  0010  SELF      R3 = R2[K7('GetText')] (self)
  0011  LOADK     R4 = K8 'download_no_connection_title'
  0012  CALL      R2 = call(R2, 1 args, 2 rets)
  0013  GETTABUP  R3 = _ENV[K5('GM')]
  0014  GETTABLE  R3 = R3[K6('GameTextModel')]
  0015  SELF      R4 = R3[K7('GetText')] (self)
  0016  LOADK     R5 = K9 'download_no_connection_desc'
  0017  CALL      R3 = call(R3, 1 args, 2 rets)
  0018  GETTABUP  R4 = _ENV[K5('GM')]
  0019  GETTABLE  R4 = R4[K6('GameTextModel')]
  0020  SELF      R5 = R4[K7('GetText')] (self)
  0021  LOADK     R6 = K10 'download_no_connection_btn'
  0022  CALL      R4 = call(R4, 1 args, 2 rets)
  0023  GETTABUP  R5 = _ENV[K5('GM')]
  0024  GETTABLE  R5 = R5[K11('UIManager')]
  0025  SELF      R6 = R5[K12('OpenView')] (self)
  0026  GETTABUP  R7 = _ENV[K13('UIPrefabConfigName')]
  0027  GETTABLE  R7 = R7[K14('GeneralMsgWindow')]
  0028  MOVE      R8 = R0
  0029  MOVE      R9 = R0
  0030  MOVE      R10 = R0
  0031  CALL      R5 = call(R5, 0 args, 5 rets)
  0032  JMP       (jump)   -> 38
  0033  GETTABUP  R2 = _ENV[K5('GM')]
  0034  GETTABLE  R2 = R2[K15('AccountManager')]
  0035  SELF      R3 = R2[K16('Login')] (self)
  0036  MOVE      R4 = R0
  0037  CALL      R2 = call(R2, 0 args, 2 rets)
  0038  RETURN    return R0..R-1
