# BlockActivity_View_BlockPromptText_1534.luac
; fn @BlockPromptText.lua  line 0-0 np=0 va=1 ms=2 code=24 consts=8 upvals=1 protos=6
;   K[0]='BlockPromptText'
;   K[1]='__index'
;   K[2]='Init'
;   K[3]='OnDestroy'
;   K[4]='GetLeftTextComp'
;   K[5]='GetEffectGo'
;   K[6]='Show'
;   K[7]='GetTotalWidth'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('BlockPromptText')] = R0
0002  GETTABUP  R0 = _ENV[K0('BlockPromptText')]
0003  GETTABUP  R1 = _ENV[K0('BlockPromptText')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  GETTABUP  R0 = _ENV[K0('BlockPromptText')]
0006  CLOSURE   R1 = closure proto0
0007  SETTABLE  R0[K2('Init')] = R1
0008  GETTABUP  R0 = _ENV[K0('BlockPromptText')]
0009  CLOSURE   R1 = closure proto1
0010  SETTABLE  R0[K3('OnDestroy')] = R1
0011  GETTABUP  R0 = _ENV[K0('BlockPromptText')]
0012  CLOSURE   R1 = closure proto2
0013  SETTABLE  R0[K4('GetLeftTextComp')] = R1
0014  GETTABUP  R0 = _ENV[K0('BlockPromptText')]
0015  CLOSURE   R1 = closure proto3
0016  SETTABLE  R0[K5('GetEffectGo')] = R1
0017  GETTABUP  R0 = _ENV[K0('BlockPromptText')]
0018  CLOSURE   R1 = closure proto4
0019  SETTABLE  R0[K6('Show')] = R1
0020  GETTABUP  R0 = _ENV[K0('BlockPromptText')]
0021  CLOSURE   R1 = closure proto5
0022  SETTABLE  R0[K7('GetTotalWidth')] = R1
0023  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 4-34 np=2 va=0 ms=11 code=83 consts=20 upvals=1 protos=0
  ;   K[0]='math'
  ;   K[1]='max'
  ;   K[2]=2
  ;   K[3]='min'
  ;   K[4]=5
  ;   K[5]=1
  ;   K[6]='UIUtil'
  ;   K[7]='SetActive'
  ;   K[8]='GetLeftTextComp'
  ;   K[9]='gameObject'
  ;   K[10]='GetEffectGo'
  ;   K[11]='m_numText'
  ;   K[12]='text'
  ;   K[13]='x'
  ;   K[14]='preferredWidth'
  ;   K[15]=10
  ;   K[16]='m_leftText'
  ;   K[17]='m_totalWidth'
  ;   K[18]='SetAnchoredPosition'
  ;   K[19]='transform'
  ;   upvals: _ENV
  ;   locals: self(0-83), num(0-83), index(9-83), (for index)(12-29), (for limit)(12-29), (for step)(12-29), i(13-28), leftTextComp(37-83), effectGo(45-83), leftWidth(56-83), rightWidth(58-83), space(59-83)
  0000  GETTABUP  R2 = _ENV[K0('math')]
  0001  GETTABLE  R2 = R2[K1('max')]
  0002  LOADK     R3 = K2 2
  0003  GETTABUP  R4 = _ENV[K0('math')]
  0004  GETTABLE  R4 = R4[K3('min')]
  0005  MOVE      R5 = R0
  0006  LOADK     R6 = K4 5
  0007  CALL      R4 = call(R4, -1 args, 2 rets)
  0008  CALL      R2 = call(R2, 1 args, -1 rets)
  0009  LOADK     R3 = K2 2
  0010  LOADK     R4 = K4 5
  0011  LOADK     R5 = K5 1
  0012  FORPREP   forprep R3(sBx=15)   -> 28
  0013  GETTABUP  R7 = _ENV[K6('UIUtil')]
  0014  GETTABLE  R7 = R7[K7('SetActive')]
  0015  SELF      R9 = R0[K8('GetLeftTextComp')] (self)
  0016  MOVE      R10 = R0
  0017  CALL      R8 = call(R8, 1 args, 2 rets)
  0018  GETTABLE  R8 = R8[K9('gameObject')]
  0019  LOADBOOL  R9 = false
  0020  CALL      R7 = call(R7, 0 args, 2 rets)
  0021  GETTABUP  R7 = _ENV[K6('UIUtil')]
  0022  GETTABLE  R7 = R7[K7('SetActive')]
  0023  SELF      R9 = R0[K10('GetEffectGo')] (self)
  0024  MOVE      R10 = R0
  0025  CALL      R8 = call(R8, 1 args, 2 rets)
  0026  LOADBOOL  R9 = false
  0027  CALL      R7 = call(R7, 0 args, 2 rets)
  0028  FORLOOP   forloop R3(sBx=-16)   -> 13
  0029  GETTABUP  R3 = _ENV[K6('UIUtil')]
  0030  GETTABLE  R3 = R3[K7('SetActive')]
  0031  GETTABLE  R4 = R0[K9('gameObject')]
  0032  LOADBOOL  R5 = true
  0033  CALL      R3 = call(R3, 0 args, 2 rets)
  0034  SELF      R4 = R0[K8('GetLeftTextComp')] (self)
  0035  MOVE      R5 = R0
  0036  CALL      R3 = call(R3, 1 args, 2 rets)
  0037  GETTABUP  R4 = _ENV[K6('UIUtil')]
  0038  GETTABLE  R4 = R4[K7('SetActive')]
  0039  GETTABLE  R5 = R3[K9('gameObject')]
  0040  LOADBOOL  R6 = true
  0041  CALL      R4 = call(R4, 0 args, 2 rets)
  0042  SELF      R5 = R0[K10('GetEffectGo')] (self)
  0043  MOVE      R6 = R0
  0044  CALL      R4 = call(R4, 1 args, 2 rets)
  0045  GETTABUP  R5 = _ENV[K6('UIUtil')]
  0046  GETTABLE  R5 = R5[K7('SetActive')]
  0047  MOVE      R6 = R0
  0048  LOADBOOL  R7 = true
  0049  CALL      R5 = call(R5, 0 args, 2 rets)
  0050  GETTABLE  R5 = R0[K11('m_numText')]
  0051  LOADK     R6 = K13 'x'
  0052  MOVE      R7 = R0
  0053  CONCAT    R6 = concat(R6..R6)
  0054  SETTABLE  R5[K12('text')] = R6
  0055  GETTABLE  R5 = R3[K14('preferredWidth')]
  0056  GETTABLE  R6 = R0[K11('m_numText')]
  0057  GETTABLE  R6 = R6[K14('preferredWidth')]
  0058  LOADK     R7 = K15 10
  0059  SETTABLE  R0[K16('m_leftText')] = R3
  0060  ADD       R8 = R6 add R5
  0061  ADD       R8 = R7 add R8
  0062  SETTABLE  R0[K17('m_totalWidth')] = R8
  0063  GETTABUP  R8 = _ENV[K6('UIUtil')]
  0064  GETTABLE  R8 = R8[K18('SetAnchoredPosition')]
  0065  GETTABLE  R9 = R3[K19('transform')]
  0066  ADD       R10 = R7 add R6
  0067  UNM       R10 = unm R0
  0068  DIV       R10 = K2(2) div R10
  0069  CALL      R8 = call(R8, 0 args, 2 rets)
  0070  GETTABUP  R8 = _ENV[K6('UIUtil')]
  0071  GETTABLE  R8 = R8[K18('SetAnchoredPosition')]
  0072  GETTABLE  R9 = R0[K11('m_numText')]
  0073  GETTABLE  R9 = R9[K19('transform')]
  0074  ADD       R10 = R7 add R5
  0075  DIV       R10 = K2(2) div R10
  0076  CALL      R8 = call(R8, 0 args, 2 rets)
  0077  GETTABUP  R8 = _ENV[K6('UIUtil')]
  0078  GETTABLE  R8 = R8[K7('SetActive')]
  0079  GETTABLE  R9 = R0[K9('gameObject')]
  0080  LOADBOOL  R10 = false
  0081  CALL      R8 = call(R8, 0 args, 2 rets)
  0082  RETURN    return R0..R-1
; ---------- proto1 [OnDestroy] ----------
  ; fn ?  line 36-41 np=1 va=0 ms=3 code=8 consts=3 upvals=0 protos=0
  ;   K[0]='m_showSeq'
  ;   K[1]=nil
  ;   K[2]='Kill'
  ;   locals: self(0-8)
  0000  GETTABLE  R1 = R0[K0('m_showSeq')]
  0001  EQ        if R1 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 7
  0003  GETTABLE  R1 = R0[K0('m_showSeq')]
  0004  SELF      R2 = R1[K2('Kill')] (self)
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  SETTABLE  R0[K0('m_showSeq')] = K1(nil)
  0007  RETURN    return R0..R-1
; ---------- proto2 [GetLeftTextComp] ----------
  ; fn ?  line 43-45 np=2 va=0 ms=4 code=6 consts=1 upvals=0 protos=0
  ;   K[0]='m_leftText'
  ;   locals: self(0-6), index(0-6)
  0000  LOADK     R2 = K0 'm_leftText'
  0001  MOVE      R3 = R0
  0002  CONCAT    R2 = concat(R2..R2)
  0003  GETTABLE  R2 = R0[R2]
  0004  RETURN    return R2..R1
  0005  RETURN    return R0..R-1
; ---------- proto3 [GetEffectGo] ----------
  ; fn ?  line 47-49 np=2 va=0 ms=4 code=6 consts=1 upvals=0 protos=0
  ;   K[0]='m_effectGo'
  ;   locals: self(0-6), index(0-6)
  0000  LOADK     R2 = K0 'm_effectGo'
  0001  MOVE      R3 = R0
  0002  CONCAT    R2 = concat(R2..R2)
  0003  GETTABLE  R2 = R0[R2]
  0004  RETURN    return R2..R1
  0005  RETURN    return R0..R-1
; ---------- proto4 [Show] ----------
  ; fn ?  line 51-81 np=2 va=0 ms=9 code=27 consts=11 upvals=1 protos=2
  ;   K[0]=1
  ;   K[1]='DOTween'
  ;   K[2]='Sequence'
  ;   K[3]='AppendInterval'
  ;   K[4]=0.2
  ;   K[5]='AppendCallback'
  ;   K[6]='Append'
  ;   K[7]='transform'
  ;   K[8]='DOScale'
  ;   K[9]='V3Zero'
  ;   K[10]='m_showSeq'
  ;   upvals: _ENV
  ;   locals: self(0-27), duration(0-27), seq(6-27)
  0000  TEST      if not R1 then   -> -131069
  0001  JMP       (jump)   -> 3
  0002  LOADK     R1 = K0 1
  0003  GETTABUP  R2 = _ENV[K1('DOTween')]
  0004  GETTABLE  R2 = R2[K2('Sequence')]
  0005  CALL      R2 = call(R2, 1 args, 0 rets)
  0006  SELF      R4 = R2[K3('AppendInterval')] (self)
  0007  LOADK     R5 = K4 0.2
  0008  CALL      R3 = call(R3, 0 args, 2 rets)
  0009  SELF      R4 = R2[K5('AppendCallback')] (self)
  0010  CLOSURE   R5 = closure proto0
  0011  CALL      R3 = call(R3, 0 args, 2 rets)
  0012  SELF      R4 = R2[K3('AppendInterval')] (self)
  0013  MOVE      R5 = R0
  0014  CALL      R3 = call(R3, 0 args, 2 rets)
  0015  SELF      R4 = R2[K6('Append')] (self)
  0016  GETTABLE  R5 = R0[K7('transform')]
  0017  SELF      R6 = R5[K8('DOScale')] (self)
  0018  GETTABUP  R7 = _ENV[K9('V3Zero')]
  0019  LOADK     R8 = K4 0.2
  0020  CALL      R5 = call(R5, -1 args, 3 rets)
  0021  CALL      R3 = call(R3, 0 args, -1 rets)
  0022  SELF      R4 = R2[K5('AppendCallback')] (self)
  0023  CLOSURE   R5 = closure proto1
  0024  CALL      R3 = call(R3, 0 args, 2 rets)
  0025  SETTABLE  R0[K10('m_showSeq')] = R2
  0026  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 69-71 np=0 va=0 ms=3 code=6 consts=3 upvals=2 protos=0
    ;   K[0]='UIUtil'
    ;   K[1]='SetActive'
    ;   K[2]='gameObject'
    ;   upvals: _ENV, self
    0000  GETTABUP  R0 = _ENV[K0('UIUtil')]
    0001  GETTABLE  R0 = R0[K1('SetActive')]
    0002  GETTABUP  R1 = self[K2('gameObject')]
    0003  LOADBOOL  R2 = true
    0004  CALL      R0 = call(R0, 0 args, 2 rets)
    0005  RETURN    return R0..R-1
  ; ---------- proto1 [m_showSeq] ----------
    ; fn ?  line 74-78 np=0 va=0 ms=3 code=11 consts=7 upvals=2 protos=0
    ;   K[0]='UIUtil'
    ;   K[1]='SetActive'
    ;   K[2]='gameObject'
    ;   K[3]='AddressableLoader'
    ;   K[4]='Destroy'
    ;   K[5]='m_showSeq'
    ;   K[6]=nil
    ;   upvals: _ENV, self
    0000  GETTABUP  R0 = _ENV[K0('UIUtil')]
    0001  GETTABLE  R0 = R0[K1('SetActive')]
    0002  GETTABUP  R1 = self[K2('gameObject')]
    0003  LOADBOOL  R2 = false
    0004  CALL      R0 = call(R0, 0 args, 2 rets)
    0005  GETTABUP  R0 = _ENV[K3('AddressableLoader')]
    0006  GETTABLE  R0 = R0[K4('Destroy')]
    0007  GETTABUP  R1 = self[K2('gameObject')]
    0008  CALL      R0 = call(R0, 0 args, 1 rets)
    0009  SETTABUP  self[K5('m_showSeq')] = K6(nil)
    0010  RETURN    return R0..R-1
; ---------- proto5 [GetTotalWidth] ----------
  ; fn ?  line 83-85 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_totalWidth'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_totalWidth')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
