# AlbumActivity_View_AlbumActivityRecyleWindow_1135.luac
; fn @AlbumActivityRecyleWindow.lua  line 0-0 np=0 va=1 ms=4 code=107 consts=38 upvals=1 protos=20
;   K[0]='AlbumArrStarBoxSpriteName'
;   K[1]='ImageFileConfigName'
;   K[2]='album_blue_gift'
;   K[3]='album_purple_gift'
;   K[4]='album_red_gift'
;   K[5]='AlbumActivityRecyleSimpleButton'
;   K[6]='setmetatable'
;   K[7]='SimpleButton'
;   K[8]='__index'
;   K[9]='OnBtnClicked'
;   K[10]='AlbumActivityRecyleBuyCell'
;   K[11]='Init'
;   K[12]='UpdateContent'
;   K[13]='UpdatePerSecond'
;   K[14]='OnGiftBox'
;   K[15]='BuyGemCdTime'
;   K[16]='Buy'
;   K[17]='GetShowRewardTrans'
;   K[18]='AlbumActivityRecyleWindow'
;   K[19]='bAutoBI'
;   K[20]=false
;   K[21]='canClickWindowMask'
;   K[22]=true
;   K[23]='AlbumActivityBaseWindow'
;   K[24]='OnDestroy'
;   K[25]='InitList'
;   K[26]='UpdateContent'
;   K[27]='OnGiftBox'
;   K[28]='BuySuccess'
;   K[29]='AlbumActivityCardTable'
;   K[30]='Init'
;   K[31]='AlbumActivitySelectCardWindow'
;   K[32]='bCloseWhenLimitAlbumStateChanged'
;   K[33]='AlbumActivityBaseWindow'
;   K[34]='Init'
;   K[35]='GetListItemByIndex'
;   K[36]='OnDestroy'
;   K[37]='OnBtnOk'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (3 items)
0001  GETTABUP  R1 = _ENV[K1('ImageFileConfigName')]
0002  GETTABLE  R1 = R1[K2('album_blue_gift')]
0003  GETTABUP  R2 = _ENV[K1('ImageFileConfigName')]
0004  GETTABLE  R2 = R2[K3('album_purple_gift')]
0005  GETTABUP  R3 = _ENV[K1('ImageFileConfigName')]
0006  GETTABLE  R3 = R3[K4('album_red_gift')]
0007  SETLIST   setlist R0[B=1,C=3]
0008  SETTABUP  _ENV[K0('AlbumArrStarBoxSpriteName')] = R0
0009  GETTABUP  R0 = _ENV[K6('setmetatable')]
0010  NEWTABLE  R1 = {} (0 items)
0011  GETTABUP  R2 = _ENV[K7('SimpleButton')]
0012  CALL      R0 = call(R0, 1 args, 2 rets)
0013  SETTABUP  _ENV[K5('AlbumActivityRecyleSimpleButton')] = R0
0014  GETTABUP  R0 = _ENV[K5('AlbumActivityRecyleSimpleButton')]
0015  GETTABUP  R1 = _ENV[K5('AlbumActivityRecyleSimpleButton')]
0016  SETTABLE  R0[K8('__index')] = R1
0017  GETTABUP  R0 = _ENV[K5('AlbumActivityRecyleSimpleButton')]
0018  CLOSURE   R1 = closure proto0
0019  SETTABLE  R0[K9('OnBtnClicked')] = R1
0020  NEWTABLE  R0 = {} (0 items)
0021  SETTABUP  _ENV[K10('AlbumActivityRecyleBuyCell')] = R0
0022  GETTABUP  R0 = _ENV[K10('AlbumActivityRecyleBuyCell')]
0023  GETTABUP  R1 = _ENV[K10('AlbumActivityRecyleBuyCell')]
0024  SETTABLE  R0[K8('__index')] = R1
0025  GETTABUP  R0 = _ENV[K10('AlbumActivityRecyleBuyCell')]
0026  CLOSURE   R1 = closure proto1
0027  SETTABLE  R0[K11('Init')] = R1
0028  GETTABUP  R0 = _ENV[K10('AlbumActivityRecyleBuyCell')]
0029  CLOSURE   R1 = closure proto2
0030  SETTABLE  R0[K12('UpdateContent')] = R1
0031  GETTABUP  R0 = _ENV[K10('AlbumActivityRecyleBuyCell')]
0032  CLOSURE   R1 = closure proto3
0033  SETTABLE  R0[K13('UpdatePerSecond')] = R1
0034  GETTABUP  R0 = _ENV[K10('AlbumActivityRecyleBuyCell')]
0035  CLOSURE   R1 = closure proto4
0036  SETTABLE  R0[K14('OnGiftBox')] = R1
0037  GETTABUP  R0 = _ENV[K10('AlbumActivityRecyleBuyCell')]
0038  CLOSURE   R1 = closure proto5
0039  SETTABLE  R0[K9('OnBtnClicked')] = R1
0040  GETTABUP  R0 = _ENV[K10('AlbumActivityRecyleBuyCell')]
0041  CLOSURE   R1 = closure proto6
0042  SETTABLE  R0[K15('BuyGemCdTime')] = R1
0043  GETTABUP  R0 = _ENV[K10('AlbumActivityRecyleBuyCell')]
0044  CLOSURE   R1 = closure proto7
0045  SETTABLE  R0[K16('Buy')] = R1
0046  GETTABUP  R0 = _ENV[K10('AlbumActivityRecyleBuyCell')]
0047  CLOSURE   R1 = closure proto8
0048  SETTABLE  R0[K17('GetShowRewardTrans')] = R1
0049  GETTABUP  R0 = _ENV[K6('setmetatable')]
0050  NEWTABLE  R1 = {} (0 items)
0051  SETTABLE  R1[K19('bAutoBI')] = K20(false)
0052  SETTABLE  R1[K21('canClickWindowMask')] = K22(true)
0053  GETTABUP  R2 = _ENV[K23('AlbumActivityBaseWindow')]
0054  CALL      R0 = call(R0, 1 args, 2 rets)
0055  SETTABUP  _ENV[K18('AlbumActivityRecyleWindow')] = R0
0056  GETTABUP  R0 = _ENV[K18('AlbumActivityRecyleWindow')]
0057  GETTABUP  R1 = _ENV[K18('AlbumActivityRecyleWindow')]
0058  SETTABLE  R0[K8('__index')] = R1
0059  GETTABUP  R0 = _ENV[K18('AlbumActivityRecyleWindow')]
0060  CLOSURE   R1 = closure proto9
0061  SETTABLE  R0[K11('Init')] = R1
0062  GETTABUP  R0 = _ENV[K18('AlbumActivityRecyleWindow')]
0063  CLOSURE   R1 = closure proto10
0064  SETTABLE  R0[K24('OnDestroy')] = R1
0065  GETTABUP  R0 = _ENV[K18('AlbumActivityRecyleWindow')]
0066  CLOSURE   R1 = closure proto11
0067  SETTABLE  R0[K25('InitList')] = R1
0068  GETTABUP  R0 = _ENV[K18('AlbumActivityRecyleWindow')]
0069  CLOSURE   R1 = closure proto12
0070  SETTABLE  R0[K26('UpdateContent')] = R1
0071  GETTABUP  R0 = _ENV[K18('AlbumActivityRecyleWindow')]
0072  CLOSURE   R1 = closure proto13
0073  SETTABLE  R0[K27('OnGiftBox')] = R1
0074  GETTABUP  R0 = _ENV[K18('AlbumActivityRecyleWindow')]
0075  CLOSURE   R1 = closure proto14
0076  SETTABLE  R0[K28('BuySuccess')] = R1
0077  NEWTABLE  R0 = {} (0 items)
0078  SETTABUP  _ENV[K29('AlbumActivityCardTable')] = R0
0079  GETTABUP  R0 = _ENV[K29('AlbumActivityCardTable')]
0080  GETTABUP  R1 = _ENV[K29('AlbumActivityCardTable')]
0081  SETTABLE  R0[K8('__index')] = R1
0082  GETTABUP  R0 = _ENV[K29('AlbumActivityCardTable')]
0083  CLOSURE   R1 = closure proto15
0084  SETTABLE  R0[K30('Init')] = R1
0085  GETTABUP  R0 = _ENV[K6('setmetatable')]
0086  NEWTABLE  R1 = {} (0 items)
0087  SETTABLE  R1[K32('bCloseWhenLimitAlbumStateChanged')] = K22(true)
0088  GETTABUP  R2 = _ENV[K33('AlbumActivityBaseWindow')]
0089  CALL      R0 = call(R0, 1 args, 2 rets)
0090  SETTABUP  _ENV[K31('AlbumActivitySelectCardWindow')] = R0
0091  GETTABUP  R0 = _ENV[K31('AlbumActivitySelectCardWindow')]
0092  GETTABUP  R1 = _ENV[K31('AlbumActivitySelectCardWindow')]
0093  SETTABLE  R0[K8('__index')] = R1
0094  GETTABUP  R0 = _ENV[K31('AlbumActivitySelectCardWindow')]
0095  CLOSURE   R1 = closure proto16
0096  SETTABLE  R0[K34('Init')] = R1
0097  GETTABUP  R0 = _ENV[K31('AlbumActivitySelectCardWindow')]
0098  CLOSURE   R1 = closure proto17
0099  SETTABLE  R0[K35('GetListItemByIndex')] = R1
0100  GETTABUP  R0 = _ENV[K31('AlbumActivitySelectCardWindow')]
0101  CLOSURE   R1 = closure proto18
0102  SETTABLE  R0[K36('OnDestroy')] = R1
0103  GETTABUP  R0 = _ENV[K31('AlbumActivitySelectCardWindow')]
0104  CLOSURE   R1 = closure proto19
0105  SETTABLE  R0[K37('OnBtnOk')] = R1
0106  RETURN    return R0..R-1
; ---------- proto0 [OnBtnClicked] ----------
  ; fn ?  line 11-20 np=1 va=0 ms=4 code=15 consts=6 upvals=1 protos=0
  ;   K[0]='m_bUIEnabled'
  ;   K[1]='GM'
  ;   K[2]='UIManager'
  ;   K[3]='ShowPromptWithKey'
  ;   K[4]='album_recycle_tip'
  ;   K[5]='m_callback'
  ;   upvals: _ENV
  ;   locals: self(0-15)
  0000  GETTABLE  R1 = R0[K0('m_bUIEnabled')]
  0001  TEST      if not R1 then   -> -131068
  0002  JMP       (jump)   -> 9
  0003  GETTABUP  R1 = _ENV[K1('GM')]
  0004  GETTABLE  R1 = R1[K2('UIManager')]
  0005  SELF      R2 = R1[K3('ShowPromptWithKey')] (self)
  0006  LOADK     R3 = K4 'album_recycle_tip'
  0007  CALL      R1 = call(R1, 0 args, 2 rets)
  0008  RETURN    return R0..R-1
  0009  GETTABLE  R1 = R0[K5('m_callback')]
  0010  TEST      if not R1 then   -> -131060
  0011  JMP       (jump)   -> 14
  0012  GETTABLE  R1 = R0[K5('m_callback')]
  0013  CALL      R1 = call(R1, 0 args, 0 rets)
  0014  RETURN    return R0..R-1
