# AlbumActivity_View_AlbumActivityHelpWindow_1134.luac
; fn @AlbumActivityHelpWindow.lua  line 0-0 np=0 va=1 ms=3 code=23 consts=10 upvals=1 protos=2
;   K[0]='AlbumActivityHelpWindow'
;   K[1]='setmetatable'
;   K[2]='windowMaskAlpha'
;   K[3]='EWindowMaskAlpha'
;   K[4]='Dark'
;   K[5]='AlbumActivityBaseWindow'
;   K[6]='__index'
;   K[7]='Init'
;   K[8]='AlbumPackInfo'
;   K[9]='Init'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  GETTABUP  R2 = _ENV[K3('EWindowMaskAlpha')]
0003  GETTABLE  R2 = R2[K4('Dark')]
0004  SETTABLE  R1[K2('windowMaskAlpha')] = R2
0005  GETTABUP  R2 = _ENV[K5('AlbumActivityBaseWindow')]
0006  CALL      R0 = call(R0, 1 args, 2 rets)
0007  SETTABUP  _ENV[K0('AlbumActivityHelpWindow')] = R0
0008  GETTABUP  R0 = _ENV[K0('AlbumActivityHelpWindow')]
0009  GETTABUP  R1 = _ENV[K0('AlbumActivityHelpWindow')]
0010  SETTABLE  R0[K6('__index')] = R1
0011  GETTABUP  R0 = _ENV[K0('AlbumActivityHelpWindow')]
0012  CLOSURE   R1 = closure proto0
0013  SETTABLE  R0[K7('Init')] = R1
0014  NEWTABLE  R0 = {} (0 items)
0015  SETTABUP  _ENV[K8('AlbumPackInfo')] = R0
0016  GETTABUP  R0 = _ENV[K8('AlbumPackInfo')]
0017  GETTABUP  R1 = _ENV[K8('AlbumPackInfo')]
0018  SETTABLE  R0[K6('__index')] = R1
0019  GETTABUP  R0 = _ENV[K8('AlbumPackInfo')]
0020  CLOSURE   R1 = closure proto1
0021  SETTABLE  R0[K9('Init')] = R1
0022  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 8-37 np=2 va=0 ms=12 code=104 consts=31 upvals=1 protos=1
  ;   K[0]='AlbumActivityBaseWindow'
  ;   K[1]='Init'
  ;   K[2]='m_activityId'
  ;   K[3]='m_model'
  ;   K[4]='GetId'
  ;   K[5]='GetRewardBadgeId'
  ;   K[6]='UIUtil'
  ;   K[7]='IsEmptyComponent'
  ;   K[8]='m_userAvatar'
  ;   K[9]='SetActive'
  ;   K[10]='gameObject'
  ;   K[11]=nil
  ;   K[12]='SetAvatar'
  ;   K[13]='EAvatarFrame'
  ;   K[14]='Normal'
  ;   K[15]='GM'
  ;   K[16]='UserProfileModel'
  ;   K[17]='GetAvatar'
  ;   K[18]='m_noBadgeStep4Go'
  ;   K[19]='m_withBadgeStep4Go'
  ;   K[20]='m_badgeRoot'
  ;   K[21]='DataResource'
  ;   K[22]='UIPrefabConfig'
  ;   K[23]='GetConfig'
  ;   K[24]='UIPrefabConfigName'
  ;   K[25]='ResourceLoader'
  ;   K[26]='LoadPrefab'
  ;   K[27]='V3Zero'
  ;   K[28]='m_badgeAnimationController'
  ;   K[29]='m_winAnimator'
  ;   K[30]='runtimeAnimatorController'
  ;   upvals: _ENV
  ;   locals: self(0-104), activityType(0-104), badgeId(13-104), res(85-95)
  0000  GETTABUP  R2 = _ENV[K0('AlbumActivityBaseWindow')]
  0001  GETTABLE  R2 = R2[K1('Init')]
  0002  MOVE      R3 = R0
  0003  MOVE      R4 = R0
  0004  LOADBOOL  R5 = false
  0005  CALL      R2 = call(R2, 0 args, 3 rets)
  0006  GETTABLE  R2 = R0[K3('m_model')]
  0007  SELF      R3 = R2[K4('GetId')] (self)
  0008  CALL      R2 = call(R2, 1 args, 1 rets)
  0009  SETTABLE  R0[K2('m_activityId')] = R2
  0010  GETTABLE  R2 = R0[K3('m_model')]
  0011  SELF      R3 = R2[K5('GetRewardBadgeId')] (self)
  0012  CALL      R2 = call(R2, 1 args, 1 rets)
  0013  GETTABUP  R3 = _ENV[K6('UIUtil')]
  0014  GETTABLE  R3 = R3[K7('IsEmptyComponent')]
  0015  GETTABLE  R4 = R0[K8('m_userAvatar')]
  0016  CALL      R3 = call(R3, 1 args, 1 rets)
  0017  TEST      if not R3 then   -> -131052
  0018  JMP       (jump)   -> 42
  0019  GETTABUP  R3 = _ENV[K6('UIUtil')]
  0020  GETTABLE  R3 = R3[K9('SetActive')]
  0021  GETTABLE  R4 = R0[K8('m_userAvatar')]
  0022  GETTABLE  R4 = R4[K10('gameObject')]
  0023  EQ        if R0 eq K11(nil)   -> -129756
  0024  JMP       (jump)   -> 26
  0025  LOADBOOL  R5 = false
  0026  LOADBOOL  R5 = true
  0027  CALL      R3 = call(R3, 0 args, 2 rets)
  0028  TEST      if not R2 then   -> -131042
  0029  JMP       (jump)   -> 42
  0030  GETTABLE  R3 = R0[K8('m_userAvatar')]
  0031  SELF      R4 = R3[K12('SetAvatar')] (self)
  0032  GETTABUP  R5 = _ENV[K13('EAvatarFrame')]
  0033  GETTABLE  R5 = R5[K14('Normal')]
  0034  GETTABUP  R6 = _ENV[K15('GM')]
  0035  GETTABLE  R6 = R6[K16('UserProfileModel')]
  0036  SELF      R7 = R6[K17('GetAvatar')] (self)
  0037  CALL      R6 = call(R6, 1 args, 1 rets)
  0038  MOVE      R7 = R0
  0039  LOADNIL   R8..R8 = nil
  0040  LOADBOOL  R9 = true
  0041  CALL      R3 = call(R3, 0 args, 6 rets)
  0042  GETTABUP  R3 = _ENV[K6('UIUtil')]
  0043  GETTABLE  R3 = R3[K7('IsEmptyComponent')]
  0044  GETTABLE  R4 = R0[K18('m_noBadgeStep4Go')]
  0045  CALL      R3 = call(R3, 1 args, 1 rets)
  0046  TEST      if not R3 then   -> -131023
  0047  JMP       (jump)   -> 56
  0048  GETTABUP  R3 = _ENV[K6('UIUtil')]
  0049  GETTABLE  R3 = R3[K9('SetActive')]
  0050  GETTABLE  R4 = R0[K18('m_noBadgeStep4Go')]
  0051  EQ        if R1 eq K11(nil)   -> -129728
  0052  JMP       (jump)   -> 54
  0053  LOADBOOL  R5 = false
  0054  LOADBOOL  R5 = true
  0055  CALL      R3 = call(R3, 0 args, 2 rets)
  0056  GETTABUP  R3 = _ENV[K6('UIUtil')]
  0057  GETTABLE  R3 = R3[K7('IsEmptyComponent')]
  0058  GETTABLE  R4 = R0[K19('m_withBadgeStep4Go')]
  0059  CALL      R3 = call(R3, 1 args, 1 rets)
  0060  TEST      if not R3 then   -> -131009
  0061  JMP       (jump)   -> 70
  0062  GETTABUP  R3 = _ENV[K6('UIUtil')]
  0063  GETTABLE  R3 = R3[K9('SetActive')]
  0064  GETTABLE  R4 = R0[K19('m_withBadgeStep4Go')]
  0065  EQ        if R0 eq K11(nil)   -> -129714
  0066  JMP       (jump)   -> 68
  0067  LOADBOOL  R5 = false
  0068  LOADBOOL  R5 = true
  0069  CALL      R3 = call(R3, 0 args, 2 rets)
  0070  TEST      if not R2 then   -> -131000
  0071  JMP       (jump)   -> 95
  0072  GETTABUP  R3 = _ENV[K6('UIUtil')]
  0073  GETTABLE  R3 = R3[K7('IsEmptyComponent')]
  0074  GETTABLE  R4 = R0[K20('m_badgeRoot')]
  0075  CALL      R3 = call(R3, 1 args, 1 rets)
  0076  TEST      if not R3 then   -> -130993
  0077  JMP       (jump)   -> 95
  0078  GETTABUP  R3 = _ENV[K15('GM')]
  0079  GETTABLE  R3 = R3[K21('DataResource')]
  0080  GETTABLE  R3 = R3[K22('UIPrefabConfig')]
  0081  SELF      R4 = R3[K23('GetConfig')] (self)
  0082  GETTABUP  R5 = _ENV[K24('UIPrefabConfigName')]
  0083  GETTABLE  R5 = R5[R2]
  0084  CALL      R3 = call(R3, 1 args, 2 rets)
  0085  GETTABUP  R4 = _ENV[K15('GM')]
  0086  GETTABLE  R4 = R4[K25('ResourceLoader')]
  0087  SELF      R5 = R4[K26('LoadPrefab')] (self)
  0088  MOVE      R6 = R0
  0089  GETTABLE  R7 = R0[K20('m_badgeRoot')]
  0090  GETTABUP  R8 = _ENV[K27('V3Zero')]
  0091  CLOSURE   R9 = closure proto0
  0092  LOADNIL   R10..R10 = nil
  0093  LOADBOOL  R11 = true
  0094  CALL      R4 = call(R4, 0 args, 7 rets)
  0095  TEST      if not R2 then   -> -130975
  0096  JMP       (jump)   -> 103
  0097  GETTABLE  R3 = R0[K28('m_badgeAnimationController')]
  0098  TEST      if not R3 then   -> -130972
  0099  JMP       (jump)   -> 103
  0100  GETTABLE  R3 = R0[K29('m_winAnimator')]
  0101  GETTABLE  R4 = R0[K28('m_badgeAnimationController')]
  0102  SETTABLE  R3[K30('runtimeAnimatorController')] = R4
  0103  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 27-32 np=1 va=0 ms=5 code=8 consts=2 upvals=0 protos=0
    ;   K[0]='GetLuaTable'
    ;   K[1]='Init'
    ;   locals: go(0-8), badgeView(2-8)
    0000  SELF      R2 = R0[K0('GetLuaTable')] (self)
    0001  CALL      R1 = call(R1, 1 args, 1 rets)
    0002  TEST      if not R1 then   -> -131068
    0003  JMP       (jump)   -> 7
    0004  SELF      R3 = R1[K1('Init')] (self)
    0005  LOADBOOL  R4 = false
    0006  CALL      R2 = call(R2, 0 args, 2 rets)
    0007  RETURN    return R0..R-1
