# UI_SubView_ActivityTokenTip_380.luac
; fn @ActivityTokenTip.lua  line 0-0 np=0 va=1 ms=3 code=34 consts=11 upvals=1 protos=4
;   K[0]='ActivityTokenTip'
;   K[1]='setmetatable'
;   K[2]='BaseTip'
;   K[3]='__index'
;   K[4]='Show'
;   K[5]='UpdateContent'
;   K[6]='ActivityTokenTipCell'
;   K[7]='Init'
;   K[8]='ActivityTokenTip2'
;   K[9]='CommonTip'
;   K[10]='Show'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  GETTABUP  R2 = _ENV[K2('BaseTip')]
0003  CALL      R0 = call(R0, 1 args, 2 rets)
0004  SETTABUP  _ENV[K0('ActivityTokenTip')] = R0
0005  GETTABUP  R0 = _ENV[K0('ActivityTokenTip')]
0006  GETTABUP  R1 = _ENV[K0('ActivityTokenTip')]
0007  SETTABLE  R0[K3('__index')] = R1
0008  GETTABUP  R0 = _ENV[K0('ActivityTokenTip')]
0009  CLOSURE   R1 = closure proto0
0010  SETTABLE  R0[K4('Show')] = R1
0011  GETTABUP  R0 = _ENV[K0('ActivityTokenTip')]
0012  CLOSURE   R1 = closure proto1
0013  SETTABLE  R0[K5('UpdateContent')] = R1
0014  NEWTABLE  R0 = {} (0 items)
0015  SETTABUP  _ENV[K6('ActivityTokenTipCell')] = R0
0016  GETTABUP  R0 = _ENV[K6('ActivityTokenTipCell')]
0017  GETTABUP  R1 = _ENV[K6('ActivityTokenTipCell')]
0018  SETTABLE  R0[K3('__index')] = R1
0019  GETTABUP  R0 = _ENV[K6('ActivityTokenTipCell')]
0020  CLOSURE   R1 = closure proto2
0021  SETTABLE  R0[K7('Init')] = R1
0022  GETTABUP  R0 = _ENV[K1('setmetatable')]
0023  NEWTABLE  R1 = {} (0 items)
0024  GETTABUP  R2 = _ENV[K9('CommonTip')]
0025  CALL      R0 = call(R0, 1 args, 2 rets)
0026  SETTABUP  _ENV[K8('ActivityTokenTip2')] = R0
0027  GETTABUP  R0 = _ENV[K8('ActivityTokenTip2')]
0028  GETTABUP  R1 = _ENV[K8('ActivityTokenTip2')]
0029  SETTABLE  R0[K3('__index')] = R1
0030  GETTABUP  R0 = _ENV[K8('ActivityTokenTip2')]
0031  CLOSURE   R1 = closure proto3
0032  SETTABLE  R0[K10('Show')] = R1
0033  RETURN    return R0..R-1
; ---------- proto0 [Show] ----------
  ; fn ?  line 11-19 np=4 va=0 ms=9 code=16 consts=4 upvals=1 protos=0
  ;   K[0]='BaseTip'
  ;   K[1]='Show'
  ;   K[2]=0
  ;   K[3]='UpdateContent'
  ;   upvals: _ENV
  ;   locals: self(0-16), tokenHelper(0-16), descText(0-16), params(0-16)
  0000  TEST      if not R1 then   -> -131070
  0001  JMP       (jump)   -> 4
  0002  TEST      if not R2 then   -> -131067
  0003  JMP       (jump)   -> 5
  0004  RETURN    return R0..R-1
  0005  GETTABUP  R4 = _ENV[K0('BaseTip')]
  0006  GETTABLE  R4 = R4[K1('Show')]
  0007  MOVE      R5 = R0
  0008  LOADK     R6 = K2 0
  0009  CALL      R4 = call(R4, 0 args, 2 rets)
  0010  SELF      R5 = R0[K3('UpdateContent')] (self)
  0011  MOVE      R6 = R0
  0012  MOVE      R7 = R0
  0013  MOVE      R8 = R0
  0014  CALL      R4 = call(R4, 0 args, 4 rets)
  0015  RETURN    return R0..R-1