; ---------- proto1 [Init] ----------
  ; fn ?  line 25-41 np=5 va=0 ms=9 code=41 consts=19 upvals=1 protos=0
  ;   K[0]='m_model'
  ;   K[1]='m_window'
  ;   K[2]='m_cfg'
  ;   K[3]='m_index'
  ;   K[4]='m_gemText'
  ;   K[5]='text'
  ;   K[6]='GetSkipCycleGem'
  ;   K[7]='m_starText'
  ;   K[8]='tostring'
  ;   K[9]='star'
  ;   K[10]='SpriteUtil'
  ;   K[11]='SetImage'
  ;   K[12]='m_BoxImg'
  ;   K[13]='AlbumArrStarBoxSpriteName'
  ;   K[14]='m_BoxMaskImg'
  ;   K[15]='_mask'
  ;   K[16]='UpdateContent'
  ;   K[17]='SetStarShopRedTipsLevel'
  ;   K[18]='GetCanExchangeMaxRecycleIndex'
  ;   upvals: _ENV
  ;   locals: self(0-41), model(0-41), window(0-41), cfg(0-41), index(0-41)
  0000  SETTABLE  R0[K0('m_model')] = R1
  0001  SETTABLE  R0[K1('m_window')] = R2
  0002  SETTABLE  R0[K2('m_cfg')] = R3
  0003  SETTABLE  R0[K3('m_index')] = R4
  0004  GETTABLE  R5 = R0[K4('m_gemText')]
  0005  GETTABLE  R6 = R0[K0('m_model')]
  0006  SELF      R7 = R6[K6('GetSkipCycleGem')] (self)
  0007  MOVE      R8 = R0
  0008  CALL      R6 = call(R6, 1 args, 2 rets)
  0009  SETTABLE  R5[K5('text')] = R6
  0010  GETTABLE  R5 = R0[K7('m_starText')]
  0011  GETTABUP  R6 = _ENV[K8('tostring')]
  0012  GETTABLE  R7 = R0[K2('m_cfg')]
  0013  GETTABLE  R7 = R7[K9('star')]
  0014  CALL      R6 = call(R6, 1 args, 1 rets)
  0015  SETTABLE  R5[K5('text')] = R6
  0016  GETTABUP  R5 = _ENV[K10('SpriteUtil')]
  0017  GETTABLE  R5 = R5[K11('SetImage')]
  0018  GETTABLE  R6 = R0[K12('m_BoxImg')]
  0019  GETTABUP  R7 = _ENV[K13('AlbumArrStarBoxSpriteName')]
  0020  GETTABLE  R7 = R7[R4]
  0021  LOADBOOL  R8 = true
  0022  CALL      R5 = call(R5, 0 args, 3 rets)
  0023  GETTABUP  R5 = _ENV[K10('SpriteUtil')]
  0024  GETTABLE  R5 = R5[K11('SetImage')]
  0025  GETTABLE  R6 = R0[K14('m_BoxMaskImg')]
  0026  GETTABUP  R7 = _ENV[K13('AlbumArrStarBoxSpriteName')]
  0027  GETTABLE  R7 = R7[R4]
  0028  LOADK     R8 = K15 '_mask'
  0029  CONCAT    R7 = concat(R7..R7)
  0030  LOADBOOL  R8 = true
  0031  CALL      R5 = call(R5, 0 args, 3 rets)
  0032  SELF      R6 = R0[K16('UpdateContent')] (self)
  0033  CALL      R5 = call(R5, 0 args, 1 rets)
  0034  GETTABLE  R5 = R0[K0('m_model')]
  0035  SELF      R6 = R5[K17('SetStarShopRedTipsLevel')] (self)
  0036  GETTABLE  R7 = R0[K0('m_model')]
  0037  SELF      R8 = R7[K18('GetCanExchangeMaxRecycleIndex')] (self)
  0038  CALL      R7 = call(R7, -1 args, 1 rets)
  0039  CALL      R5 = call(R5, 0 args, -1 rets)
  0040  RETURN    return R0..R-1
