# AlbumActivity_View_AlbumActivityShowCardWindow_1121.luac
; fn @AlbumActivityShowCardWindow.lua  line 0-0 np=0 va=1 ms=3 code=24 consts=13 upvals=1 protos=4
;   K[0]='AlbumActivityShowCardWindow'
;   K[1]='setmetatable'
;   K[2]='showWindowMask'
;   K[3]=false
;   K[4]='canCloseByAndroidBack'
;   K[5]='bCloseWhenLimitAlbumStateChanged'
;   K[6]=true
;   K[7]='AlbumActivityBaseWindow'
;   K[8]='__index'
;   K[9]='BeforeOpenCheck'
;   K[10]='Init'
;   K[11]='InitUI'
;   K[12]='Close'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  SETTABLE  R1[K2('showWindowMask')] = K3(false)
0003  SETTABLE  R1[K4('canCloseByAndroidBack')] = K3(false)
0004  SETTABLE  R1[K5('bCloseWhenLimitAlbumStateChanged')] = K6(true)
0005  GETTABUP  R2 = _ENV[K7('AlbumActivityBaseWindow')]
0006  CALL      R0 = call(R0, 1 args, 2 rets)
0007  SETTABUP  _ENV[K0('AlbumActivityShowCardWindow')] = R0
0008  GETTABUP  R0 = _ENV[K0('AlbumActivityShowCardWindow')]
0009  GETTABUP  R1 = _ENV[K0('AlbumActivityShowCardWindow')]
0010  SETTABLE  R0[K8('__index')] = R1
0011  GETTABUP  R0 = _ENV[K0('AlbumActivityShowCardWindow')]
0012  CLOSURE   R1 = closure proto0
0013  SETTABLE  R0[K9('BeforeOpenCheck')] = R1
0014  GETTABUP  R0 = _ENV[K0('AlbumActivityShowCardWindow')]
0015  CLOSURE   R1 = closure proto1
0016  SETTABLE  R0[K10('Init')] = R1
0017  GETTABUP  R0 = _ENV[K0('AlbumActivityShowCardWindow')]
0018  CLOSURE   R1 = closure proto2
0019  SETTABLE  R0[K11('InitUI')] = R1
0020  GETTABUP  R0 = _ENV[K0('AlbumActivityShowCardWindow')]
0021  CLOSURE   R1 = closure proto3
0022  SETTABLE  R0[K12('Close')] = R1
0023  RETURN    return R0..R-1
; ---------- proto0 [BeforeOpenCheck] ----------
  ; fn ?  line 9-11 np=6 va=0 ms=8 code=7 consts=2 upvals=1 protos=0
  ;   K[0]='UIUtil'
  ;   K[1]='IsEmptyComponent'
  ;   upvals: _ENV
  ;   locals: self(0-7), activityType(0-7), cardTrans(0-7), red(0-7), callBack(0-7), noGet(0-7)
  0000  GETTABUP  R6 = _ENV[K0('UIUtil')]
  0001  GETTABLE  R6 = R6[K1('IsEmptyComponent')]
  0002  MOVE      R7 = R0
  0003  CALL      R6 = call(R6, 1 args, 1 rets)
  0004  NOT       R6 = not R0
  0005  RETURN    return R6..R5
  0006  RETURN    return R0..R-1