; ---------- proto1 [UpdateContent] ----------
  ; fn ?  line 21-78 np=4 va=0 ms=16 code=66 consts=21 upvals=1 protos=6
  ;   K[0]='m_descText'
  ;   K[1]='text'
  ;   K[2]='propertyName'
  ;   K[3]='m_producerClickedCell'
  ;   K[4]='checkFunc'
  ;   K[5]='m_mergeCell'
  ;   K[6]='m_orderCell'
  ;   K[7]='m_bubbleCell'
  ;   K[8]='m_shopCell'
  ;   K[9]='m_taskCell'
  ;   K[10]='ipairs'
  ;   K[11]='Init'
  ;   K[12]='LayoutRebuilder'
  ;   K[13]='ForceRebuildLayoutImmediate'
  ;   K[14]='m_layoutGroup'
  ;   K[15]='transform'
  ;   K[16]='m_bgTrans'
  ;   K[17]='SetSizeDeltaWidth'
  ;   K[18]='sizeDelta'
  ;   K[19]='x'
  ;   K[20]=11
  ;   upvals: _ENV
  ;   locals: self(0-66), tokenHelper(0-66), descText(0-66), params(0-66), arrCheckInfo(32-66), bFirst(33-66), bShow(34-66), (for generator)(37-52), (for state)(37-52), (for control)(37-52), _(38-50), info(38-50)
  0000  TEST      if not R3 then   -> -131069
  0001  JMP       (jump)   -> 4
  0002  NEWTABLE  R4 = {} (0 items)
  0003  MOVE      R3 = R0
  0004  GETTABLE  R4 = R0[K0('m_descText')]
  0005  SETTABLE  R4[K1('text')] = R2
  0006  NEWTABLE  R4 = {} (6 items)
  0007  NEWTABLE  R5 = {} (0 items)
  0008  SETTABLE  R5[K2('propertyName')] = K3('m_producerClickedCell')
  0009  CLOSURE   R6 = closure proto0
  0010  SETTABLE  R5[K4('checkFunc')] = R6
  0011  NEWTABLE  R6 = {} (0 items)
  0012  SETTABLE  R6[K2('propertyName')] = K5('m_mergeCell')
  0013  CLOSURE   R7 = closure proto1
  0014  SETTABLE  R6[K4('checkFunc')] = R7
  0015  NEWTABLE  R7 = {} (0 items)
  0016  SETTABLE  R7[K2('propertyName')] = K6('m_orderCell')
  0017  CLOSURE   R8 = closure proto2
  0018  SETTABLE  R7[K4('checkFunc')] = R8
  0019  NEWTABLE  R8 = {} (0 items)
  0020  SETTABLE  R8[K2('propertyName')] = K7('m_bubbleCell')
  0021  CLOSURE   R9 = closure proto3
  0022  SETTABLE  R8[K4('checkFunc')] = R9
  0023  NEWTABLE  R9 = {} (0 items)
  0024  SETTABLE  R9[K2('propertyName')] = K8('m_shopCell')
  0025  CLOSURE   R10 = closure proto4
  0026  SETTABLE  R9[K4('checkFunc')] = R10
  0027  NEWTABLE  R10 = {} (0 items)
  0028  SETTABLE  R10[K2('propertyName')] = K9('m_taskCell')
  0029  CLOSURE   R11 = closure proto5
  0030  SETTABLE  R10[K4('checkFunc')] = R11
  0031  SETLIST   setlist R4[B=1,C=6]
  0032  LOADBOOL  R5 = true
  0033  LOADNIL   R6..R6 = nil
  0034  GETTABUP  R7 = _ENV[K10('ipairs')]
  0035  MOVE      R8 = R0
  0036  CALL      R7 = call(R7, 3 args, 1 rets)
  0037  JMP       (jump)   -> 50
  0038  GETTABLE  R12 = R11[K4('checkFunc')]
  0039  CALL      R12 = call(R12, 1 args, 0 rets)
  0040  MOVE      R6 = R0
  0041  GETTABLE  R12 = R11[K2('propertyName')]
  0042  GETTABLE  R12 = R0[R12]
  0043  SELF      R13 = R12[K11('Init')] (self)
  0044  MOVE      R14 = R0
  0045  MOVE      R15 = R0
  0046  CALL      R12 = call(R12, 0 args, 3 rets)
  0047  TEST      if not R6 then   -> -131023
  0048  JMP       (jump)   -> 50
  0049  LOADBOOL  R5 = false
  0050  TFORCALL  tforcall R7
  0051  TFORLOOP  tforloop R9(sBx=-14)   -> 38
  0052  GETTABUP  R7 = _ENV[K12('LayoutRebuilder')]
  0053  GETTABLE  R7 = R7[K13('ForceRebuildLayoutImmediate')]
  0054  GETTABLE  R8 = R0[K14('m_layoutGroup')]
  0055  GETTABLE  R8 = R8[K15('transform')]
  0056  CALL      R7 = call(R7, 0 args, 1 rets)
  0057  GETTABLE  R7 = R0[K16('m_bgTrans')]
  0058  SELF      R8 = R7[K17('SetSizeDeltaWidth')] (self)
  0059  GETTABLE  R9 = R0[K14('m_layoutGroup')]
  0060  GETTABLE  R9 = R9[K15('transform')]
  0061  GETTABLE  R9 = R9[K18('sizeDelta')]
  0062  GETTABLE  R9 = R9[K19('x')]
  0063  ADD       R9 = K20(11) add R9
  0064  CALL      R7 = call(R7, 0 args, 2 rets)
  0065  RETURN    return R0..R-1
  ; ---------- proto0 [checkFunc] ----------
    ; fn ?  line 30-32 np=0 va=0 ms=3 code=14 consts=4 upvals=2 protos=0
    ;   K[0]='IsAcquireTypeValid'
    ;   K[1]='EActTokenAcquireType'
    ;   K[2]='CostEnergy'
    ;   K[3]='ProducerClick'
    ;   upvals: tokenHelper, _ENV
    0000  GETUPVAL  R0 = tokenHelper
    0001  SELF      R1 = R0[K0('IsAcquireTypeValid')] (self)
    0002  GETTABUP  R2 = _ENV[K1('EActTokenAcquireType')]
    0003  GETTABLE  R2 = R2[K2('CostEnergy')]
    0004  CALL      R0 = call(R0, 1 args, 2 rets)
    0005  TEST      if not R0 then   -> -131064
    0006  JMP       (jump)   -> 12
    0007  GETUPVAL  R0 = tokenHelper
    0008  SELF      R1 = R0[K0('IsAcquireTypeValid')] (self)
    0009  GETTABUP  R2 = _ENV[K1('EActTokenAcquireType')]
    0010  GETTABLE  R2 = R2[K3('ProducerClick')]
    0011  CALL      R0 = call(R0, 1 args, 2 rets)
    0012  RETURN    return R0..R-1
    0013  RETURN    return R0..R-1
  ; ---------- proto1 [checkFunc] ----------
    ; fn ?  line 36-38 np=0 va=0 ms=3 code=7 consts=3 upvals=2 protos=0
    ;   K[0]='IsAcquireTypeValid'
    ;   K[1]='EActTokenAcquireType'
    ;   K[2]='Merge'
    ;   upvals: tokenHelper, _ENV
    0000  GETUPVAL  R0 = tokenHelper
    0001  SELF      R1 = R0[K0('IsAcquireTypeValid')] (self)
    0002  GETTABUP  R2 = _ENV[K1('EActTokenAcquireType')]
    0003  GETTABLE  R2 = R2[K2('Merge')]
    0004  TAILCALL  tailcall(R0, 0)
    0005  RETURN    return R0..R-1
    0006  RETURN    return R0..R-1
  ; ---------- proto2 [checkFunc] ----------
    ; fn ?  line 42-44 np=0 va=0 ms=3 code=7 consts=3 upvals=2 protos=0
    ;   K[0]='IsAcquireTypeValid'
    ;   K[1]='EActTokenAcquireType'
    ;   K[2]='FinishOrder'
    ;   upvals: tokenHelper, _ENV
    0000  GETUPVAL  R0 = tokenHelper
    0001  SELF      R1 = R0[K0('IsAcquireTypeValid')] (self)
    0002  GETTABUP  R2 = _ENV[K1('EActTokenAcquireType')]
    0003  GETTABLE  R2 = R2[K2('FinishOrder')]
    0004  TAILCALL  tailcall(R0, 0)
    0005  RETURN    return R0..R-1
    0006  RETURN    return R0..R-1
  ; ---------- proto3 [checkFunc] ----------
    ; fn ?  line 48-50 np=0 va=0 ms=3 code=7 consts=3 upvals=2 protos=0
    ;   K[0]='IsAcquireTypeValid'
    ;   K[1]='EActTokenAcquireType'
    ;   K[2]='ShopItem'
    ;   upvals: tokenHelper, _ENV
    0000  GETUPVAL  R0 = tokenHelper
    0001  SELF      R1 = R0[K0('IsAcquireTypeValid')] (self)
    0002  GETTABUP  R2 = _ENV[K1('EActTokenAcquireType')]
    0003  GETTABLE  R2 = R2[K2('ShopItem')]
    0004  TAILCALL  tailcall(R0, 0)
    0005  RETURN    return R0..R-1
    0006  RETURN    return R0..R-1
  ; ---------- proto4 [checkFunc] ----------
    ; fn ?  line 54-56 np=0 va=0 ms=3 code=7 consts=3 upvals=2 protos=0
    ;   K[0]='IsAcquireTypeValid'
    ;   K[1]='EActTokenAcquireType'
    ;   K[2]='ShopItem'
    ;   upvals: tokenHelper, _ENV
    0000  GETUPVAL  R0 = tokenHelper
    0001  SELF      R1 = R0[K0('IsAcquireTypeValid')] (self)
    0002  GETTABUP  R2 = _ENV[K1('EActTokenAcquireType')]
    0003  GETTABLE  R2 = R2[K2('ShopItem')]
    0004  TAILCALL  tailcall(R0, 0)
    0005  RETURN    return R0..R-1
    0006  RETURN    return R0..R-1
  ; ---------- proto5 [checkFunc] ----------
    ; fn ?  line 60-62 np=0 va=0 ms=2 code=3 consts=1 upvals=1 protos=0
    ;   K[0]='bShowTask'
    ;   upvals: params
    0000  GETTABUP  R0 = params[K0('bShowTask')]
    0001  RETURN    return R0..R-1
    0002  RETURN    return R0..R-1