; ---------- proto2 [UpdateContent] ----------
  ; fn ?  line 43-75 np=1 va=0 ms=7 code=100 consts=23 upvals=1 protos=0
  ;   K[0]='m_model'
  ;   K[1]='GetCurrentCycleInfo'
  ;   K[2]='tostring'
  ;   K[3]='m_index'
  ;   K[4]='UIUtil'
  ;   K[5]='SetActive'
  ;   K[6]='m_BoxRectTrans'
  ;   K[7]='gameObject'
  ;   K[8]='m_GemRectTrans'
  ;   K[9]='m_starRectTrans'
  ;   K[10]='m_GreenSimpleButtonLuaTable'
  ;   K[11]='SetUIEnabled'
  ;   K[12]='GetSurplusCardStarIncludeLimit'
  ;   K[13]=nil
  ;   K[14]='GM'
  ;   K[15]='GameModel'
  ;   K[16]='GetServerTime'
  ;   K[17]='m_TimeText'
  ;   K[18]='m_time_bgRectTrans'
  ;   K[19]='m_cfg'
  ;   K[20]='star'
  ;   K[21]='m_BoxMaskImg'
  ;   K[22]='UpdatePerSecond'
  ;   upvals: _ENV
  ;   locals: self(0-100), currentCycleInfo(3-100), currentEndTime(7-100), CurStar(32-100)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  SELF      R2 = R1[K1('GetCurrentCycleInfo')] (self)
  0002  CALL      R1 = call(R1, 1 args, 1 rets)
  0003  GETTABUP  R2 = _ENV[K2('tostring')]
  0004  GETTABLE  R3 = R0[K3('m_index')]
  0005  CALL      R2 = call(R2, 1 args, 1 rets)
  0006  GETTABLE  R2 = R1[R2]
  0007  GETTABUP  R3 = _ENV[K4('UIUtil')]
  0008  GETTABLE  R3 = R3[K5('SetActive')]
  0009  GETTABLE  R4 = R0[K6('m_BoxRectTrans')]
  0010  GETTABLE  R4 = R4[K7('gameObject')]
  0011  LOADBOOL  R5 = true
  0012  CALL      R3 = call(R3, 0 args, 2 rets)
  0013  GETTABUP  R3 = _ENV[K4('UIUtil')]
  0014  GETTABLE  R3 = R3[K5('SetActive')]
  0015  GETTABLE  R4 = R0[K8('m_GemRectTrans')]
  0016  GETTABLE  R4 = R4[K7('gameObject')]
  0017  LOADBOOL  R5 = false
  0018  CALL      R3 = call(R3, 0 args, 2 rets)
  0019  GETTABUP  R3 = _ENV[K4('UIUtil')]
  0020  GETTABLE  R3 = R3[K5('SetActive')]
  0021  GETTABLE  R4 = R0[K9('m_starRectTrans')]
  0022  GETTABLE  R4 = R4[K7('gameObject')]
  0023  LOADBOOL  R5 = false
  0024  CALL      R3 = call(R3, 0 args, 2 rets)
  0025  GETTABLE  R3 = R0[K10('m_GreenSimpleButtonLuaTable')]
  0026  SELF      R4 = R3[K11('SetUIEnabled')] (self)
  0027  LOADBOOL  R5 = true
  0028  CALL      R3 = call(R3, 0 args, 2 rets)
  0029  GETTABLE  R3 = R0[K0('m_model')]
  0030  SELF      R4 = R3[K12('GetSurplusCardStarIncludeLimit')] (self)
  0031  CALL      R3 = call(R3, 1 args, 1 rets)
  0032  EQ        if R1 eq K13(nil)   -> -129745
  0033  JMP       (jump)   -> 40
  0034  GETTABUP  R4 = _ENV[K14('GM')]
  0035  GETTABLE  R4 = R4[K15('GameModel')]
  0036  SELF      R5 = R4[K16('GetServerTime')] (self)
  0037  CALL      R4 = call(R4, 1 args, 1 rets)
  0038  LE        if R0 le R4   -> -130004
  0039  JMP       (jump)   -> 73
  0040  GETTABUP  R4 = _ENV[K4('UIUtil')]
  0041  GETTABLE  R4 = R4[K5('SetActive')]
  0042  GETTABLE  R5 = R0[K9('m_starRectTrans')]
  0043  GETTABLE  R5 = R5[K7('gameObject')]
  0044  LOADBOOL  R6 = true
  0045  CALL      R4 = call(R4, 0 args, 2 rets)
  0046  GETTABUP  R4 = _ENV[K4('UIUtil')]
  0047  GETTABLE  R4 = R4[K5('SetActive')]
  0048  GETTABLE  R5 = R0[K17('m_TimeText')]
  0049  GETTABLE  R5 = R5[K7('gameObject')]
  0050  LOADBOOL  R6 = false
  0051  CALL      R4 = call(R4, 0 args, 2 rets)
  0052  GETTABUP  R4 = _ENV[K4('UIUtil')]
  0053  GETTABLE  R4 = R4[K5('SetActive')]
  0054  GETTABLE  R5 = R0[K18('m_time_bgRectTrans')]
  0055  GETTABLE  R5 = R5[K7('gameObject')]
  0056  LOADBOOL  R6 = false
  0057  CALL      R4 = call(R4, 0 args, 2 rets)
  0058  GETTABLE  R4 = R0[K19('m_cfg')]
  0059  GETTABLE  R4 = R4[K20('star')]
  0060  LT        if R0 lt R4   -> -129470
  0061  JMP       (jump)   -> 66
  0062  GETTABLE  R4 = R0[K10('m_GreenSimpleButtonLuaTable')]
  0063  SELF      R5 = R4[K11('SetUIEnabled')] (self)
  0064  LOADBOOL  R6 = false
  0065  CALL      R4 = call(R4, 0 args, 2 rets)
  0066  GETTABUP  R4 = _ENV[K4('UIUtil')]
  0067  GETTABLE  R4 = R4[K5('SetActive')]
  0068  GETTABLE  R5 = R0[K21('m_BoxMaskImg')]
  0069  GETTABLE  R5 = R5[K7('gameObject')]
  0070  LOADBOOL  R6 = false
  0071  CALL      R4 = call(R4, 0 args, 2 rets)
  0072  JMP       (jump)   -> 97
  0073  GETTABUP  R4 = _ENV[K4('UIUtil')]
  0074  GETTABLE  R4 = R4[K5('SetActive')]
  0075  GETTABLE  R5 = R0[K18('m_time_bgRectTrans')]
  0076  GETTABLE  R5 = R5[K7('gameObject')]
  0077  LOADBOOL  R6 = true
  0078  CALL      R4 = call(R4, 0 args, 2 rets)
  0079  GETTABUP  R4 = _ENV[K4('UIUtil')]
  0080  GETTABLE  R4 = R4[K5('SetActive')]
  0081  GETTABLE  R5 = R0[K8('m_GemRectTrans')]
  0082  GETTABLE  R5 = R5[K7('gameObject')]
  0083  LOADBOOL  R6 = true
  0084  CALL      R4 = call(R4, 0 args, 2 rets)
  0085  GETTABUP  R4 = _ENV[K4('UIUtil')]
  0086  GETTABLE  R4 = R4[K5('SetActive')]
  0087  GETTABLE  R5 = R0[K17('m_TimeText')]
  0088  GETTABLE  R5 = R5[K7('gameObject')]
  0089  LOADBOOL  R6 = true
  0090  CALL      R4 = call(R4, 0 args, 2 rets)
  0091  GETTABUP  R4 = _ENV[K4('UIUtil')]
  0092  GETTABLE  R4 = R4[K5('SetActive')]
  0093  GETTABLE  R5 = R0[K21('m_BoxMaskImg')]
  0094  GETTABLE  R5 = R5[K7('gameObject')]
  0095  LOADBOOL  R6 = true
  0096  CALL      R4 = call(R4, 0 args, 2 rets)
  0097  SELF      R5 = R0[K22('UpdatePerSecond')] (self)
  0098  CALL      R4 = call(R4, 0 args, 1 rets)
  0099  RETURN    return R0..R-1
; ---------- proto3 [UpdatePerSecond] ----------
  ; fn ?  line 77-94 np=1 va=0 ms=7 code=50 consts=21 upvals=1 protos=0
  ;   K[0]='m_model'
  ;   K[1]=nil
  ;   K[2]='GetCurrentCycleInfo'
  ;   K[3]='tostring'
  ;   K[4]='m_index'
  ;   K[5]='GM'
  ;   K[6]='GameModel'
  ;   K[7]='GetServerTime'
  ;   K[8]='m_TimeText'
  ;   K[9]='gameObject'
  ;   K[10]='activeSelf'
  ;   K[11]='UpdateContent'
  ;   K[12]='m_gemText'
  ;   K[13]='text'
  ;   K[14]='GetSkipCycleGem'
  ;   K[15]='TimeUtil'
  ;   K[16]='ParseTimeDescription'
  ;   K[17]='LayoutRebuilder'
  ;   K[18]='ForceRebuildLayoutImmediate'
  ;   K[19]='transform'
  ;   K[20]='parent'
  ;   upvals: _ENV
  ;   locals: self(0-50), currentCycleInfo(7-50), currentEndTime(11-50)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  EQ        if R0 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 4
  0003  RETURN    return R0..R-1
  0004  GETTABLE  R1 = R0[K0('m_model')]
  0005  SELF      R2 = R1[K2('GetCurrentCycleInfo')] (self)
  0006  CALL      R1 = call(R1, 1 args, 1 rets)
  0007  GETTABUP  R2 = _ENV[K3('tostring')]
  0008  GETTABLE  R3 = R0[K4('m_index')]
  0009  CALL      R2 = call(R2, 1 args, 1 rets)
  0010  GETTABLE  R2 = R1[R2]
  0011  EQ        if R1 eq K1(nil)   -> -129778
  0012  JMP       (jump)   -> 19
  0013  GETTABUP  R3 = _ENV[K5('GM')]
  0014  GETTABLE  R3 = R3[K6('GameModel')]
  0015  SELF      R4 = R3[K7('GetServerTime')] (self)
  0016  CALL      R3 = call(R3, 1 args, 1 rets)
  0017  LE        if R0 le R3   -> -130026
  0018  JMP       (jump)   -> 27
  0019  GETTABLE  R3 = R0[K8('m_TimeText')]
  0020  GETTABLE  R3 = R3[K9('gameObject')]
  0021  GETTABLE  R3 = R3[K10('activeSelf')]
  0022  TEST      if not R3 then   -> -131048
  0023  JMP       (jump)   -> 26
  0024  SELF      R4 = R0[K11('UpdateContent')] (self)
  0025  CALL      R3 = call(R3, 0 args, 1 rets)
  0026  RETURN    return R0..R-1
  0027  GETTABLE  R3 = R0[K12('m_gemText')]
  0028  GETTABLE  R4 = R0[K0('m_model')]
  0029  SELF      R5 = R4[K14('GetSkipCycleGem')] (self)
  0030  GETTABLE  R6 = R0[K4('m_index')]
  0031  CALL      R4 = call(R4, 1 args, 2 rets)
  0032  SETTABLE  R3[K13('text')] = R4
  0033  GETTABLE  R3 = R0[K8('m_TimeText')]
  0034  GETTABUP  R4 = _ENV[K15('TimeUtil')]
  0035  GETTABLE  R4 = R4[K16('ParseTimeDescription')]
  0036  GETTABUP  R5 = _ENV[K5('GM')]
  0037  GETTABLE  R5 = R5[K6('GameModel')]
  0038  SELF      R6 = R5[K7('GetServerTime')] (self)
  0039  CALL      R5 = call(R5, 1 args, 1 rets)
  0040  SUB       R5 = R5 sub R2
  0041  CALL      R4 = call(R4, 1 args, 1 rets)
  0042  SETTABLE  R3[K13('text')] = R4
  0043  GETTABUP  R3 = _ENV[K17('LayoutRebuilder')]
  0044  GETTABLE  R3 = R3[K18('ForceRebuildLayoutImmediate')]
  0045  GETTABLE  R4 = R0[K8('m_TimeText')]
  0046  GETTABLE  R4 = R4[K19('transform')]
  0047  GETTABLE  R4 = R4[K20('parent')]
  0048  CALL      R3 = call(R3, 0 args, 1 rets)
  0049  RETURN    return R0..R-1
