# UI_Window_Survey_BaseSurveyQuestion_685.luac
; fn @BaseSurveyQuestion.lua  line 0-0 np=0 va=1 ms=2 code=9 consts=3 upvals=1 protos=1
;   K[0]='BaseSurveyQuestion'
;   K[1]='__index'
;   K[2]='_InitPicture'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('BaseSurveyQuestion')] = R0
0002  GETTABUP  R0 = _ENV[K0('BaseSurveyQuestion')]
0003  GETTABUP  R1 = _ENV[K0('BaseSurveyQuestion')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  GETTABUP  R0 = _ENV[K0('BaseSurveyQuestion')]
0006  CLOSURE   R1 = closure proto0
0007  SETTABLE  R0[K2('_InitPicture')] = R1
0008  RETURN    return R0..R-1
; ---------- proto0 [_InitPicture] ----------
  ; fn ?  line 4-24 np=1 va=0 ms=5 code=52 consts=21 upvals=1 protos=0
  ;   K[0]='m_displayImg'
  ;   K[1]=nil
  ;   K[2]='StringUtil'
  ;   K[3]='IsNilOrEmpty'
  ;   K[4]='m_questionData'
  ;   K[5]='picture'
  ;   K[6]='gameObject'
  ;   K[7]='SetActive'
  ;   K[8]=796
  ;   K[9]='sprite'
  ;   K[10]='AddressableLoader'
  ;   K[11]='LoadSpriteByBase64'
  ;   K[12]='rect'
  ;   K[13]='size'
  ;   K[14]='x'
  ;   K[15]='y'
  ;   K[16]='rectTransform'
  ;   K[17]='sizeDelta'
  ;   K[18]='color'
  ;   K[19]='CSColor'
  ;   K[20]='white'
  ;   upvals: _ENV
  ;   locals: self(0-52), fx(20-52), size(35-47)
  0000  GETTABLE  R1 = R0[K0('m_displayImg')]
  0001  EQ        if R1 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 10
  0003  GETTABUP  R1 = _ENV[K2('StringUtil')]
  0004  GETTABLE  R1 = R1[K3('IsNilOrEmpty')]
  0005  GETTABLE  R2 = R0[K4('m_questionData')]
  0006  GETTABLE  R2 = R2[K5('picture')]
  0007  CALL      R1 = call(R1, 1 args, 1 rets)
  0008  TEST      if not R1 then   -> -131062
  0009  JMP       (jump)   -> 19
  0010  GETTABLE  R1 = R0[K0('m_displayImg')]
  0011  TEST      if not R1 then   -> -131059
  0012  JMP       (jump)   -> 18
  0013  GETTABLE  R1 = R0[K0('m_displayImg')]
  0014  GETTABLE  R1 = R1[K6('gameObject')]
  0015  SELF      R2 = R1[K7('SetActive')] (self)
  0016  LOADBOOL  R3 = false
  0017  CALL      R1 = call(R1, 0 args, 2 rets)
  0018  RETURN    return R0..R-1
  0019  LOADK     R1 = K8 796
  0020  GETTABLE  R2 = R0[K0('m_displayImg')]
  0021  GETTABUP  R3 = _ENV[K10('AddressableLoader')]
  0022  GETTABLE  R3 = R3[K11('LoadSpriteByBase64')]
  0023  GETTABLE  R4 = R0[K4('m_questionData')]
  0024  GETTABLE  R4 = R4[K5('picture')]
  0025  CALL      R3 = call(R3, 1 args, 1 rets)
  0026  SETTABLE  R2[K9('sprite')] = R3
  0027  GETTABLE  R2 = R0[K0('m_displayImg')]
  0028  GETTABLE  R2 = R2[K9('sprite')]
  0029  TEST      if not R2 then   -> -131041
  0030  JMP       (jump)   -> 47
  0031  GETTABLE  R2 = R0[K0('m_displayImg')]
  0032  GETTABLE  R2 = R2[K9('sprite')]
  0033  GETTABLE  R2 = R2[K12('rect')]
  0034  GETTABLE  R2 = R2[K13('size')]
  0035  GETTABLE  R3 = R2[K14('x')]
  0036  LT        if R0 lt R3   -> -130519
  0037  JMP       (jump)   -> 44
  0038  GETTABLE  R3 = R2[K15('y')]
  0039  MUL       R3 = R1 mul R3
  0040  GETTABLE  R4 = R2[K14('x')]
  0041  DIV       R3 = R4 div R3
  0042  SETTABLE  R2[K15('y')] = R3
  0043  SETTABLE  R2[K14('x')] = R1
  0044  GETTABLE  R3 = R0[K0('m_displayImg')]
  0045  GETTABLE  R3 = R3[K16('rectTransform')]
  0046  SETTABLE  R3[K17('sizeDelta')] = R2
  0047  GETTABLE  R2 = R0[K0('m_displayImg')]
  0048  GETTABUP  R3 = _ENV[K19('CSColor')]
  0049  GETTABLE  R3 = R3[K20('white')]
  0050  SETTABLE  R2[K18('color')] = R3
  0051  RETURN    return R0..R-1