; ---------- proto2 [Init] ----------
  ; fn ?  line 84-90 np=3 va=0 ms=6 code=21 consts=6 upvals=1 protos=0
  ;   K[0]='m_lineGo'
  ;   K[1]=nil
  ;   K[2]='IsNull'
  ;   K[3]='UIUtil'
  ;   K[4]='SetActive'
  ;   K[5]='gameObject'
  ;   upvals: _ENV
  ;   locals: self(0-21), bShow(0-21), bFirst(0-21)
  0000  GETTABLE  R3 = R0[K0('m_lineGo')]
  0001  EQ        if R1 eq K1(nil)   -> -129276
  0002  JMP       (jump)   -> 15
  0003  GETTABLE  R3 = R0[K0('m_lineGo')]
  0004  SELF      R4 = R3[K2('IsNull')] (self)
  0005  CALL      R3 = call(R3, 1 args, 1 rets)
  0006  TEST      if not R3 then   -> -131063
  0007  JMP       (jump)   -> 15
  0008  GETTABUP  R3 = _ENV[K3('UIUtil')]
  0009  GETTABLE  R3 = R3[K4('SetActive')]
  0010  GETTABLE  R4 = R0[K0('m_lineGo')]
  0011  TESTSET   if R0 then R5   -> -130547
  0012  JMP       (jump)   -> 14
  0013  NOT       R5 = not R0
  0014  CALL      R3 = call(R3, 0 args, 2 rets)
  0015  GETTABUP  R3 = _ENV[K3('UIUtil')]
  0016  GETTABLE  R3 = R3[K4('SetActive')]
  0017  GETTABLE  R4 = R0[K5('gameObject')]
  0018  MOVE      R5 = R0
  0019  CALL      R3 = call(R3, 0 args, 2 rets)
  0020  RETURN    return R0..R-1