; ---------- proto1 [Init] ----------
  ; fn ?  line 41-52 np=3 va=0 ms=11 code=34 consts=11 upvals=0 protos=0
  ;   K[0]='GetCardTipInfo'
  ;   K[1]=nil
  ;   K[2]='m_numText'
  ;   K[3]='text'
  ;   K[4]='X'
  ;   K[5]='count'
  ;   K[6]=1
  ;   K[7]=5
  ;   K[8]='m_starGo'
  ;   K[9]='SetActive'
  ;   K[10]='star'
  ;   locals: self(0-34), packId(0-34), model(0-34), cardInfo(3-34), (for index)(14-33), (for limit)(14-33), (for step)(14-33), i(15-32)
  0000  SELF      R4 = R2[K0('GetCardTipInfo')] (self)
  0001  MOVE      R5 = R0
  0002  CALL      R3 = call(R3, 1 args, 2 rets)
  0003  EQ        if R0 eq K1(nil)   -> -129274
  0004  JMP       (jump)   -> 6
  0005  RETURN    return R0..R-1
  0006  GETTABLE  R4 = R0[K2('m_numText')]
  0007  LOADK     R5 = K4 'X'
  0008  GETTABLE  R6 = R3[K5('count')]
  0009  CONCAT    R5 = concat(R5..R5)
  0010  SETTABLE  R4[K3('text')] = R5
  0011  LOADK     R4 = K6 1
  0012  LOADK     R5 = K7 5
  0013  LOADK     R6 = K6 1
  0014  FORPREP   forprep R4(sBx=17)   -> 32
  0015  LOADK     R8 = K8 'm_starGo'
  0016  MOVE      R9 = R0
  0017  CONCAT    R8 = concat(R8..R8)
  0018  GETTABLE  R8 = R0[R8]
  0019  TEST      if not R8 then   -> -131051
  0020  JMP       (jump)   -> 32
  0021  LOADK     R8 = K8 'm_starGo'
  0022  MOVE      R9 = R0
  0023  CONCAT    R8 = concat(R8..R8)
  0024  GETTABLE  R8 = R0[R8]
  0025  SELF      R9 = R8[K9('SetActive')] (self)
  0026  GETTABLE  R10 = R3[K10('star')]
  0027  LE        if R1 le R10   -> -127449
  0028  JMP       (jump)   -> 30
  0029  LOADBOOL  R10 = false
  0030  LOADBOOL  R10 = true
  0031  CALL      R8 = call(R8, 0 args, 2 rets)
  0032  FORLOOP   forloop R4(sBx=-18)   -> 15
  0033  RETURN    return R0..R-1
