# PassActivity_Common_View_PassActivityRewardTip_823.luac
; fn @PassActivityRewardTip.lua  line 0-0 np=0 va=1 ms=2 code=12 consts=4 upvals=1 protos=2
;   K[0]='PassActivityRewardTip'
;   K[1]='__index'
;   K[2]='Init'
;   K[3]='Update'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('PassActivityRewardTip')] = R0
0002  GETTABUP  R0 = _ENV[K0('PassActivityRewardTip')]
0003  GETTABUP  R1 = _ENV[K0('PassActivityRewardTip')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  GETTABUP  R0 = _ENV[K0('PassActivityRewardTip')]
0006  CLOSURE   R1 = closure proto0
0007  SETTABLE  R0[K2('Init')] = R1
0008  GETTABUP  R0 = _ENV[K0('PassActivityRewardTip')]
0009  CLOSURE   R1 = closure proto1
0010  SETTABLE  R0[K3('Update')] = R1
0011  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 5-11 np=4 va=0 ms=8 code=20 consts=16 upvals=1 protos=0
  ;   K[0]='m_activityDefinition'
  ;   K[1]='PassActivityDefinition'
  ;   K[2]='m_descriptionText'
  ;   K[3]='text'
  ;   K[4]='GM'
  ;   K[5]='GameTextModel'
  ;   K[6]='GetText'
  ;   K[7]='m_currentSelected'
  ;   K[8]='CS'
  ;   K[9]='UnityEngine'
  ;   K[10]='EventSystems'
  ;   K[11]='EventSystem'
  ;   K[12]='current'
  ;   K[13]='currentSelectedGameObject'
  ;   K[14]='m_canvas'
  ;   K[15]='sortingOrder'
  ;   upvals: _ENV
  ;   locals: self(0-20), activityType(0-20), descriptionKey(0-20), sortingOrder(0-20)
  0000  GETTABUP  R4 = _ENV[K1('PassActivityDefinition')]
  0001  GETTABLE  R4 = R4[R1]
  0002  SETTABLE  R0[K0('m_activityDefinition')] = R4
  0003  GETTABLE  R4 = R0[K2('m_descriptionText')]
  0004  GETTABUP  R5 = _ENV[K4('GM')]
  0005  GETTABLE  R5 = R5[K5('GameTextModel')]
  0006  SELF      R6 = R5[K6('GetText')] (self)
  0007  MOVE      R7 = R0
  0008  CALL      R5 = call(R5, 1 args, 2 rets)
  0009  SETTABLE  R4[K3('text')] = R5
  0010  GETTABUP  R4 = _ENV[K8('CS')]
  0011  GETTABLE  R4 = R4[K9('UnityEngine')]
  0012  GETTABLE  R4 = R4[K10('EventSystems')]
  0013  GETTABLE  R4 = R4[K11('EventSystem')]
  0014  GETTABLE  R4 = R4[K12('current')]
  0015  GETTABLE  R4 = R4[K13('currentSelectedGameObject')]
  0016  SETTABLE  R0[K7('m_currentSelected')] = R4
  0017  GETTABLE  R4 = R0[K14('m_canvas')]
  0018  SETTABLE  R4[K15('sortingOrder')] = R3
  0019  RETURN    return R0..R-1
; ---------- proto1 [Update] ----------
  ; fn ?  line 13-20 np=1 va=0 ms=4 code=20 consts=14 upvals=1 protos=0
  ;   K[0]='m_currentSelected'
  ;   K[1]='CS'
  ;   K[2]='UnityEngine'
  ;   K[3]='EventSystems'
  ;   K[4]='EventSystem'
  ;   K[5]='current'
  ;   K[6]='currentSelectedGameObject'
  ;   K[7]='GM'
  ;   K[8]='UIManager'
  ;   K[9]='GetOpenedViewByName'
  ;   K[10]='m_activityDefinition'
  ;   K[11]='MainWindowPrefabName'
  ;   K[12]=nil
  ;   K[13]='ForceHideRewardTip'
  ;   upvals: _ENV
  ;   locals: self(0-20), mainWindow(15-19)
  0000  GETTABLE  R1 = R0[K0('m_currentSelected')]
  0001  GETTABUP  R2 = _ENV[K1('CS')]
  0002  GETTABLE  R2 = R2[K2('UnityEngine')]
  0003  GETTABLE  R2 = R2[K3('EventSystems')]
  0004  GETTABLE  R2 = R2[K4('EventSystem')]
  0005  GETTABLE  R2 = R2[K5('current')]
  0006  GETTABLE  R2 = R2[K6('currentSelectedGameObject')]
  0007  EQ        if R1 eq R2   -> -130549
  0008  JMP       (jump)   -> 19
  0009  GETTABUP  R1 = _ENV[K7('GM')]
  0010  GETTABLE  R1 = R1[K8('UIManager')]
  0011  SELF      R2 = R1[K9('GetOpenedViewByName')] (self)
  0012  GETTABLE  R3 = R0[K10('m_activityDefinition')]
  0013  GETTABLE  R3 = R3[K11('MainWindowPrefabName')]
  0014  CALL      R1 = call(R1, 1 args, 2 rets)
  0015  EQ        if R1 eq K12(nil)   -> -130275
  0016  JMP       (jump)   -> 19
  0017  SELF      R3 = R1[K13('ForceHideRewardTip')] (self)
  0018  CALL      R2 = call(R2, 0 args, 1 rets)
  0019  RETURN    return R0..R-1
