# WeeklyRank_View_WeeklyRankBaseWindow_1225.luac
; fn @WeeklyRankBaseWindow.lua  line 0-0 np=0 va=1 ms=3 code=15 consts=8 upvals=1 protos=1
;   K[0]='WeeklyRankBaseWindow'
;   K[1]='setmetatable'
;   K[2]='windowMaskAlpha'
;   K[3]='EWindowMaskAlpha'
;   K[4]='Dark'
;   K[5]='BaseWindow'
;   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('BaseWindow')]
0006  CALL      R0 = call(R0, 1 args, 2 rets)
0007  SETTABUP  _ENV[K0('WeeklyRankBaseWindow')] = R0
0008  GETTABUP  R0 = _ENV[K0('WeeklyRankBaseWindow')]
0009  GETTABUP  R1 = _ENV[K0('WeeklyRankBaseWindow')]
0010  SETTABLE  R0[K6('__index')] = R1
0011  GETTABUP  R0 = _ENV[K0('WeeklyRankBaseWindow')]
0012  CLOSURE   R1 = closure proto0
0013  SETTABLE  R0[K7('Init')] = R1
0014  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 9-18 np=4 va=0 ms=9 code=38 consts=19 upvals=1 protos=0
  ;   K[0]='m_activityType'
  ;   K[1]='m_model'
  ;   K[2]='GM'
  ;   K[3]='ActivityManager'
  ;   K[4]='GetModel'
  ;   K[5]='m_activityDefinition'
  ;   K[6]='GetActivityDefinition'
  ;   K[7]='SetWindowOpened'
  ;   K[8]='LogWindowAction'
  ;   K[9]='EBIType'
  ;   K[10]='UIActionType'
  ;   K[11]='Open'
  ;   K[12]='EBIReferType'
  ;   K[13]='UserClick'
  ;   K[14]='AutoPopup'
  ;   K[15]='EventDispatcher'
  ;   K[16]='AddListener'
  ;   K[17]='StateChangedEvent'
  ;   K[18]='Close'
  ;   upvals: _ENV
  ;   locals: self(0-38), activityType(0-38), bUserClick(0-38), ext(0-38)
  0000  SETTABLE  R0[K0('m_activityType')] = R1
  0001  GETTABUP  R4 = _ENV[K2('GM')]
  0002  GETTABLE  R4 = R4[K3('ActivityManager')]
  0003  SELF      R5 = R4[K4('GetModel')] (self)
  0004  MOVE      R6 = R0
  0005  CALL      R4 = call(R4, 1 args, 2 rets)
  0006  SETTABLE  R0[K1('m_model')] = R4
  0007  GETTABLE  R4 = R0[K1('m_model')]
  0008  SELF      R5 = R4[K6('GetActivityDefinition')] (self)
  0009  CALL      R4 = call(R4, 1 args, 1 rets)
  0010  SETTABLE  R0[K5('m_activityDefinition')] = R4
  0011  GETTABLE  R4 = R0[K1('m_model')]
  0012  SELF      R5 = R4[K7('SetWindowOpened')] (self)
  0013  CALL      R4 = call(R4, 0 args, 1 rets)
  0014  SELF      R5 = R0[K8('LogWindowAction')] (self)
  0015  GETTABUP  R6 = _ENV[K9('EBIType')]
  0016  GETTABLE  R6 = R6[K10('UIActionType')]
  0017  GETTABLE  R6 = R6[K11('Open')]
  0018  NEWTABLE  R7 = {} (1 items)
  0019  TEST      if not R2 then   -> -131051
  0020  JMP       (jump)   -> 25
  0021  GETTABUP  R8 = _ENV[K12('EBIReferType')]
  0022  GETTABLE  R8 = R8[K13('UserClick')]
  0023  TEST      if not R8 then   -> -131046
  0024  JMP       (jump)   -> 27
  0025  GETTABUP  R8 = _ENV[K12('EBIReferType')]
  0026  GETTABLE  R8 = R8[K14('AutoPopup')]
  0027  SETLIST   setlist R7[B=1,C=1]
  0028  MOVE      R8 = R0
  0029  CALL      R4 = call(R4, 0 args, 4 rets)
  0030  GETTABUP  R4 = _ENV[K15('EventDispatcher')]
  0031  GETTABLE  R4 = R4[K16('AddListener')]
  0032  GETTABLE  R5 = R0[K5('m_activityDefinition')]
  0033  GETTABLE  R5 = R5[K17('StateChangedEvent')]
  0034  MOVE      R6 = R0
  0035  GETTABLE  R7 = R0[K18('Close')]
  0036  CALL      R4 = call(R4, 0 args, 3 rets)
  0037  RETURN    return R0..R-1
