# UI_Window_Survey_SurveyChoice_683.luac
; fn @SurveyChoice.lua  line 0-0 np=0 va=1 ms=2 code=21 consts=7 upvals=1 protos=5
;   K[0]='SurveyChoice'
;   K[1]='__index'
;   K[2]='Init'
;   K[3]='IsSelected'
;   K[4]='GetInput'
;   K[5]='_OnChoiceChange'
;   K[6]='SetParent'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('SurveyChoice')] = R0
0002  GETTABUP  R0 = _ENV[K0('SurveyChoice')]
0003  GETTABUP  R1 = _ENV[K0('SurveyChoice')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  GETTABUP  R0 = _ENV[K0('SurveyChoice')]
0006  CLOSURE   R1 = closure proto0
0007  SETTABLE  R0[K2('Init')] = R1
0008  GETTABUP  R0 = _ENV[K0('SurveyChoice')]
0009  CLOSURE   R1 = closure proto1
0010  SETTABLE  R0[K3('IsSelected')] = R1
0011  GETTABUP  R0 = _ENV[K0('SurveyChoice')]
0012  CLOSURE   R1 = closure proto2
0013  SETTABLE  R0[K4('GetInput')] = R1
0014  GETTABUP  R0 = _ENV[K0('SurveyChoice')]
0015  CLOSURE   R1 = closure proto3
0016  SETTABLE  R0[K5('_OnChoiceChange')] = R1
0017  GETTABUP  R0 = _ENV[K0('SurveyChoice')]
0018  CLOSURE   R1 = closure proto4
0019  SETTABLE  R0[K6('SetParent')] = R1
0020  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 4-7 np=2 va=0 ms=4 code=5 consts=4 upvals=0 protos=0
  ;   K[0]='choiceData'
  ;   K[1]='m_text'
  ;   K[2]='text'
  ;   K[3]='title'
  ;   locals: self(0-5), choiceData(0-5)
  0000  SETTABLE  R0[K0('choiceData')] = R1
  0001  GETTABLE  R2 = R0[K1('m_text')]
  0002  GETTABLE  R3 = R1[K3('title')]
  0003  SETTABLE  R2[K2('text')] = R3
  0004  RETURN    return R0..R-1
; ---------- proto1 [IsSelected] ----------
  ; fn ?  line 9-11 np=1 va=0 ms=2 code=4 consts=2 upvals=0 protos=0
  ;   K[0]='m_toggle'
  ;   K[1]='isOn'
  ;   locals: self(0-4)
  0000  GETTABLE  R1 = R0[K0('m_toggle')]
  0001  GETTABLE  R1 = R1[K1('isOn')]
  0002  RETURN    return R1..R0
  0003  RETURN    return R0..R-1
; ---------- proto2 [GetInput] ----------
  ; fn ?  line 13-15 np=1 va=0 ms=2 code=10 consts=3 upvals=0 protos=0
  ;   K[0]='m_inputField'
  ;   K[1]='text'
  ;   K[2]=''
  ;   locals: self(0-10)
  0000  GETTABLE  R1 = R0[K0('m_inputField')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 7
  0003  GETTABLE  R1 = R0[K0('m_inputField')]
  0004  GETTABLE  R1 = R1[K1('text')]
  0005  TEST      if not R1 then   -> -131064
  0006  JMP       (jump)   -> 8
  0007  LOADK     R1 = K2 ''
  0008  RETURN    return R1..R0
  0009  RETURN    return R0..R-1
; ---------- proto3 [_OnChoiceChange] ----------
  ; fn ?  line 17-39 np=1 va=0 ms=5 code=53 consts=16 upvals=1 protos=0
  ;   K[0]='m_selectBg'
  ;   K[1]='m_toggle'
  ;   K[2]='isOn'
  ;   K[3]='ImageFileConfigName'
  ;   K[4]='choice_selected_bg'
  ;   K[5]='choice_bg'
  ;   K[6]='SpriteUtil'
  ;   K[7]='SetImage'
  ;   K[8]='m_checkGo'
  ;   K[9]='SetActive'
  ;   K[10]='choiceData'
  ;   K[11]=nil
  ;   K[12]='is_open'
  ;   K[13]='m_inputFieldGo'
  ;   K[14]='m_parent'
  ;   K[15]='UpdateView'
  ;   upvals: _ENV
  ;   locals: self(0-53), img(13-18)
  0000  GETTABLE  R1 = R0[K0('m_selectBg')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 18
  0003  GETTABLE  R1 = R0[K1('m_toggle')]
  0004  GETTABLE  R1 = R1[K2('isOn')]
  0005  TEST      if not R1 then   -> -131065
  0006  JMP       (jump)   -> 11
  0007  GETTABUP  R1 = _ENV[K3('ImageFileConfigName')]
  0008  GETTABLE  R1 = R1[K4('choice_selected_bg')]
  0009  TEST      if not R1 then   -> -131060
  0010  JMP       (jump)   -> 13
  0011  GETTABUP  R1 = _ENV[K3('ImageFileConfigName')]
  0012  GETTABLE  R1 = R1[K5('choice_bg')]
  0013  GETTABUP  R2 = _ENV[K6('SpriteUtil')]
  0014  GETTABLE  R2 = R2[K7('SetImage')]
  0015  GETTABLE  R3 = R0[K0('m_selectBg')]
  0016  MOVE      R4 = R0
  0017  CALL      R2 = call(R2, 0 args, 2 rets)
  0018  GETTABLE  R1 = R0[K8('m_checkGo')]
  0019  TEST      if not R1 then   -> -131051
  0020  JMP       (jump)   -> 26
  0021  GETTABLE  R1 = R0[K8('m_checkGo')]
  0022  SELF      R2 = R1[K9('SetActive')] (self)
  0023  GETTABLE  R3 = R0[K1('m_toggle')]
  0024  GETTABLE  R3 = R3[K2('isOn')]
  0025  CALL      R1 = call(R1, 0 args, 2 rets)
  0026  GETTABLE  R1 = R0[K10('choiceData')]
  0027  EQ        if R1 eq K11(nil)   -> -130264
  0028  JMP       (jump)   -> 33
  0029  GETTABLE  R1 = R0[K10('choiceData')]
  0030  GETTABLE  R1 = R1[K12('is_open')]
  0031  TEST      if not R1 then   -> -131038
  0032  JMP       (jump)   -> 34
  0033  RETURN    return R0..R-1
  0034  GETTABLE  R1 = R0[K13('m_inputFieldGo')]
  0035  TEST      if not R1 then   -> -131035
  0036  JMP       (jump)   -> 42
  0037  GETTABLE  R1 = R0[K13('m_inputFieldGo')]
  0038  SELF      R2 = R1[K9('SetActive')] (self)
  0039  GETTABLE  R3 = R0[K1('m_toggle')]
  0040  GETTABLE  R3 = R3[K2('isOn')]
  0041  CALL      R1 = call(R1, 0 args, 2 rets)
  0042  GETTABLE  R1 = R0[K14('m_parent')]
  0043  TEST      if not R1 then   -> -131027
  0044  JMP       (jump)   -> 52
  0045  GETTABLE  R1 = R0[K14('m_parent')]
  0046  GETTABLE  R1 = R1[K15('UpdateView')]
  0047  TEST      if not R1 then   -> -131023
  0048  JMP       (jump)   -> 52
  0049  GETTABLE  R1 = R0[K14('m_parent')]
  0050  SELF      R2 = R1[K15('UpdateView')] (self)
  0051  CALL      R1 = call(R1, 0 args, 1 rets)
  0052  RETURN    return R0..R-1
; ---------- proto4 [SetParent] ----------
  ; fn ?  line 41-43 np=2 va=0 ms=2 code=2 consts=1 upvals=0 protos=0
  ;   K[0]='m_parent'
  ;   locals: self(0-2), parent(0-2)
  0000  SETTABLE  R0[K0('m_parent')] = R1
  0001  RETURN    return R0..R-1
