# UI_Window_NameWindow_447.luac
; fn @NameWindow.lua  line 0-0 np=0 va=1 ms=3 code=22 consts=10 upvals=1 protos=4
;   K[0]='NameWindow'
;   K[1]='setmetatable'
;   K[2]='canCloseByAndroidBack'
;   K[3]=false
;   K[4]='BaseWindow'
;   K[5]='__index'
;   K[6]='Init'
;   K[7]='OnDestroy'
;   K[8]='OnConfirmClick'
;   K[9]='OnInputFieldValueChanged'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  SETTABLE  R1[K2('canCloseByAndroidBack')] = K3(false)
0003  GETTABUP  R2 = _ENV[K4('BaseWindow')]
0004  CALL      R0 = call(R0, 1 args, 2 rets)
0005  SETTABUP  _ENV[K0('NameWindow')] = R0
0006  GETTABUP  R0 = _ENV[K0('NameWindow')]
0007  GETTABUP  R1 = _ENV[K0('NameWindow')]
0008  SETTABLE  R0[K5('__index')] = R1
0009  GETTABUP  R0 = _ENV[K0('NameWindow')]
0010  CLOSURE   R1 = closure proto0
0011  SETTABLE  R0[K6('Init')] = R1
0012  GETTABUP  R0 = _ENV[K0('NameWindow')]
0013  CLOSURE   R1 = closure proto1
0014  SETTABLE  R0[K7('OnDestroy')] = R1
0015  GETTABUP  R0 = _ENV[K0('NameWindow')]
0016  CLOSURE   R1 = closure proto2
0017  SETTABLE  R0[K8('OnConfirmClick')] = R1
0018  GETTABUP  R0 = _ENV[K0('NameWindow')]
0019  CLOSURE   R1 = closure proto3
0020  SETTABLE  R0[K9('OnInputFieldValueChanged')] = R1
0021  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 6-12 np=2 va=0 ms=5 code=9 consts=5 upvals=0 protos=0
  ;   K[0]='m_onFinish'
  ;   K[1]='m_button'
  ;   K[2]='SetEnabled'
  ;   K[3]='m_inputField'
  ;   K[4]='Select'
  ;   locals: self(0-9), onFinish(0-9)
  0000  SETTABLE  R0[K0('m_onFinish')] = R1
  0001  GETTABLE  R2 = R0[K1('m_button')]
  0002  SELF      R3 = R2[K2('SetEnabled')] (self)
  0003  LOADBOOL  R4 = false
  0004  CALL      R2 = call(R2, 0 args, 2 rets)
  0005  GETTABLE  R2 = R0[K3('m_inputField')]
  0006  SELF      R3 = R2[K4('Select')] (self)
  0007  CALL      R2 = call(R2, 0 args, 1 rets)
  0008  RETURN    return R0..R-1
; ---------- proto1 [OnDestroy] ----------
  ; fn ?  line 14-19 np=1 va=0 ms=3 code=8 consts=3 upvals=0 protos=0
  ;   K[0]='m_tween'
  ;   K[1]='Kill'
  ;   K[2]=nil
  ;   locals: self(0-8)
  0000  GETTABLE  R1 = R0[K0('m_tween')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 7
  0003  GETTABLE  R1 = R0[K0('m_tween')]
  0004  SELF      R2 = R1[K1('Kill')] (self)
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  SETTABLE  R0[K0('m_tween')] = K2(nil)
  0007  RETURN    return R0..R-1
; ---------- proto2 [OnConfirmClick] ----------
  ; fn ?  line 21-32 np=1 va=0 ms=4 code=22 consts=10 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='UserProfileModel'
  ;   K[2]='ChangeName'
  ;   K[3]='m_inputField'
  ;   K[4]='text'
  ;   K[5]='UIManager'
  ;   K[6]='ShowPromptWithKey'
  ;   K[7]='setting_window_change_fail'
  ;   K[8]='m_onFinish'
  ;   K[9]='Close'
  ;   upvals: _ENV
  ;   locals: self(0-22)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('UserProfileModel')]
  0002  SELF      R2 = R1[K2('ChangeName')] (self)
  0003  GETTABLE  R3 = R0[K3('m_inputField')]
  0004  GETTABLE  R3 = R3[K4('text')]
  0005  CALL      R1 = call(R1, 1 args, 2 rets)
  0006  TEST      if not R1 then   -> -131063
  0007  JMP       (jump)   -> 14
  0008  GETTABUP  R1 = _ENV[K0('GM')]
  0009  GETTABLE  R1 = R1[K5('UIManager')]
  0010  SELF      R2 = R1[K6('ShowPromptWithKey')] (self)
  0011  LOADK     R3 = K7 'setting_window_change_fail'
  0012  CALL      R1 = call(R1, 0 args, 2 rets)
  0013  RETURN    return R0..R-1
  0014  GETTABLE  R1 = R0[K8('m_onFinish')]
  0015  TEST      if not R1 then   -> -131055
  0016  JMP       (jump)   -> 19
  0017  GETTABLE  R1 = R0[K8('m_onFinish')]
  0018  CALL      R1 = call(R1, 0 args, 0 rets)
  0019  SELF      R2 = R0[K9('Close')] (self)
  0020  CALL      R1 = call(R1, 0 args, 1 rets)
  0021  RETURN    return R0..R-1
; ---------- proto3 [OnInputFieldValueChanged] ----------
  ; fn ?  line 34-36 np=1 va=0 ms=5 code=10 consts=6 upvals=1 protos=0
  ;   K[0]='m_button'
  ;   K[1]='SetEnabled'
  ;   K[2]='StringUtil'
  ;   K[3]='IsNilOrEmpty'
  ;   K[4]='m_inputField'
  ;   K[5]='text'
  ;   upvals: _ENV
  ;   locals: self(0-10)
  0000  GETTABLE  R1 = R0[K0('m_button')]
  0001  SELF      R2 = R1[K1('SetEnabled')] (self)
  0002  GETTABUP  R3 = _ENV[K2('StringUtil')]
  0003  GETTABLE  R3 = R3[K3('IsNilOrEmpty')]
  0004  GETTABLE  R4 = R0[K4('m_inputField')]
  0005  GETTABLE  R4 = R4[K5('text')]
  0006  CALL      R3 = call(R3, 1 args, 1 rets)
  0007  NOT       R3 = not R0
  0008  CALL      R1 = call(R1, 0 args, 2 rets)
  0009  RETURN    return R0..R-1
