# UI_Window_Survey_SurveyTipWindow_694.luac
; fn @SurveyTipWindow.lua  line 0-0 np=0 va=1 ms=3 code=15 consts=6 upvals=1 protos=2
;   K[0]='SurveyTipWindow'
;   K[1]='setmetatable'
;   K[2]='BaseWindow'
;   K[3]='__index'
;   K[4]='Init'
;   K[5]='OnStartClicked'
;   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('SurveyTipWindow')] = R0
0005  GETTABUP  R0 = _ENV[K0('SurveyTipWindow')]
0006  GETTABUP  R1 = _ENV[K0('SurveyTipWindow')]
0007  SETTABLE  R0[K3('__index')] = R1
0008  GETTABUP  R0 = _ENV[K0('SurveyTipWindow')]
0009  CLOSURE   R1 = closure proto0
0010  SETTABLE  R0[K4('Init')] = R1
0011  GETTABUP  R0 = _ENV[K0('SurveyTipWindow')]
0012  CLOSURE   R1 = closure proto1
0013  SETTABLE  R0[K5('OnStartClicked')] = R1
0014  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 4-27 np=5 va=0 ms=15 code=52 consts=23 upvals=1 protos=0
  ;   K[0]='m_subTitle'
  ;   K[1]='text'
  ;   K[2]='m_desc'
  ;   K[3]=0
  ;   K[4]=2
  ;   K[5]=-150
  ;   K[6]='m_rewardLayoutGroup'
  ;   K[7]='spacing'
  ;   K[8]=1
  ;   K[9]=3
  ;   K[10]='m_reward'
  ;   K[11]=nil
  ;   K[12]='gameObject'
  ;   K[13]='SetActive'
  ;   K[14]='Init'
  ;   K[15]='GM'
  ;   K[16]='BIManager'
  ;   K[17]='LogSurvey'
  ;   K[18]='SurveyModel'
  ;   K[19]='GetBIData'
  ;   K[20]='LayoutRebuilder'
  ;   K[21]='ForceRebuildLayoutImmediate'
  ;   K[22]='m_contentTransf'
  ;   upvals: _ENV
  ;   locals: self(0-52), rewards(0-52), title(0-52), desc(0-52), isTip(0-52), rewards(5-52), space(6-52), rewardEle(13-52), (for index)(16-37), (for limit)(16-37), (for step)(16-37), i(17-36)
  0000  GETTABLE  R5 = R0[K0('m_subTitle')]
  0001  SETTABLE  R5[K1('text')] = R2
  0002  GETTABLE  R5 = R0[K2('m_desc')]
  0003  SETTABLE  R5[K1('text')] = R3
  0004  MOVE      R5 = R0
  0005  LOADK     R6 = K3 0
  0006  LEN       R7 = len R0
  0007  EQ        if R0 eq K4(2)   -> -127219
  0008  JMP       (jump)   -> 10
  0009  LOADK     R6 = K5 -150
  0010  GETTABLE  R7 = R0[K6('m_rewardLayoutGroup')]
  0011  SETTABLE  R7[K7('spacing')] = R6
  0012  LOADNIL   R7..R7 = nil
  0013  LOADK     R8 = K8 1
  0014  LOADK     R9 = K9 3
  0015  LOADK     R10 = K8 1
  0016  FORPREP   forprep R8(sBx=19)   -> 36
  0017  LOADK     R12 = K10 'm_reward'
  0018  MOVE      R13 = R0
  0019  CONCAT    R12 = concat(R12..R12)
  0020  GETTABLE  R7 = R0[R12]
  0021  GETTABLE  R12 = R5[R11]
  0022  EQ        if R1 eq K11(nil)   -> -124637
  0023  JMP       (jump)   -> 32
  0024  GETTABLE  R12 = R7[K12('gameObject')]
  0025  SELF      R13 = R12[K13('SetActive')] (self)
  0026  LOADBOOL  R14 = true
  0027  CALL      R12 = call(R12, 0 args, 2 rets)
  0028  SELF      R13 = R7[K14('Init')] (self)
  0029  GETTABLE  R14 = R5[R11]
  0030  CALL      R12 = call(R12, 0 args, 2 rets)
  0031  JMP       (jump)   -> 36
  0032  GETTABLE  R12 = R7[K12('gameObject')]
  0033  SELF      R13 = R12[K13('SetActive')] (self)
  0034  LOADBOOL  R14 = false
  0035  CALL      R12 = call(R12, 0 args, 2 rets)
  0036  FORLOOP   forloop R8(sBx=-20)   -> 17
  0037  GETTABUP  R8 = _ENV[K15('GM')]
  0038  GETTABLE  R8 = R8[K16('BIManager')]
  0039  SELF      R9 = R8[K17('LogSurvey')] (self)
  0040  LOADK     R10 = K8 1
  0041  LOADNIL   R11..R11 = nil
  0042  GETTABUP  R12 = _ENV[K15('GM')]
  0043  GETTABLE  R12 = R12[K18('SurveyModel')]
  0044  SELF      R13 = R12[K19('GetBIData')] (self)
  0045  CALL      R12 = call(R12, -1 args, 1 rets)
  0046  CALL      R8 = call(R8, 0 args, -1 rets)
  0047  GETTABUP  R8 = _ENV[K20('LayoutRebuilder')]
  0048  GETTABLE  R8 = R8[K21('ForceRebuildLayoutImmediate')]
  0049  GETTABLE  R9 = R0[K22('m_contentTransf')]
  0050  CALL      R8 = call(R8, 0 args, 1 rets)
  0051  RETURN    return R0..R-1
; ---------- proto1 [OnStartClicked] ----------
  ; fn ?  line 29-33 np=1 va=0 ms=7 code=19 consts=11 upvals=1 protos=0
  ;   K[0]='Close'
  ;   K[1]='GM'
  ;   K[2]='UIManager'
  ;   K[3]='OpenView'
  ;   K[4]='UIPrefabConfigName'
  ;   K[5]='SurveyWindow'
  ;   K[6]='BIManager'
  ;   K[7]='LogSurvey'
  ;   K[8]=205
  ;   K[9]='SurveyModel'
  ;   K[10]='GetBIData'
  ;   upvals: _ENV
  ;   locals: self(0-19)
  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('UIManager')]
  0004  SELF      R2 = R1[K3('OpenView')] (self)
  0005  GETTABUP  R3 = _ENV[K4('UIPrefabConfigName')]
  0006  GETTABLE  R3 = R3[K5('SurveyWindow')]
  0007  CALL      R1 = call(R1, 0 args, 2 rets)
  0008  GETTABUP  R1 = _ENV[K1('GM')]
  0009  GETTABLE  R1 = R1[K6('BIManager')]
  0010  SELF      R2 = R1[K7('LogSurvey')] (self)
  0011  LOADK     R3 = K8 205
  0012  LOADNIL   R4..R4 = nil
  0013  GETTABUP  R5 = _ENV[K1('GM')]
  0014  GETTABLE  R5 = R5[K9('SurveyModel')]
  0015  SELF      R6 = R5[K10('GetBIData')] (self)
  0016  CALL      R5 = call(R5, -1 args, 1 rets)
  0017  CALL      R1 = call(R1, 0 args, -1 rets)
  0018  RETURN    return R0..R-1