; ---------- proto4 [OnGiftBox] ----------
  ; fn ?  line 96-99 np=1 va=0 ms=6 code=14 consts=10 upvals=1 protos=0
  ;   K[0]='m_window'
  ;   K[1]='OnGiftBox'
  ;   K[2]='m_cfg'
  ;   K[3]='m_BoxImg'
  ;   K[4]='transform'
  ;   K[5]='GM'
  ;   K[6]='AudioModel'
  ;   K[7]='PlayEffect'
  ;   K[8]='AudioFileConfigName'
  ;   K[9]='SfxButtonClick'
  ;   upvals: _ENV
  ;   locals: self(0-14)
  0000  GETTABLE  R1 = R0[K0('m_window')]
  0001  SELF      R2 = R1[K1('OnGiftBox')] (self)
  0002  MOVE      R3 = R0
  0003  GETTABLE  R4 = R0[K2('m_cfg')]
  0004  GETTABLE  R5 = R0[K3('m_BoxImg')]
  0005  GETTABLE  R5 = R5[K4('transform')]
  0006  CALL      R1 = call(R1, 0 args, 4 rets)
  0007  GETTABUP  R1 = _ENV[K5('GM')]
  0008  GETTABLE  R1 = R1[K6('AudioModel')]
  0009  SELF      R2 = R1[K7('PlayEffect')] (self)
  0010  GETTABUP  R3 = _ENV[K8('AudioFileConfigName')]
  0011  GETTABLE  R3 = R3[K9('SfxButtonClick')]
  0012  CALL      R1 = call(R1, 0 args, 2 rets)
  0013  RETURN    return R0..R-1
; ---------- proto5 [OnBtnClicked] ----------
  ; fn ?  line 101-119 np=1 va=0 ms=12 code=38 consts=16 upvals=1 protos=1
  ;   K[0]='m_model'
  ;   K[1]='GetCurrentCycleInfo'
  ;   K[2]='tostring'
  ;   K[3]='m_index'
  ;   K[4]=nil
  ;   K[5]='GM'
  ;   K[6]='GameModel'
  ;   K[7]='GetServerTime'
  ;   K[8]='BuyGemCdTime'
  ;   K[9]='TryBuyCfg'
  ;   K[10]=false
  ;   K[11]='UIManager'
  ;   K[12]='OpenView'
  ;   K[13]='UIPrefabConfigName'
  ;   K[14]='AlbumSelectCardWindow'
  ;   K[15]='GetType'
  ;   upvals: _ENV
  ;   locals: self(0-38), currentCycleInfo(3-38), currentEndTime(7-38), listCards(22-38), star(22-38)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  SELF      R2 = R1[K1('GetCurrentCycleInfo')] (self)
  0002  CALL      R1 = call(R1, 1 args, 1 rets)
  0003  GETTABUP  R2 = _ENV[K2('tostring')]
  0004  GETTABLE  R3 = R0[K3('m_index')]
  0005  CALL      R2 = call(R2, 1 args, 1 rets)
  0006  GETTABLE  R2 = R1[R2]
  0007  EQ        if R1 eq K4(nil)   -> -129779
  0008  JMP       (jump)   -> 18
  0009  GETTABUP  R3 = _ENV[K5('GM')]
  0010  GETTABLE  R3 = R3[K6('GameModel')]
  0011  SELF      R4 = R3[K7('GetServerTime')] (self)
  0012  CALL      R3 = call(R3, 1 args, 1 rets)
  0013  LE        if R0 le R2   -> -129519
  0014  JMP       (jump)   -> 18
  0015  SELF      R4 = R0[K8('BuyGemCdTime')] (self)
  0016  CALL      R3 = call(R3, 0 args, 1 rets)
  0017  RETURN    return R0..R-1
  0018  GETTABLE  R3 = R0[K0('m_model')]
  0019  SELF      R4 = R3[K9('TryBuyCfg')] (self)
  0020  GETTABLE  R5 = R0[K3('m_index')]
  0021  CALL      R3 = call(R3, 2 args, 2 rets)
  0022  EQ        if R0 eq K10(false)   -> -129246
  0023  JMP       (jump)   -> 25
  0024  RETURN    return R0..R-1
  0025  GETTABUP  R5 = _ENV[K5('GM')]
  0026  GETTABLE  R5 = R5[K11('UIManager')]
  0027  SELF      R6 = R5[K12('OpenView')] (self)
  0028  GETTABUP  R7 = _ENV[K13('UIPrefabConfigName')]
  0029  GETTABLE  R7 = R7[K14('AlbumSelectCardWindow')]
  0030  GETTABLE  R8 = R0[K0('m_model')]
  0031  SELF      R9 = R8[K15('GetType')] (self)
  0032  CALL      R8 = call(R8, 1 args, 1 rets)
  0033  MOVE      R9 = R0
  0034  CLOSURE   R10 = closure proto0
  0035  MOVE      R11 = R0
  0036  CALL      R5 = call(R5, 0 args, 6 rets)
  0037  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 116-118 np=0 va=0 ms=4 code=6 consts=1 upvals=3 protos=0
    ;   K[0]='Buy'
    ;   upvals: self, listCards, star
    0000  GETUPVAL  R0 = self
    0001  SELF      R1 = R0[K0('Buy')] (self)
    0002  GETUPVAL  R2 = self
    0003  GETUPVAL  R3 = self
    0004  CALL      R0 = call(R0, 0 args, 3 rets)
    0005  RETURN    return R0..R-1
; ---------- proto6 [BuyGemCdTime] ----------
  ; fn ?  line 121-131 np=1 va=0 ms=6 code=26 consts=14 upvals=1 protos=0
  ;   K[0]='gameObject'
  ;   K[1]='IsNull'
  ;   K[2]='m_model'
  ;   K[3]='OnSkipCycleCard'
  ;   K[4]='m_index'
  ;   K[5]=nil
  ;   K[6]=true
  ;   K[7]='GM'
  ;   K[8]='ShopModel'
  ;   K[9]='OnLackOfGem'
  ;   K[10]='EBIType'
  ;   K[11]='AlbumPurchaseCD'
  ;   K[12]='m_window'
  ;   K[13]='UpdateContent'
  ;   upvals: _ENV
  ;   locals: self(0-26), bNum(10-26)
  0000  GETTABLE  R1 = R0[K0('gameObject')]
  0001  SELF      R2 = R1[K1('IsNull')] (self)
  0002  CALL      R1 = call(R1, 1 args, 1 rets)
  0003  TEST      if not R1 then   -> -131067
  0004  JMP       (jump)   -> 6
  0005  RETURN    return R0..R-1
  0006  GETTABLE  R1 = R0[K2('m_model')]
  0007  SELF      R2 = R1[K3('OnSkipCycleCard')] (self)
  0008  GETTABLE  R3 = R0[K4('m_index')]
  0009  CALL      R1 = call(R1, 1 args, 2 rets)
  0010  EQ        if R1 eq K5(nil)   -> -130287
  0011  JMP       (jump)   -> 22
  0012  EQ        if R1 eq K6(true)   -> -130284
  0013  JMP       (jump)   -> 22
  0014  GETTABUP  R2 = _ENV[K7('GM')]
  0015  GETTABLE  R2 = R2[K8('ShopModel')]
  0016  SELF      R3 = R2[K9('OnLackOfGem')] (self)
  0017  MOVE      R4 = R0
  0018  GETTABUP  R5 = _ENV[K10('EBIType')]
  0019  GETTABLE  R5 = R5[K11('AlbumPurchaseCD')]
  0020  CALL      R2 = call(R2, 0 args, 3 rets)
  0021  JMP       (jump)   -> 25
  0022  GETTABLE  R2 = R0[K12('m_window')]
  0023  SELF      R3 = R2[K13('UpdateContent')] (self)
  0024  CALL      R2 = call(R2, 0 args, 1 rets)
  0025  RETURN    return R0..R-1