; ---------- proto1 [Init] ----------
  ; fn ?  line 13-28 np=6 va=0 ms=10 code=32 consts=20 upvals=1 protos=0
  ;   K[0]='AlbumActivityBaseWindow'
  ;   K[1]='Init'
  ;   K[2]='m_bred'
  ;   K[3]='cardTrans'
  ;   K[4]='m_bNoGet'
  ;   K[5]='gameObject'
  ;   K[6]='GetComponent'
  ;   K[7]='typeof'
  ;   K[8]='CS'
  ;   K[9]='UnityEngine'
  ;   K[10]='Canvas'
  ;   K[11]=nil
  ;   K[12]='m_cardCanvas'
  ;   K[13]='overrideSorting'
  ;   K[14]=true
  ;   K[15]='sortingOrder'
  ;   K[16]='GetSortingOrder'
  ;   K[17]=1
  ;   K[18]='m_Callback'
  ;   K[19]='InitUI'
  ;   upvals: _ENV
  ;   locals: self(0-32), activityType(0-32), cardTrans(0-32), red(0-32), callBack(0-32), noGet(0-32), cardCanvas(18-32)
  0000  GETTABUP  R6 = _ENV[K0('AlbumActivityBaseWindow')]
  0001  GETTABLE  R6 = R6[K1('Init')]
  0002  MOVE      R7 = R0
  0003  MOVE      R8 = R0
  0004  LOADBOOL  R9 = true
  0005  CALL      R6 = call(R6, 0 args, 3 rets)
  0006  SETTABLE  R0[K2('m_bred')] = R3
  0007  SETTABLE  R0[K3('cardTrans')] = R2
  0008  SETTABLE  R0[K4('m_bNoGet')] = R5
  0009  GETTABLE  R6 = R0[K3('cardTrans')]
  0010  GETTABLE  R6 = R6[K5('gameObject')]
  0011  SELF      R7 = R6[K6('GetComponent')] (self)
  0012  GETTABUP  R8 = _ENV[K7('typeof')]
  0013  GETTABUP  R9 = _ENV[K8('CS')]
  0014  GETTABLE  R9 = R9[K9('UnityEngine')]
  0015  GETTABLE  R9 = R9[K10('Canvas')]
  0016  CALL      R8 = call(R8, -1 args, 1 rets)
  0017  CALL      R6 = call(R6, 1 args, -1 rets)
  0018  EQ        if R1 eq K11(nil)   -> -127713
  0019  JMP       (jump)   -> 28
  0020  SETTABLE  R0[K12('m_cardCanvas')] = R6
  0021  GETTABLE  R7 = R0[K12('m_cardCanvas')]
  0022  SETTABLE  R7[K13('overrideSorting')] = K14(true)
  0023  GETTABLE  R7 = R0[K12('m_cardCanvas')]
  0024  SELF      R9 = R0[K16('GetSortingOrder')] (self)
  0025  CALL      R8 = call(R8, 1 args, 1 rets)
  0026  ADD       R8 = K17(1) add R8
  0027  SETTABLE  R7[K15('sortingOrder')] = R8
  0028  SETTABLE  R0[K18('m_Callback')] = R4
  0029  SELF      R8 = R0[K19('InitUI')] (self)
  0030  CALL      R7 = call(R7, 0 args, 1 rets)
  0031  RETURN    return R0..R-1
; ---------- proto2 [InitUI] ----------
  ; fn ?  line 30-34 np=1 va=0 ms=5 code=12 consts=9 upvals=1 protos=0
  ;   K[0]='UIUtil'
  ;   K[1]='SetActive'
  ;   K[2]='m_TextRectTrans'
  ;   K[3]='gameObject'
  ;   K[4]='m_bNoGet'
  ;   K[5]='m_MaskImg'
  ;   K[6]='DOFade'
  ;   K[7]=0.8
  ;   K[8]=0.5
  ;   upvals: _ENV
  ;   locals: self(0-12)
  0000  GETTABUP  R1 = _ENV[K0('UIUtil')]
  0001  GETTABLE  R1 = R1[K1('SetActive')]
  0002  GETTABLE  R2 = R0[K2('m_TextRectTrans')]
  0003  GETTABLE  R2 = R2[K3('gameObject')]
  0004  GETTABLE  R3 = R0[K4('m_bNoGet')]
  0005  CALL      R1 = call(R1, 0 args, 2 rets)
  0006  GETTABLE  R1 = R0[K5('m_MaskImg')]
  0007  SELF      R2 = R1[K6('DOFade')] (self)
  0008  LOADK     R3 = K7 0.8
  0009  LOADK     R4 = K8 0.5
  0010  CALL      R1 = call(R1, 0 args, 3 rets)
  0011  RETURN    return R0..R-1
; ---------- proto3 [Close] ----------
  ; fn ?  line 36-41 np=1 va=0 ms=3 code=10 consts=3 upvals=1 protos=0
  ;   K[0]='m_Callback'
  ;   K[1]='AlbumActivityBaseWindow'
  ;   K[2]='Close'
  ;   upvals: _ENV
  ;   locals: self(0-10)
  0000  GETTABLE  R1 = R0[K0('m_Callback')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 5
  0003  GETTABLE  R1 = R0[K0('m_Callback')]
  0004  CALL      R1 = call(R1, 0 args, 0 rets)
  0005  GETTABUP  R1 = _ENV[K1('AlbumActivityBaseWindow')]
  0006  GETTABLE  R1 = R1[K2('Close')]
  0007  MOVE      R2 = R0
  0008  CALL      R1 = call(R1, 0 args, 1 rets)
  0009  RETURN    return R0..R-1
