# UI_SubView_RewardTip_368.luac
; fn @RewardTip.lua  line 0-0 np=0 va=1 ms=2 code=21 consts=7 upvals=1 protos=5
;   K[0]='RewardTip'
;   K[1]='__index'
;   K[2]='Show'
;   K[3]='Hide'
;   K[4]='UpdatePos'
;   K[5]='GetRewardItem'
;   K[6]='Update'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('RewardTip')] = R0
0002  GETTABUP  R0 = _ENV[K0('RewardTip')]
0003  GETTABUP  R1 = _ENV[K0('RewardTip')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  GETTABUP  R0 = _ENV[K0('RewardTip')]
0006  CLOSURE   R1 = closure proto0
0007  SETTABLE  R0[K2('Show')] = R1
0008  GETTABUP  R0 = _ENV[K0('RewardTip')]
0009  CLOSURE   R1 = closure proto1
0010  SETTABLE  R0[K3('Hide')] = R1
0011  GETTABUP  R0 = _ENV[K0('RewardTip')]
0012  CLOSURE   R1 = closure proto2
0013  SETTABLE  R0[K4('UpdatePos')] = R1
0014  GETTABUP  R0 = _ENV[K0('RewardTip')]
0015  CLOSURE   R1 = closure proto3
0016  SETTABLE  R0[K5('GetRewardItem')] = R1
0017  GETTABUP  R0 = _ENV[K0('RewardTip')]
0018  CLOSURE   R1 = closure proto4
0019  SETTABLE  R0[K6('Update')] = R1
0020  RETURN    return R0..R-1
; ---------- proto0 [Show] ----------
  ; fn ?  line 9-42 np=9 va=0 ms=15 code=95 consts=44 upvals=1 protos=0
  ;   K[0]='gameObject'
  ;   K[1]='SetActive'
  ;   K[2]='m_rewardContent'
  ;   K[3]='ClearRewards'
  ;   K[4]='LayoutRebuilder'
  ;   K[5]='ForceRebuildLayoutImmediate'
  ;   K[6]='m_boardRectTrans'
  ;   K[7]='position'
  ;   K[8]='x'
  ;   K[9]=0
  ;   K[10]='UIUtil'
  ;   K[11]='SetPivot'
  ;   K[12]='Vector2'
  ;   K[13]=0.2
  ;   K[14]=0.8
  ;   K[15]='Init'
  ;   K[16]='SetAnchoredPosX'
  ;   K[17]='sizeDelta'
  ;   K[18]=0.3
  ;   K[19]=40
  ;   K[20]='m_rectTrans'
  ;   K[21]='m_offsetX'
  ;   K[22]=-65
  ;   K[23]='m_offsetY'
  ;   K[24]='UpdatePos'
  ;   K[25]='transform'
  ;   K[26]='DOKill'
  ;   K[27]='localScale'
  ;   K[28]='V3Zero'
  ;   K[29]='DOScale'
  ;   K[30]=1
  ;   K[31]='SetEase'
  ;   K[32]='Ease'
  ;   K[33]='OutBack'
  ;   K[34]='showing'
  ;   K[35]=true
  ;   K[36]='m_currentSelected'
  ;   K[37]='CS'
  ;   K[38]='UnityEngine'
  ;   K[39]='EventSystems'
  ;   K[40]='EventSystem'
  ;   K[41]='current'
  ;   K[42]='currentSelectedGameObject'
  ;   K[43]=nil
  ;   upvals: _ENV
  ;   locals: self(0-95), rewards(0-95), rewardScene(0-95), rectTrans(0-95), offsetX(0-95), offsetY(0-95), bAutoDir(0-95), bAutoHide(0-95), bArrowCenter(0-95), bLeft(19-32)
  0000  GETTABLE  R9 = R0[K0('gameObject')]
  0001  SELF      R10 = R9[K1('SetActive')] (self)
  0002  LOADBOOL  R11 = true
  0003  CALL      R9 = call(R9, 0 args, 2 rets)
  0004  TEST      if not R6 then   -> -131066
  0005  JMP       (jump)   -> 32
  0006  GETTABLE  R9 = R0[K2('m_rewardContent')]
  0007  SELF      R10 = R9[K3('ClearRewards')] (self)
  0008  CALL      R9 = call(R9, 0 args, 1 rets)
  0009  GETTABUP  R9 = _ENV[K4('LayoutRebuilder')]
  0010  GETTABLE  R9 = R9[K5('ForceRebuildLayoutImmediate')]
  0011  GETTABLE  R10 = R0[K6('m_boardRectTrans')]
  0012  CALL      R9 = call(R9, 0 args, 1 rets)
  0013  GETTABLE  R9 = R3[K7('position')]
  0014  GETTABLE  R9 = R9[K8('x')]
  0015  LE        if R1 le K9(0)   -> -126182
  0016  JMP       (jump)   -> 18
  0017  LOADBOOL  R9 = false
  0018  LOADBOOL  R9 = true
  0019  GETTABUP  R10 = _ENV[K10('UIUtil')]
  0020  GETTABLE  R10 = R10[K11('SetPivot')]
  0021  GETTABLE  R11 = R0[K6('m_boardRectTrans')]
  0022  GETTABUP  R12 = _ENV[K12('Vector2')]
  0023  TEST      if not R9 then   -> -131047
  0024  JMP       (jump)   -> 28
  0025  LOADK     R13 = K13 0.2
  0026  TEST      if not R13 then   -> -131043
  0027  JMP       (jump)   -> 29
  0028  LOADK     R13 = K14 0.8
  0029  LOADK     R14 = K9 0
  0030  CALL      R12 = call(R12, -1 args, 2 rets)
  0031  CALL      R10 = call(R10, 0 args, -1 rets)
  0032  GETTABLE  R9 = R0[K2('m_rewardContent')]
  0033  SELF      R10 = R9[K15('Init')] (self)
  0034  MOVE      R11 = R0
  0035  MOVE      R12 = R0
  0036  CALL      R9 = call(R9, 0 args, 3 rets)
  0037  GETTABUP  R9 = _ENV[K4('LayoutRebuilder')]
  0038  GETTABLE  R9 = R9[K5('ForceRebuildLayoutImmediate')]
  0039  GETTABLE  R10 = R0[K6('m_boardRectTrans')]
  0040  CALL      R9 = call(R9, 0 args, 1 rets)
  0041  TEST      if not R6 then   -> -131028
  0042  JMP       (jump)   -> 53
  0043  TEST      if not R8 then   -> -131027
  0044  JMP       (jump)   -> 53
  0045  GETTABLE  R9 = R0[K6('m_boardRectTrans')]
  0046  SELF      R10 = R9[K16('SetAnchoredPosX')] (self)
  0047  GETTABLE  R11 = R0[K6('m_boardRectTrans')]
  0048  GETTABLE  R11 = R11[K17('sizeDelta')]
  0049  GETTABLE  R11 = R11[K8('x')]
  0050  MUL       R11 = K18(0.3) mul R11
  0051  SUB       R11 = K19(40) sub R11
  0052  CALL      R9 = call(R9, 0 args, 2 rets)
  0053  SETTABLE  R0[K20('m_rectTrans')] = R3
  0054  TESTSET   if R1 then R9   -> -128967
  0055  JMP       (jump)   -> 57
  0056  LOADK     R9 = K22 -65
  0057  SETTABLE  R0[K21('m_offsetX')] = R9
  0058  TESTSET   if R1 then R9   -> -128451
  0059  JMP       (jump)   -> 61
  0060  LOADK     R9 = K9 0
  0061  SETTABLE  R0[K23('m_offsetY')] = R9
  0062  SELF      R10 = R0[K24('UpdatePos')] (self)
  0063  CALL      R9 = call(R9, 0 args, 1 rets)
  0064  GETTABLE  R9 = R0[K0('gameObject')]
  0065  GETTABLE  R9 = R9[K25('transform')]
  0066  SELF      R10 = R9[K26('DOKill')] (self)
  0067  CALL      R9 = call(R9, 0 args, 1 rets)
  0068  GETTABLE  R9 = R0[K0('gameObject')]
  0069  GETTABLE  R9 = R9[K25('transform')]
  0070  GETTABUP  R10 = _ENV[K28('V3Zero')]
  0071  SETTABLE  R9[K27('localScale')] = R10
  0072  GETTABLE  R9 = R0[K0('gameObject')]
  0073  GETTABLE  R9 = R9[K25('transform')]
  0074  SELF      R10 = R9[K29('DOScale')] (self)
  0075  LOADK     R11 = K30 1
  0076  LOADK     R12 = K18 0.3
  0077  CALL      R9 = call(R9, 1 args, 3 rets)
  0078  SELF      R10 = R9[K31('SetEase')] (self)
  0079  GETTABUP  R11 = _ENV[K32('Ease')]
  0080  GETTABLE  R11 = R11[K33('OutBack')]
  0081  CALL      R9 = call(R9, 0 args, 2 rets)
  0082  SETTABLE  R0[K34('showing')] = K35(true)
  0083  TEST      if not R7 then   -> -130987
  0084  JMP       (jump)   -> 93
  0085  GETTABUP  R9 = _ENV[K37('CS')]
  0086  GETTABLE  R9 = R9[K38('UnityEngine')]
  0087  GETTABLE  R9 = R9[K39('EventSystems')]
  0088  GETTABLE  R9 = R9[K40('EventSystem')]
  0089  GETTABLE  R9 = R9[K41('current')]
  0090  GETTABLE  R9 = R9[K42('currentSelectedGameObject')]
  0091  SETTABLE  R0[K36('m_currentSelected')] = R9
  0092  JMP       (jump)   -> 94
  0093  SETTABLE  R0[K36('m_currentSelected')] = K43(nil)
  0094  RETURN    return R0..R-1
; ---------- proto1 [Hide] ----------
  ; fn ?  line 44-54 np=2 va=0 ms=6 code=24 consts=12 upvals=1 protos=0
  ;   K[0]='showing'
  ;   K[1]=false
  ;   K[2]='gameObject'
  ;   K[3]='transform'
  ;   K[4]='DOKill'
  ;   K[5]='SetLocalScale'
  ;   K[6]=0
  ;   K[7]='DOScale'
  ;   K[8]=0.3
  ;   K[9]='SetEase'
  ;   K[10]='Ease'
  ;   K[11]='OutCubic'
  ;   upvals: _ENV
  ;   locals: self(0-24), ignoreAni(0-24)
  0000  SETTABLE  R0[K0('showing')] = K1(false)
  0001  GETTABLE  R2 = R0[K2('gameObject')]
  0002  GETTABLE  R2 = R2[K3('transform')]
  0003  SELF      R3 = R2[K4('DOKill')] (self)
  0004  CALL      R2 = call(R2, 0 args, 1 rets)
  0005  TEST      if not R1 then   -> -131065
  0006  JMP       (jump)   -> 13
  0007  GETTABLE  R2 = R0[K2('gameObject')]
  0008  GETTABLE  R2 = R2[K3('transform')]
  0009  SELF      R3 = R2[K5('SetLocalScale')] (self)
  0010  LOADK     R4 = K6 0
  0011  CALL      R2 = call(R2, 0 args, 2 rets)
  0012  RETURN    return R0..R-1
  0013  GETTABLE  R2 = R0[K2('gameObject')]
  0014  GETTABLE  R2 = R2[K3('transform')]
  0015  SELF      R3 = R2[K7('DOScale')] (self)
  0016  LOADK     R4 = K6 0
  0017  LOADK     R5 = K8 0.3
  0018  CALL      R2 = call(R2, 1 args, 3 rets)
  0019  SELF      R3 = R2[K9('SetEase')] (self)
  0020  GETTABUP  R4 = _ENV[K10('Ease')]
  0021  GETTABLE  R4 = R4[K11('OutCubic')]
  0022  CALL      R2 = call(R2, 0 args, 2 rets)
  0023  RETURN    return R0..R-1
; ---------- proto2 [UpdatePos] ----------
  ; fn ?  line 56-60 np=1 va=0 ms=7 code=15 consts=9 upvals=1 protos=0
  ;   K[0]='m_rectTrans'
  ;   K[1]=nil
  ;   K[2]='gameObject'
  ;   K[3]='transform'
  ;   K[4]='position'
  ;   K[5]='Vector3'
  ;   K[6]='m_offsetX'
  ;   K[7]='m_offsetY'
  ;   K[8]=0
  ;   upvals: _ENV
  ;   locals: self(0-15)
  0000  GETTABLE  R1 = R0[K0('m_rectTrans')]
  0001  EQ        if R1 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 14
  0003  GETTABLE  R1 = R0[K2('gameObject')]
  0004  GETTABLE  R1 = R1[K3('transform')]
  0005  GETTABLE  R2 = R0[K0('m_rectTrans')]
  0006  GETTABLE  R2 = R2[K4('position')]
  0007  GETTABUP  R3 = _ENV[K5('Vector3')]
  0008  GETTABLE  R4 = R0[K6('m_offsetX')]
  0009  GETTABLE  R5 = R0[K7('m_offsetY')]
  0010  LOADK     R6 = K8 0
  0011  CALL      R3 = call(R3, 1 args, 3 rets)
  0012  ADD       R2 = R3 add R2
  0013  SETTABLE  R1[K4('position')] = R2
  0014  RETURN    return R0..R-1
; ---------- proto3 [GetRewardItem] ----------
  ; fn ?  line 62-64 np=2 va=0 ms=5 code=6 consts=2 upvals=0 protos=0
  ;   K[0]='m_rewardContent'
  ;   K[1]='GetRewardItem'
  ;   locals: self(0-6), index(0-6)
  0000  GETTABLE  R2 = R0[K0('m_rewardContent')]
  0001  SELF      R3 = R2[K1('GetRewardItem')] (self)
  0002  MOVE      R4 = R0
  0003  TAILCALL  tailcall(R2, 0)
  0004  RETURN    return R2..R1
  0005  RETURN    return R0..R-1
; ---------- proto4 [Update] ----------
  ; fn ?  line 66-88 np=1 va=0 ms=9 code=56 consts=20 upvals=1 protos=0
  ;   K[0]='CS'
  ;   K[1]='UnityEngine'
  ;   K[2]='EventSystems'
  ;   K[3]='EventSystem'
  ;   K[4]='current'
  ;   K[5]='currentSelectedGameObject'
  ;   K[6]=nil
  ;   K[7]='IsNull'
  ;   K[8]='GetLuaTable'
  ;   K[9]='bRewardHelpBtn'
  ;   K[10]='Input'
  ;   K[11]='GetMouseButtonDown'
  ;   K[12]=0
  ;   K[13]='Hide'
  ;   K[14]='touchCount'
  ;   K[15]=1
  ;   K[16]='GetTouch'
  ;   K[17]='phase'
  ;   K[18]='TouchPhase'
  ;   K[19]='Began'
  ;   upvals: _ENV
  ;   locals: self(0-56), selectGo(6-56), bRewardHelpBtn(22-56), (for index)(42-55), (for limit)(42-55), (for step)(42-55), i(43-54)
  0000  GETTABUP  R1 = _ENV[K0('CS')]
  0001  GETTABLE  R1 = R1[K1('UnityEngine')]
  0002  GETTABLE  R1 = R1[K2('EventSystems')]
  0003  GETTABLE  R1 = R1[K3('EventSystem')]
  0004  GETTABLE  R1 = R1[K4('current')]
  0005  GETTABLE  R1 = R1[K5('currentSelectedGameObject')]
  0006  EQ        if R1 eq K6(nil)   -> -130290
  0007  JMP       (jump)   -> 20
  0008  SELF      R3 = R1[K7('IsNull')] (self)
  0009  CALL      R2 = call(R2, 1 args, 1 rets)
  0010  TEST      if not R2 then   -> -131059
  0011  JMP       (jump)   -> 20
  0012  SELF      R3 = R1[K8('GetLuaTable')] (self)
  0013  CALL      R2 = call(R2, 1 args, 1 rets)
  0014  EQ        if R1 eq K6(nil)   -> -129770
  0015  JMP       (jump)   -> 20
  0016  SELF      R3 = R1[K8('GetLuaTable')] (self)
  0017  CALL      R2 = call(R2, 1 args, 1 rets)
  0018  GETTABLE  R2 = R2[K9('bRewardHelpBtn')]
  0019  JMP       (jump)   -> 22
  0020  LOADBOOL  R2 = false
  0021  LOADBOOL  R2 = true
  0022  TEST      if not R2 then   -> -131048
  0023  JMP       (jump)   -> 25
  0024  RETURN    return R0..R-1
  0025  GETTABUP  R3 = _ENV[K10('Input')]
  0026  GETTABLE  R3 = R3[K11('GetMouseButtonDown')]
  0027  LOADK     R4 = K12 0
  0028  CALL      R3 = call(R3, 1 args, 1 rets)
  0029  TEST      if not R3 then   -> -131041
  0030  JMP       (jump)   -> 33
  0031  SELF      R4 = R0[K13('Hide')] (self)
  0032  CALL      R3 = call(R3, 0 args, 1 rets)
  0033  GETTABUP  R3 = _ENV[K10('Input')]
  0034  GETTABLE  R3 = R3[K14('touchCount')]
  0035  LT        if R0 lt R3   -> 6184
  0036  JMP       (jump)   -> 55
  0037  LOADK     R3 = K12 0
  0038  GETTABUP  R4 = _ENV[K10('Input')]
  0039  GETTABLE  R4 = R4[K14('touchCount')]
  0040  SUB       R4 = K15(1) sub R4
  0041  LOADK     R5 = K15 1
  0042  FORPREP   forprep R3(sBx=11)   -> 54
  0043  GETTABUP  R7 = _ENV[K10('Input')]
  0044  GETTABLE  R7 = R7[K16('GetTouch')]
  0045  MOVE      R8 = R0
  0046  CALL      R7 = call(R7, 1 args, 1 rets)
  0047  GETTABLE  R7 = R7[K17('phase')]
  0048  GETTABUP  R8 = _ENV[K18('TouchPhase')]
  0049  GETTABLE  R8 = R8[K19('Began')]
  0050  EQ        if R0 eq R8   -> -127428
  0051  JMP       (jump)   -> 54
  0052  SELF      R8 = R0[K13('Hide')] (self)
  0053  CALL      R7 = call(R7, 0 args, 1 rets)
  0054  FORLOOP   forloop R3(sBx=-12)   -> 43
  0055  RETURN    return R0..R-1
