# AlbumActivity_View_AlbumJokerHelpWindow_1160.luac
; fn @AlbumJokerHelpWindow.lua  line 0-0 np=0 va=1 ms=3 code=15 consts=8 upvals=1 protos=1
;   K[0]='AlbumJokerHelpWindow'
;   K[1]='setmetatable'
;   K[2]='windowMaskAlpha'
;   K[3]='EWindowMaskAlpha'
;   K[4]='Dark'
;   K[5]='AlbumActivityBaseWindow'
;   K[6]='__index'
;   K[7]='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('AlbumJokerHelpWindow')] = R0
0008  GETTABUP  R0 = _ENV[K0('AlbumJokerHelpWindow')]
0009  GETTABUP  R1 = _ENV[K0('AlbumJokerHelpWindow')]
0010  SETTABLE  R0[K6('__index')] = R1
0011  GETTABUP  R0 = _ENV[K0('AlbumJokerHelpWindow')]
0012  CLOSURE   R1 = closure proto0
0013  SETTABLE  R0[K7('Init')] = R1
0014  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 6-24 np=3 va=0 ms=9 code=52 consts=24 upvals=1 protos=0
  ;   K[0]='AlbumActivityBaseWindow'
  ;   K[1]='Init'
  ;   K[2]='m_model'
  ;   K[3]='GetGachaCardsByStar'
  ;   K[4]='AlbumStarType'
  ;   K[5]='star5'
  ;   K[6]='Table'
  ;   K[7]='IsEmpty'
  ;   K[8]='SpriteUtil'
  ;   K[9]='SetImage'
  ;   K[10]='m_cardImg'
  ;   K[11]=1
  ;   K[12]='LimitAlbumModel'
  ;   K[13]='GetActiveModel'
  ;   K[14]=nil
  ;   K[15]='GetActivityDefinition'
  ;   K[16]='JokerHelpImgName'
  ;   K[17]='m_backImg'
  ;   K[18]='m_activityDefinition'
  ;   K[19]='UseSpecialCardSprite'
  ;   K[20]='sprite'
  ;   K[21]='m_specialBackSprite'
  ;   K[22]='m_frameImg'
  ;   K[23]='m_specialFrameSprite'
  ;   upvals: _ENV
  ;   locals: self(0-52), activityType(0-52), bUserClick(0-52), arrCards(11-52), limitAlbumModel(26-52)
  0000  GETTABUP  R3 = _ENV[K0('AlbumActivityBaseWindow')]
  0001  GETTABLE  R3 = R3[K1('Init')]
  0002  MOVE      R4 = R0
  0003  MOVE      R5 = R0
  0004  MOVE      R6 = R0
  0005  CALL      R3 = call(R3, 0 args, 3 rets)
  0006  GETTABLE  R3 = R0[K2('m_model')]
  0007  SELF      R4 = R3[K3('GetGachaCardsByStar')] (self)
  0008  GETTABUP  R5 = _ENV[K4('AlbumStarType')]
  0009  GETTABLE  R5 = R5[K5('star5')]
  0010  CALL      R3 = call(R3, 1 args, 2 rets)
  0011  GETTABUP  R4 = _ENV[K6('Table')]
  0012  GETTABLE  R4 = R4[K7('IsEmpty')]
  0013  MOVE      R5 = R0
  0014  CALL      R4 = call(R4, 1 args, 1 rets)
  0015  TEST      if not R4 then   -> -131054
  0016  JMP       (jump)   -> 23
  0017  GETTABUP  R4 = _ENV[K8('SpriteUtil')]
  0018  GETTABLE  R4 = R4[K9('SetImage')]
  0019  GETTABLE  R5 = R0[K10('m_cardImg')]
  0020  GETTABLE  R6 = R3[K11(1)]
  0021  LOADBOOL  R7 = true
  0022  CALL      R4 = call(R4, 0 args, 3 rets)
  0023  GETTABUP  R4 = _ENV[K12('LimitAlbumModel')]
  0024  GETTABLE  R4 = R4[K13('GetActiveModel')]
  0025  CALL      R4 = call(R4, 1 args, 0 rets)
  0026  EQ        if R1 eq K14(nil)   -> -128726
  0027  JMP       (jump)   -> 41
  0028  SELF      R6 = R4[K15('GetActivityDefinition')] (self)
  0029  CALL      R5 = call(R5, 1 args, 1 rets)
  0030  GETTABLE  R5 = R5[K16('JokerHelpImgName')]
  0031  EQ        if R1 eq K14(nil)   -> -128209
  0032  JMP       (jump)   -> 41
  0033  GETTABUP  R5 = _ENV[K8('SpriteUtil')]
  0034  GETTABLE  R5 = R5[K9('SetImage')]
  0035  GETTABLE  R6 = R0[K17('m_backImg')]
  0036  SELF      R8 = R4[K15('GetActivityDefinition')] (self)
  0037  CALL      R7 = call(R7, 1 args, 1 rets)
  0038  GETTABLE  R7 = R7[K16('JokerHelpImgName')]
  0039  LOADBOOL  R8 = true
  0040  CALL      R5 = call(R5, 0 args, 3 rets)
  0041  GETTABLE  R5 = R0[K18('m_activityDefinition')]
  0042  GETTABLE  R5 = R5[K19('UseSpecialCardSprite')]
  0043  TEST      if not R5 then   -> -131027
  0044  JMP       (jump)   -> 51
  0045  GETTABLE  R5 = R0[K17('m_backImg')]
  0046  GETTABLE  R6 = R0[K21('m_specialBackSprite')]
  0047  SETTABLE  R5[K20('sprite')] = R6
  0048  GETTABLE  R5 = R0[K22('m_frameImg')]
  0049  GETTABLE  R6 = R0[K23('m_specialFrameSprite')]
  0050  SETTABLE  R5[K20('sprite')] = R6
  0051  RETURN    return R0..R-1