; ---------- proto7 [Buy] ----------
  ; fn ?  line 133-153 np=3 va=0 ms=11 code=37 consts=14 upvals=1 protos=0
  ;   K[0]='gameObject'
  ;   K[1]='IsNull'
  ;   K[2]='m_model'
  ;   K[3]='BuyRecyleCard'
  ;   K[4]='m_index'
  ;   K[5]='m_window'
  ;   K[6]='BuySuccess'
  ;   K[7]='m_cfg'
  ;   K[8]='m_BoxRectTrans'
  ;   K[9]='AlbumArrStarBoxSpriteName'
  ;   K[10]='ipairs'
  ;   K[11]=nil
  ;   K[12]=0
  ;   K[13]=1
  ;   upvals: _ENV
  ;   locals: self(0-37), listCards(0-37), star(0-37), busccess(12-37), biMapCard(23-36), (for generator)(26-36), (for state)(26-36), (for control)(26-36), _(27-34), card(27-34)
  0000  GETTABLE  R3 = R0[K0('gameObject')]
  0001  SELF      R4 = R3[K1('IsNull')] (self)
  0002  CALL      R3 = call(R3, 1 args, 1 rets)
  0003  TEST      if not R3 then   -> -131067
  0004  JMP       (jump)   -> 6
  0005  RETURN    return R0..R-1
  0006  GETTABLE  R3 = R0[K2('m_model')]
  0007  SELF      R4 = R3[K3('BuyRecyleCard')] (self)
  0008  GETTABLE  R5 = R0[K4('m_index')]
  0009  MOVE      R6 = R0
  0010  MOVE      R7 = R0
  0011  CALL      R3 = call(R3, 1 args, 4 rets)
  0012  TEST      if not R3 then   -> -131058
  0013  JMP       (jump)   -> 36
  0014  GETTABLE  R4 = R0[K5('m_window')]
  0015  SELF      R5 = R4[K6('BuySuccess')] (self)
  0016  GETTABLE  R6 = R0[K7('m_cfg')]
  0017  GETTABLE  R7 = R0[K8('m_BoxRectTrans')]
  0018  GETTABUP  R8 = _ENV[K9('AlbumArrStarBoxSpriteName')]
  0019  GETTABLE  R9 = R0[K4('m_index')]
  0020  GETTABLE  R8 = R8[R9]
  0021  CALL      R4 = call(R4, 0 args, 4 rets)
  0022  NEWTABLE  R4 = {} (0 items)
  0023  GETTABUP  R5 = _ENV[K10('ipairs')]
  0024  MOVE      R6 = R0
  0025  CALL      R5 = call(R5, 3 args, 1 rets)
  0026  JMP       (jump)   -> 34
  0027  GETTABLE  R10 = R4[R9]
  0028  EQ        if R0 eq K11(nil)   -> -125655
  0029  JMP       (jump)   -> 31
  0030  SETTABLE  R4[R9] = K12(0)
  0031  GETTABLE  R10 = R4[R9]
  0032  ADD       R10 = K13(1) add R10
  0033  SETTABLE  R4[R9] = R10
  0034  TFORCALL  tforcall R5
  0035  TFORLOOP  tforloop R7(sBx=-9)   -> 27
  0036  RETURN    return R0..R-1
; ---------- proto8 [GetShowRewardTrans] ----------
  ; fn ?  line 155-157 np=1 va=0 ms=2 code=4 consts=2 upvals=0 protos=0
  ;   K[0]='m_BoxImg'
  ;   K[1]='transform'
  ;   locals: self(0-4)
  0000  GETTABLE  R1 = R0[K0('m_BoxImg')]
  0001  GETTABLE  R1 = R1[K1('transform')]
  0002  RETURN    return R1..R0
  0003  RETURN    return R0..R-1
; ---------- proto9 [Init] ----------
  ; fn ?  line 167-201 np=2 va=0 ms=16 code=72 consts=38 upvals=1 protos=0
  ;   K[0]='AlbumActivityBaseWindow'
  ;   K[1]='Init'
  ;   K[2]='InitList'
  ;   K[3]='UpdateContent'
  ;   K[4]='m_model'
  ;   K[5]='GetCurrentCycleInfo'
  ;   K[6]='GetSurplusCardStarIncludeLimit'
  ;   K[7]='ipairs'
  ;   K[8]='m_configs'
  ;   K[9]='table'
  ;   K[10]='insert'
  ;   K[11]='id'
  ;   K[12]='state'
  ;   K[13]='GetCycleCardState'
  ;   K[14]='LogWindowAction'
  ;   K[15]='EBIType'
  ;   K[16]='UIActionType'
  ;   K[17]='Open'
  ;   K[18]='EBIReferType'
  ;   K[19]='UserClick'
  ;   K[20]='starNum'
  ;   K[21]='cfg'
  ;   K[22]='m_rewardTip'
  ;   K[23]='Hide'
  ;   K[24]='UIUtil'
  ;   K[25]='SetLocalScale'
  ;   K[26]='m_titleTextRect'
  ;   K[27]=0
  ;   K[28]='DOScale'
  ;   K[29]='Vector3'
  ;   K[30]=1
  ;   K[31]=0.2
  ;   K[32]='SetDelay'
  ;   K[33]=0.5
  ;   K[34]='EventDispatcher'
  ;   K[35]='AddListener'
  ;   K[36]='EEventType'
  ;   K[37]='CommonLimitAlbumStateChanged'
  ;   upvals: _ENV
  ;   locals: self(0-72), ActivityType(0-72), currentCycleInfo(12-72), TimeList(13-72), starNum(16-72), (for generator)(19-33), (for state)(19-33), (for control)(19-33), i(20-31), cfg(20-31)
  0000  GETTABUP  R2 = _ENV[K0('AlbumActivityBaseWindow')]
  0001  GETTABLE  R2 = R2[K1('Init')]
  0002  MOVE      R3 = R0
  0003  MOVE      R4 = R0
  0004  CALL      R2 = call(R2, 0 args, 2 rets)
  0005  SELF      R3 = R0[K2('InitList')] (self)
  0006  CALL      R2 = call(R2, 0 args, 1 rets)
  0007  SELF      R3 = R0[K3('UpdateContent')] (self)
  0008  CALL      R2 = call(R2, 0 args, 1 rets)
  0009  GETTABLE  R2 = R0[K4('m_model')]
  0010  SELF      R3 = R2[K5('GetCurrentCycleInfo')] (self)
  0011  CALL      R2 = call(R2, 1 args, 1 rets)
  0012  NEWTABLE  R3 = {} (0 items)
  0013  GETTABLE  R4 = R0[K4('m_model')]
  0014  SELF      R5 = R4[K6('GetSurplusCardStarIncludeLimit')] (self)
  0015  CALL      R4 = call(R4, 1 args, 1 rets)
  0016  GETTABUP  R5 = _ENV[K7('ipairs')]
  0017  GETTABLE  R6 = R0[K8('m_configs')]
  0018  CALL      R5 = call(R5, 3 args, 1 rets)
  0019  JMP       (jump)   -> 31
  0020  GETTABUP  R10 = _ENV[K9('table')]
  0021  GETTABLE  R10 = R10[K10('insert')]
  0022  MOVE      R11 = R0
  0023  NEWTABLE  R12 = {} (0 items)
  0024  SETTABLE  R12[K11('id')] = R8
  0025  GETTABLE  R13 = R0[K4('m_model')]
  0026  SELF      R14 = R13[K13('GetCycleCardState')] (self)
  0027  MOVE      R15 = R0
  0028  CALL      R13 = call(R13, 1 args, 2 rets)
  0029  SETTABLE  R12[K12('state')] = R13
  0030  CALL      R10 = call(R10, 0 args, 2 rets)
  0031  TFORCALL  tforcall R5
  0032  TFORLOOP  tforloop R7(sBx=-13)   -> 20
  0033  SELF      R6 = R0[K14('LogWindowAction')] (self)
  0034  GETTABUP  R7 = _ENV[K15('EBIType')]
  0035  GETTABLE  R7 = R7[K16('UIActionType')]
  0036  GETTABLE  R7 = R7[K17('Open')]
  0037  GETTABUP  R8 = _ENV[K18('EBIReferType')]
  0038  GETTABLE  R8 = R8[K19('UserClick')]
  0039  NEWTABLE  R9 = {} (0 items)
  0040  SETTABLE  R9[K20('starNum')] = R4
  0041  SETTABLE  R9[K21('cfg')] = R3
  0042  CALL      R5 = call(R5, 0 args, 4 rets)
  0043  GETTABLE  R5 = R0[K22('m_rewardTip')]
  0044  SELF      R6 = R5[K23('Hide')] (self)
  0045  CALL      R5 = call(R5, 0 args, 1 rets)
  0046  GETTABUP  R5 = _ENV[K24('UIUtil')]
  0047  GETTABLE  R5 = R5[K25('SetLocalScale')]
  0048  GETTABLE  R6 = R0[K26('m_titleTextRect')]
  0049  LOADK     R7 = K27 0
  0050  LOADK     R8 = K27 0
  0051  CALL      R5 = call(R5, 0 args, 3 rets)
  0052  GETTABLE  R5 = R0[K26('m_titleTextRect')]
  0053  SELF      R6 = R5[K28('DOScale')] (self)
  0054  GETTABUP  R7 = _ENV[K29('Vector3')]
  0055  LOADK     R8 = K30 1
  0056  LOADK     R9 = K30 1
  0057  LOADK     R10 = K30 1
  0058  CALL      R7 = call(R7, 1 args, 3 rets)
  0059  LOADK     R8 = K31 0.2
  0060  CALL      R5 = call(R5, 1 args, 3 rets)
  0061  SELF      R6 = R5[K32('SetDelay')] (self)
  0062  LOADK     R7 = K33 0.5
  0063  CALL      R5 = call(R5, 0 args, 2 rets)
  0064  GETTABUP  R5 = _ENV[K34('EventDispatcher')]
  0065  GETTABLE  R5 = R5[K35('AddListener')]
  0066  GETTABUP  R6 = _ENV[K36('EEventType')]
  0067  GETTABLE  R6 = R6[K37('CommonLimitAlbumStateChanged')]
  0068  MOVE      R7 = R0
  0069  GETTABLE  R8 = R0[K3('UpdateContent')]
  0070  CALL      R5 = call(R5, 0 args, 3 rets)
  0071  RETURN    return R0..R-1