; ---------- proto3 [Show] ----------
  ; fn ?  line 96-106 np=6 va=0 ms=11 code=29 consts=8 upvals=1 protos=0
  ;   K[0]=nil
  ;   K[1]='UIUtil'
  ;   K[2]='SetActive'
  ;   K[3]='gameObject'
  ;   K[4]='ActivityTokenTip'
  ;   K[5]='UpdateContent'
  ;   K[6]='CommonTip'
  ;   K[7]='Show'
  ;   upvals: _ENV
  ;   locals: self(0-29), pos(0-29), halfY(0-29), tokenHelper(0-29), descText(0-29), params(0-29)
  0000  EQ        if R1 eq K0(nil)   -> -129278
  0001  JMP       (jump)   -> 4
  0002  EQ        if R0 eq K0(nil)   -> -128764
  0003  JMP       (jump)   -> 5
  0004  RETURN    return R0..R-1
  0005  GETTABUP  R6 = _ENV[K1('UIUtil')]
  0006  GETTABLE  R6 = R6[K2('SetActive')]
  0007  GETTABLE  R7 = R0[K3('gameObject')]
  0008  LOADBOOL  R8 = true
  0009  CALL      R6 = call(R6, 0 args, 2 rets)
  0010  GETTABUP  R6 = _ENV[K4('ActivityTokenTip')]
  0011  GETTABLE  R6 = R6[K5('UpdateContent')]
  0012  MOVE      R7 = R0
  0013  MOVE      R8 = R0
  0014  MOVE      R9 = R0
  0015  MOVE      R10 = R0
  0016  CALL      R6 = call(R6, 0 args, 4 rets)
  0017  GETTABUP  R6 = _ENV[K1('UIUtil')]
  0018  GETTABLE  R6 = R6[K2('SetActive')]
  0019  GETTABLE  R7 = R0[K3('gameObject')]
  0020  LOADBOOL  R8 = false
  0021  CALL      R6 = call(R6, 0 args, 2 rets)
  0022  GETTABUP  R6 = _ENV[K6('CommonTip')]
  0023  GETTABLE  R6 = R6[K7('Show')]
  0024  MOVE      R7 = R0
  0025  MOVE      R8 = R0
  0026  MOVE      R9 = R0
  0027  CALL      R6 = call(R6, 0 args, 3 rets)
  0028  RETURN    return R0..R-1
