# UI_Window_Account_AccountStatusWindow_648.luac
; fn @AccountStatusWindow.lua  line 0-0 np=0 va=1 ms=3 code=19 consts=9 upvals=1 protos=3
;   K[0]='AccountStatusWindow'
;   K[1]='setmetatable'
;   K[2]='canCloseByChangeGameMode'
;   K[3]=false
;   K[4]='BaseWindow'
;   K[5]='__index'
;   K[6]='Init'
;   K[7]='OnButtonClicked'
;   K[8]='OnCloseView'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  SETTABLE  R1[K2('canCloseByChangeGameMode')] = K3(false)
0003  GETTABUP  R2 = _ENV[K4('BaseWindow')]
0004  CALL      R0 = call(R0, 1 args, 2 rets)
0005  SETTABUP  _ENV[K0('AccountStatusWindow')] = R0
0006  GETTABUP  R0 = _ENV[K0('AccountStatusWindow')]
0007  GETTABUP  R1 = _ENV[K0('AccountStatusWindow')]
0008  SETTABLE  R0[K5('__index')] = R1
0009  GETTABUP  R0 = _ENV[K0('AccountStatusWindow')]
0010  CLOSURE   R1 = closure proto0
0011  SETTABLE  R0[K6('Init')] = R1
0012  GETTABUP  R0 = _ENV[K0('AccountStatusWindow')]
0013  CLOSURE   R1 = closure proto1
0014  SETTABLE  R0[K7('OnButtonClicked')] = R1
0015  GETTABUP  R0 = _ENV[K0('AccountStatusWindow')]
0016  CLOSURE   R1 = closure proto2
0017  SETTABLE  R0[K8('OnCloseView')] = R1
0018  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 8-18 np=7 va=0 ms=11 code=39 consts=12 upvals=1 protos=0
  ;   K[0]='m_titleText'
  ;   K[1]='text'
  ;   K[2]='GM'
  ;   K[3]='GameTextModel'
  ;   K[4]='GetText'
  ;   K[5]='m_descriptionText'
  ;   K[6]='m_buttonText'
  ;   K[7]='m_unsuccessGo'
  ;   K[8]='SetActive'
  ;   K[9]='m_connectedGo'
  ;   K[10]='m_disconnectedGo'
  ;   K[11]='m_buttonCallback'
  ;   upvals: _ENV
  ;   locals: self(0-39), titleTextKey(0-39), descriptionTextKey(0-39), buttonTextKey(0-39), success(0-39), isConnected(0-39), buttonCallback(0-39)
  0000  GETTABLE  R7 = R0[K0('m_titleText')]
  0001  GETTABUP  R8 = _ENV[K2('GM')]
  0002  GETTABLE  R8 = R8[K3('GameTextModel')]
  0003  SELF      R9 = R8[K4('GetText')] (self)
  0004  MOVE      R10 = R0
  0005  CALL      R8 = call(R8, 1 args, 2 rets)
  0006  SETTABLE  R7[K1('text')] = R8
  0007  GETTABLE  R7 = R0[K5('m_descriptionText')]
  0008  GETTABUP  R8 = _ENV[K2('GM')]
  0009  GETTABLE  R8 = R8[K3('GameTextModel')]
  0010  SELF      R9 = R8[K4('GetText')] (self)
  0011  MOVE      R10 = R0
  0012  CALL      R8 = call(R8, 1 args, 2 rets)
  0013  SETTABLE  R7[K1('text')] = R8
  0014  GETTABLE  R7 = R0[K6('m_buttonText')]
  0015  GETTABUP  R8 = _ENV[K2('GM')]
  0016  GETTABLE  R8 = R8[K3('GameTextModel')]
  0017  SELF      R9 = R8[K4('GetText')] (self)
  0018  MOVE      R10 = R0
  0019  CALL      R8 = call(R8, 1 args, 2 rets)
  0020  SETTABLE  R7[K1('text')] = R8
  0021  GETTABLE  R7 = R0[K7('m_unsuccessGo')]
  0022  SELF      R8 = R7[K8('SetActive')] (self)
  0023  NOT       R9 = not R0
  0024  CALL      R7 = call(R7, 0 args, 2 rets)
  0025  GETTABLE  R7 = R0[K9('m_connectedGo')]
  0026  SELF      R8 = R7[K8('SetActive')] (self)
  0027  TESTSET   if R0 then R9   -> -128995
  0028  JMP       (jump)   -> 30
  0029  MOVE      R9 = R0
  0030  CALL      R7 = call(R7, 0 args, 2 rets)
  0031  GETTABLE  R7 = R0[K10('m_disconnectedGo')]
  0032  SELF      R8 = R7[K8('SetActive')] (self)
  0033  TESTSET   if R0 then R9   -> -128989
  0034  JMP       (jump)   -> 36
  0035  NOT       R9 = not R0
  0036  CALL      R7 = call(R7, 0 args, 2 rets)
  0037  SETTABLE  R0[K11('m_buttonCallback')] = R6
  0038  RETURN    return R0..R-1
; ---------- proto1 [OnButtonClicked] ----------
  ; fn ?  line 20-25 np=1 va=0 ms=3 code=8 consts=3 upvals=0 protos=0
  ;   K[0]='Close'
  ;   K[1]='m_buttonCallback'
  ;   K[2]=nil
  ;   locals: self(0-8)
  0000  SELF      R2 = R0[K0('Close')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  GETTABLE  R1 = R0[K1('m_buttonCallback')]
  0003  EQ        if R1 eq K2(nil)   -> -130297
  0004  JMP       (jump)   -> 7
  0005  GETTABLE  R1 = R0[K1('m_buttonCallback')]
  0006  CALL      R1 = call(R1, 0 args, 0 rets)
  0007  RETURN    return R0..R-1
; ---------- proto2 [OnCloseView] ----------
  ; fn ?  line 27-30 np=1 va=0 ms=3 code=9 consts=5 upvals=1 protos=0
  ;   K[0]='BaseWindow'
  ;   K[1]='OnCloseView'
  ;   K[2]='GM'
  ;   K[3]='AccountManager'
  ;   K[4]='GiveBindRewardIfCould'
  ;   upvals: _ENV
  ;   locals: self(0-9)
  0000  GETTABUP  R1 = _ENV[K0('BaseWindow')]
  0001  GETTABLE  R1 = R1[K1('OnCloseView')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  GETTABUP  R1 = _ENV[K2('GM')]
  0005  GETTABLE  R1 = R1[K3('AccountManager')]
  0006  SELF      R2 = R1[K4('GiveBindRewardIfCould')] (self)
  0007  CALL      R1 = call(R1, 0 args, 1 rets)
  0008  RETURN    return R0..R-1