; ---------- proto10 [OnDestroy] ----------
  ; fn ?  line 203-208 np=1 va=0 ms=4 code=14 consts=6 upvals=1 protos=0
  ;   K[0]='AlbumActivityBaseWindow'
  ;   K[1]='OnDestroy'
  ;   K[2]='m_model'
  ;   K[3]=nil
  ;   K[4]='RemoveAllHandlers'
  ;   K[5]='GetEvent'
  ;   upvals: _ENV
  ;   locals: self(0-14)
  0000  GETTABUP  R1 = _ENV[K0('AlbumActivityBaseWindow')]
  0001  GETTABLE  R1 = R1[K1('OnDestroy')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  GETTABLE  R1 = R0[K2('m_model')]
  0005  EQ        if R1 eq K3(nil)   -> -130294
  0006  JMP       (jump)   -> 13
  0007  GETTABUP  R1 = _ENV[K4('RemoveAllHandlers')]
  0008  GETTABLE  R2 = R0[K2('m_model')]
  0009  SELF      R3 = R2[K5('GetEvent')] (self)
  0010  CALL      R2 = call(R2, 1 args, 1 rets)
  0011  MOVE      R3 = R0
  0012  CALL      R1 = call(R1, 0 args, 2 rets)
  0013  RETURN    return R0..R-1
; ---------- proto11 [InitList] ----------
  ; fn ?  line 210-222 np=1 va=0 ms=12 code=40 consts=15 upvals=1 protos=0
  ;   K[0]='m_cells'
  ;   K[1]=1
  ;   K[2]='m_cell1LuaTable'
  ;   K[3]='m_configs'
  ;   K[4]='m_model'
  ;   K[5]='GetCycleCardConfig'
  ;   K[6]='ipairs'
  ;   K[7]=nil
  ;   K[8]='Object'
  ;   K[9]='Instantiate'
  ;   K[10]='gameObject'
  ;   K[11]='transform'
  ;   K[12]='parent'
  ;   K[13]='GetLuaTable'
  ;   K[14]='Init'
  ;   upvals: _ENV
  ;   locals: self(0-40), (for generator)(12-39), (for state)(12-39), (for control)(12-39), i(13-37), cfg(13-37)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  SETTABLE  R0[K0('m_cells')] = R1
  0002  GETTABLE  R1 = R0[K0('m_cells')]
  0003  GETTABLE  R2 = R0[K2('m_cell1LuaTable')]
  0004  SETTABLE  R1[K1(1)] = R2
  0005  GETTABLE  R1 = R0[K4('m_model')]
  0006  SELF      R2 = R1[K5('GetCycleCardConfig')] (self)
  0007  CALL      R1 = call(R1, 1 args, 1 rets)
  0008  SETTABLE  R0[K3('m_configs')] = R1
  0009  GETTABUP  R1 = _ENV[K6('ipairs')]
  0010  GETTABLE  R2 = R0[K3('m_configs')]
  0011  CALL      R1 = call(R1, 3 args, 1 rets)
  0012  JMP       (jump)   -> 37
  0013  GETTABLE  R6 = R0[K0('m_cells')]
  0014  GETTABLE  R6 = R6[R4]
  0015  EQ        if R0 eq K7(nil)   -> -127720
  0016  JMP       (jump)   -> 29
  0017  GETTABLE  R6 = R0[K0('m_cells')]
  0018  GETTABUP  R7 = _ENV[K8('Object')]
  0019  GETTABLE  R7 = R7[K9('Instantiate')]
  0020  GETTABLE  R8 = R0[K2('m_cell1LuaTable')]
  0021  GETTABLE  R8 = R8[K10('gameObject')]
  0022  GETTABLE  R9 = R0[K2('m_cell1LuaTable')]
  0023  GETTABLE  R9 = R9[K11('transform')]
  0024  GETTABLE  R9 = R9[K12('parent')]
  0025  CALL      R7 = call(R7, 1 args, 2 rets)
  0026  SELF      R8 = R7[K13('GetLuaTable')] (self)
  0027  CALL      R7 = call(R7, 1 args, 1 rets)
  0028  SETTABLE  R6[R4] = R7
  0029  GETTABLE  R6 = R0[K0('m_cells')]
  0030  GETTABLE  R6 = R6[R4]
  0031  SELF      R7 = R6[K14('Init')] (self)
  0032  GETTABLE  R8 = R0[K4('m_model')]
  0033  MOVE      R9 = R0
  0034  MOVE      R10 = R0
  0035  MOVE      R11 = R0
  0036  CALL      R6 = call(R6, 0 args, 5 rets)
  0037  TFORCALL  tforcall R1
  0038  TFORLOOP  tforloop R3(sBx=-26)   -> 13
  0039  RETURN    return R0..R-1
; ---------- proto12 [UpdateContent] ----------
  ; fn ?  line 224-230 np=1 va=0 ms=8 code=21 consts=12 upvals=1 protos=0
  ;   K[0]='ipairs'
  ;   K[1]='m_configs'
  ;   K[2]='m_cells'
  ;   K[3]='UpdateContent'
  ;   K[4]='m_descText'
  ;   K[5]='text'
  ;   K[6]='GM'
  ;   K[7]='GameTextModel'
  ;   K[8]='GetText'
  ;   K[9]='album_recycle_starnum'
  ;   K[10]='m_model'
  ;   K[11]='GetSurplusCardStarIncludeLimit'
  ;   upvals: _ENV
  ;   locals: self(0-21), (for generator)(3-10), (for state)(3-10), (for control)(3-10), i(4-8), cfg(4-8)
  0000  GETTABUP  R1 = _ENV[K0('ipairs')]
  0001  GETTABLE  R2 = R0[K1('m_configs')]
  0002  CALL      R1 = call(R1, 3 args, 1 rets)
  0003  JMP       (jump)   -> 8
  0004  GETTABLE  R6 = R0[K2('m_cells')]
  0005  GETTABLE  R6 = R6[R4]
  0006  SELF      R7 = R6[K3('UpdateContent')] (self)
  0007  CALL      R6 = call(R6, 0 args, 1 rets)
  0008  TFORCALL  tforcall R1
  0009  TFORLOOP  tforloop R3(sBx=-6)   -> 4
  0010  GETTABLE  R1 = R0[K4('m_descText')]
  0011  GETTABUP  R2 = _ENV[K6('GM')]
  0012  GETTABLE  R2 = R2[K7('GameTextModel')]
  0013  SELF      R3 = R2[K8('GetText')] (self)
  0014  LOADK     R4 = K9 'album_recycle_starnum'
  0015  GETTABLE  R5 = R0[K10('m_model')]
  0016  SELF      R6 = R5[K11('GetSurplusCardStarIncludeLimit')] (self)
  0017  CALL      R5 = call(R5, -1 args, 1 rets)
  0018  CALL      R2 = call(R2, 1 args, -1 rets)
  0019  SETTABLE  R1[K5('text')] = R2
  0020  RETURN    return R0..R-1
; ---------- proto13 [OnGiftBox] ----------
  ; fn ?  line 232-234 np=4 va=0 ms=12 code=11 consts=7 upvals=1 protos=0
  ;   K[0]='m_rewardTip'
  ;   K[1]='Show'
  ;   K[2]='reward'
  ;   K[3]='ERewardScene'
  ;   K[4]='Other'
  ;   K[5]=0
  ;   K[6]=-50
  ;   upvals: _ENV
  ;   locals: self(0-11), cell(0-11), cfg(0-11), trans(0-11)
  0000  GETTABLE  R4 = R0[K0('m_rewardTip')]
  0001  SELF      R5 = R4[K1('Show')] (self)
  0002  GETTABLE  R6 = R2[K2('reward')]
  0003  GETTABUP  R7 = _ENV[K3('ERewardScene')]
  0004  GETTABLE  R7 = R7[K4('Other')]
  0005  MOVE      R8 = R0
  0006  LOADK     R9 = K5 0
  0007  LOADK     R10 = K6 -50
  0008  LOADBOOL  R11 = true
  0009  CALL      R4 = call(R4, 0 args, 7 rets)
  0010  RETURN    return R0..R-1
; ---------- proto14 [BuySuccess] ----------
  ; fn ?  line 236-240 np=4 va=0 ms=15 code=16 consts=10 upvals=1 protos=1
  ;   K[0]='GM'
  ;   K[1]='UIManager'
  ;   K[2]='OpenView'
  ;   K[3]='UIPrefabConfigName'
  ;   K[4]='BoxRewardWindow'
  ;   K[5]='position'
  ;   K[6]=1
  ;   K[7]='reward'
  ;   K[8]='ERewardScene'
  ;   K[9]='Other'
  ;   upvals: _ENV
  ;   locals: self(0-16), cfg(0-16), boxTrans(0-16), imgKey(0-16)
  0000  GETTABUP  R4 = _ENV[K0('GM')]
  0001  GETTABLE  R4 = R4[K1('UIManager')]
  0002  SELF      R5 = R4[K2('OpenView')] (self)
  0003  GETTABUP  R6 = _ENV[K3('UIPrefabConfigName')]
  0004  GETTABLE  R6 = R6[K4('BoxRewardWindow')]
  0005  GETTABLE  R7 = R2[K5('position')]
  0006  LOADK     R8 = K6 1
  0007  MOVE      R9 = R0
  0008  GETTABLE  R10 = R1[K7('reward')]
  0009  LOADNIL   R11..R11 = nil
  0010  LOADBOOL  R12 = true
  0011  GETTABUP  R13 = _ENV[K8('ERewardScene')]
  0012  GETTABLE  R13 = R13[K9('Other')]
  0013  CLOSURE   R14 = closure proto0
  0014  CALL      R4 = call(R4, 0 args, 10 rets)
  0015  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 237-239 np=0 va=0 ms=2 code=4 consts=1 upvals=1 protos=0
    ;   K[0]='UpdateContent'
    ;   upvals: self
    0000  GETUPVAL  R0 = self
    0001  SELF      R1 = R0[K0('UpdateContent')] (self)
    0002  CALL      R0 = call(R0, 0 args, 1 rets)
    0003  RETURN    return R0..R-1
; ---------- proto15 [Init] ----------
  ; fn ?  line 246-261 np=7 va=0 ms=11 code=14 consts=3 upvals=1 protos=1
  ;   K[0]='m_Album_madaActivityCardLuaTable'
  ;   K[1]='m_Album_madaActivityCard_1LuaTable'
  ;   K[2]='m_Album_madaActivityCard_2LuaTable'
  ;   upvals: _ENV
  ;   locals: self(0-14), cardid1(0-14), cardid2(0-14), cardid3(0-14), model(0-14), limitModel(0-14), mapCardsNum(0-14), InitCard(1-14)
  0000  CLOSURE   R7 = closure proto0
  0001  MOVE      R8 = R0
  0002  MOVE      R9 = R0
  0003  GETTABLE  R10 = R0[K0('m_Album_madaActivityCardLuaTable')]
  0004  CALL      R8 = call(R8, 0 args, 2 rets)
  0005  MOVE      R8 = R0
  0006  MOVE      R9 = R0
  0007  GETTABLE  R10 = R0[K1('m_Album_madaActivityCard_1LuaTable')]
  0008  CALL      R8 = call(R8, 0 args, 2 rets)
  0009  MOVE      R8 = R0
  0010  MOVE      R9 = R0
  0011  GETTABLE  R10 = R0[K2('m_Album_madaActivityCard_2LuaTable')]
  0012  CALL      R8 = call(R8, 0 args, 2 rets)
  0013  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 247-256 np=2 va=0 ms=10 code=36 consts=7 upvals=4 protos=0
    ;   K[0]=nil
    ;   K[1]='UIUtil'
    ;   K[2]='SetActive'
    ;   K[3]='gameObject'
    ;   K[4]='IsExistCard'
    ;   K[5]='Init'
    ;   K[6]=1
    ;   upvals: _ENV, limitModel, model, mapCardsNum
    ;   locals: cardId(0-36), luaTable(0-36), bLimit(20-36)
    0000  EQ        if R0 eq K0(nil)   -> -130814
    0001  JMP       (jump)   -> 8
    0002  GETTABUP  R2 = _ENV[K1('UIUtil')]
    0003  GETTABLE  R2 = R2[K2('SetActive')]
    0004  GETTABLE  R3 = R1[K3('gameObject')]
    0005  LOADBOOL  R4 = false
    0006  CALL      R2 = call(R2, 0 args, 2 rets)
    0007  RETURN    return R0..R-1
    0008  GETTABUP  R2 = _ENV[K1('UIUtil')]
    0009  GETTABLE  R2 = R2[K2('SetActive')]
    0010  GETTABLE  R3 = R1[K3('gameObject')]
    0011  LOADBOOL  R4 = true
    0012  CALL      R2 = call(R2, 0 args, 2 rets)
    0013  GETUPVAL  R2 = _ENV
    0014  TEST      if not R2 then   -> -131056
    0015  JMP       (jump)   -> 20
    0016  GETUPVAL  R2 = _ENV
    0017  SELF      R3 = R2[K4('IsExistCard')] (self)
    0018  MOVE      R4 = R0
    0019  CALL      R2 = call(R2, 1 args, 2 rets)
    0020  SELF      R4 = R1[K5('Init')] (self)
    0021  MOVE      R5 = R0
    0022  TEST      if not R2 then   -> -131048
    0023  JMP       (jump)   -> 27
    0024  GETUPVAL  R6 = _ENV
    0025  TEST      if not R6 then   -> -131044
    0026  JMP       (jump)   -> 28
    0027  GETUPVAL  R6 = _ENV
    0028  LOADBOOL  R7 = false
    0029  LOADBOOL  R8 = true
    0030  GETTABUP  R9 = mapCardsNum[R0]
    0031  TEST      if not R9 then   -> -131038
    0032  JMP       (jump)   -> 34
    0033  LOADK     R9 = K6 1
    0034  CALL      R3 = call(R3, 0 args, 6 rets)
    0035  RETURN    return R0..R-1
; ---------- proto16 [Init] ----------
  ; fn ?  line 268-294 np=5 va=0 ms=13 code=75 consts=34 upvals=1 protos=1
  ;   K[0]='AlbumActivityBaseWindow'
  ;   K[1]='Init'
  ;   K[2]='m_mapCards'
  ;   K[3]='m_listCards'
  ;   K[4]='ipairs'
  ;   K[5]=nil
  ;   K[6]=0
  ;   K[7]='table'
  ;   K[8]='insert'
  ;   K[9]=1
  ;   K[10]='m_desc2Text'
  ;   K[11]='text'
  ;   K[12]='GM'
  ;   K[13]='GameTextModel'
  ;   K[14]='GetText'
  ;   K[15]='album_recycle_confirm_desc_2'
  ;   K[16]='ListViewParam'
  ;   K[17]='CopyDefaultInitParam'
  ;   K[18]='mItemDefaultWithPaddingSize'
  ;   K[19]=390
  ;   K[20]='m_CardListLoop'
  ;   K[21]='InitListView'
  ;   K[22]='math'
  ;   K[23]='ceil'
  ;   K[24]=3
  ;   K[25]='m_callBack'
  ;   K[26]='UIUtil'
  ;   K[27]='SetLocalScale'
  ;   K[28]='m_titleTextRect'
  ;   K[29]='DOScale'
  ;   K[30]='Vector3'
  ;   K[31]=0.2
  ;   K[32]='SetDelay'
  ;   K[33]=0.5
  ;   upvals: _ENV
  ;   locals: self(0-75), activityType(0-75), listCard(0-75), callBack(0-75), star(0-75), (for generator)(12-31), (for state)(12-31), (for control)(12-31), i(13-29), card(13-29), initParam(43-75)
  0000  GETTABUP  R5 = _ENV[K0('AlbumActivityBaseWindow')]
  0001  GETTABLE  R5 = R5[K1('Init')]
  0002  MOVE      R6 = R0
  0003  MOVE      R7 = R0
  0004  CALL      R5 = call(R5, 0 args, 2 rets)
  0005  NEWTABLE  R5 = {} (0 items)
  0006  SETTABLE  R0[K2('m_mapCards')] = R5
  0007  NEWTABLE  R5 = {} (0 items)
  0008  SETTABLE  R0[K3('m_listCards')] = R5
  0009  GETTABUP  R5 = _ENV[K4('ipairs')]
  0010  MOVE      R6 = R0
  0011  CALL      R5 = call(R5, 3 args, 1 rets)
  0012  JMP       (jump)   -> 29
  0013  GETTABLE  R10 = R0[K2('m_mapCards')]
  0014  GETTABLE  R10 = R10[R9]
  0015  EQ        if R0 eq K5(nil)   -> -125674
  0016  JMP       (jump)   -> 24
  0017  GETTABLE  R10 = R0[K2('m_mapCards')]
  0018  SETTABLE  R10[R9] = K6(0)
  0019  GETTABUP  R10 = _ENV[K7('table')]
  0020  GETTABLE  R10 = R10[K8('insert')]
  0021  GETTABLE  R11 = R0[K3('m_listCards')]
  0022  MOVE      R12 = R0
  0023  CALL      R10 = call(R10, 0 args, 2 rets)
  0024  GETTABLE  R10 = R0[K2('m_mapCards')]
  0025  GETTABLE  R11 = R0[K2('m_mapCards')]
  0026  GETTABLE  R11 = R11[R9]
  0027  ADD       R11 = K9(1) add R11
  0028  SETTABLE  R10[R9] = R11
  0029  TFORCALL  tforcall R5
  0030  TFORLOOP  tforloop R7(sBx=-18)   -> 13
  0031  GETTABLE  R5 = R0[K10('m_desc2Text')]
  0032  GETTABUP  R6 = _ENV[K12('GM')]
  0033  GETTABLE  R6 = R6[K13('GameTextModel')]
  0034  SELF      R7 = R6[K14('GetText')] (self)
  0035  LOADK     R8 = K15 'album_recycle_confirm_desc_2'
  0036  LEN       R9 = len R0
  0037  MOVE      R10 = R0
  0038  CALL      R6 = call(R6, 1 args, 4 rets)
  0039  SETTABLE  R5[K11('text')] = R6
  0040  GETTABUP  R5 = _ENV[K16('ListViewParam')]
  0041  GETTABLE  R5 = R5[K17('CopyDefaultInitParam')]
  0042  CALL      R5 = call(R5, 1 args, 0 rets)
  0043  SETTABLE  R5[K18('mItemDefaultWithPaddingSize')] = K19(390)
  0044  GETTABLE  R6 = R0[K20('m_CardListLoop')]
  0045  SELF      R7 = R6[K21('InitListView')] (self)
  0046  GETTABUP  R8 = _ENV[K22('math')]
  0047  GETTABLE  R8 = R8[K23('ceil')]
  0048  GETTABLE  R9 = R0[K3('m_listCards')]
  0049  LEN       R9 = len R0
  0050  DIV       R9 = K24(3) div R9
  0051  CALL      R8 = call(R8, 1 args, 1 rets)
  0052  CLOSURE   R9 = closure proto0
  0053  MOVE      R10 = R0
  0054  CALL      R6 = call(R6, 0 args, 4 rets)
  0055  SETTABLE  R0[K25('m_callBack')] = R3
  0056  GETTABUP  R6 = _ENV[K26('UIUtil')]
  0057  GETTABLE  R6 = R6[K27('SetLocalScale')]
  0058  GETTABLE  R7 = R0[K28('m_titleTextRect')]
  0059  LOADK     R8 = K6 0
  0060  LOADK     R9 = K6 0
  0061  CALL      R6 = call(R6, 0 args, 3 rets)
  0062  GETTABLE  R6 = R0[K28('m_titleTextRect')]
  0063  SELF      R7 = R6[K29('DOScale')] (self)
  0064  GETTABUP  R8 = _ENV[K30('Vector3')]
  0065  LOADK     R9 = K9 1
  0066  LOADK     R10 = K9 1
  0067  LOADK     R11 = K9 1
  0068  CALL      R8 = call(R8, 1 args, 3 rets)
  0069  LOADK     R9 = K31 0.2
  0070  CALL      R6 = call(R6, 1 args, 3 rets)
  0071  SELF      R7 = R6[K32('SetDelay')] (self)
  0072  LOADK     R8 = K33 0.5
  0073  CALL      R6 = call(R6, 0 args, 2 rets)
  0074  RETURN    return R0..R-1
  ; ---------- proto0 [m_callBack] ----------
    ; fn ?  line 286-288 np=2 va=0 ms=6 code=7 consts=1 upvals=1 protos=0
    ;   K[0]='GetListItemByIndex'
    ;   upvals: self
    ;   locals: listView(0-7), cellIndex(0-7)
    0000  GETUPVAL  R2 = self
    0001  SELF      R3 = R2[K0('GetListItemByIndex')] (self)
    0002  MOVE      R4 = R0
    0003  MOVE      R5 = R0
    0004  TAILCALL  tailcall(R2, 0)
    0005  RETURN    return R2..R1
    0006  RETURN    return R0..R-1
; ---------- proto17 [GetListItemByIndex] ----------
  ; fn ?  line 296-311 np=3 va=0 ms=17 code=33 consts=13 upvals=0 protos=0
  ;   K[0]=0
  ;   K[1]='m_listCards'
  ;   K[2]=3
  ;   K[3]=1
  ;   K[4]=2
  ;   K[5]='AlbumActivityCard_table'
  ;   K[6]='NewListViewItem'
  ;   K[7]='gameObject'
  ;   K[8]='GetLuaTable'
  ;   K[9]='Init'
  ;   K[10]='m_model'
  ;   K[11]='m_limitAlbumModel'
  ;   K[12]='m_mapCards'
  ;   locals: self(0-33), listView(0-33), cellIndex(0-33), strCardID(8-33), strCardID1(12-33), strCardID2(16-33), tableName(17-33), item(20-33), luaTable(23-33)
  0000  LT        if R0 lt K0(0)   -> -129790
  0001  JMP       (jump)   -> 4
  0002  LOADNIL   R3..R3 = nil
  0003  RETURN    return R3..R2
  0004  GETTABLE  R3 = R0[K1('m_listCards')]
  0005  MUL       R4 = K2(3) mul R2
  0006  ADD       R4 = K3(1) add R4
  0007  GETTABLE  R3 = R3[R4]
  0008  GETTABLE  R4 = R0[K1('m_listCards')]
  0009  MUL       R5 = K2(3) mul R2
  0010  ADD       R5 = K4(2) add R5
  0011  GETTABLE  R4 = R4[R5]
  0012  GETTABLE  R5 = R0[K1('m_listCards')]
  0013  MUL       R6 = K2(3) mul R2
  0014  ADD       R6 = K2(3) add R6
  0015  GETTABLE  R5 = R5[R6]
  0016  LOADK     R6 = K5 'AlbumActivityCard_table'
  0017  SELF      R8 = R1[K6('NewListViewItem')] (self)
  0018  MOVE      R9 = R0
  0019  CALL      R7 = call(R7, 1 args, 2 rets)
  0020  GETTABLE  R8 = R7[K7('gameObject')]
  0021  SELF      R9 = R8[K8('GetLuaTable')] (self)
  0022  CALL      R8 = call(R8, 1 args, 1 rets)
  0023  SELF      R10 = R8[K9('Init')] (self)
  0024  MOVE      R11 = R0
  0025  MOVE      R12 = R0
  0026  MOVE      R13 = R0
  0027  GETTABLE  R14 = R0[K10('m_model')]
  0028  GETTABLE  R15 = R0[K11('m_limitAlbumModel')]
  0029  GETTABLE  R16 = R0[K12('m_mapCards')]
  0030  CALL      R9 = call(R9, 0 args, 7 rets)
  0031  RETURN    return R7..R6
  0032  RETURN    return R0..R-1
; ---------- proto18 [OnDestroy] ----------
  ; fn ?  line 313-315 np=1 va=0 ms=3 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='AlbumActivityBaseWindow'
  ;   K[1]='OnDestroy'
  ;   upvals: _ENV
  ;   locals: self(0-5)
  0000  GETTABUP  R1 = _ENV[K0('AlbumActivityBaseWindow')]
  0001  GETTABLE  R1 = R1[K1('OnDestroy')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  RETURN    return R0..R-1
; ---------- proto19 [OnBtnOk] ----------
  ; fn ?  line 317-322 np=1 va=0 ms=3 code=8 consts=2 upvals=0 protos=0
  ;   K[0]='Close'
  ;   K[1]='m_callBack'
  ;   locals: self(0-8)
  0000  SELF      R2 = R0[K0('Close')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  GETTABLE  R1 = R0[K1('m_callBack')]
  0003  TEST      if not R1 then   -> -131067
  0004  JMP       (jump)   -> 7
  0005  GETTABLE  R1 = R0[K1('m_callBack')]
  0006  CALL      R1 = call(R1, 0 args, 0 rets)
  0007  RETURN    return R0..R-1
