# UpgradeRace_View_UpgradeRaceActivityStartWindow_1574.luac
; fn @UpgradeRaceActivityStartWindow.lua  line 0-0 np=0 va=1 ms=3 code=12 consts=5 upvals=1 protos=1
;   K[0]='UpgradeRaceActivityStartWindow'
;   K[1]='setmetatable'
;   K[2]='UpgradeRaceActivityBaseEntryWindow'
;   K[3]='__index'
;   K[4]='Init'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  GETTABUP  R2 = _ENV[K2('UpgradeRaceActivityBaseEntryWindow')]
0003  CALL      R0 = call(R0, 1 args, 2 rets)
0004  SETTABUP  _ENV[K0('UpgradeRaceActivityStartWindow')] = R0
0005  GETTABUP  R0 = _ENV[K0('UpgradeRaceActivityStartWindow')]
0006  GETTABUP  R1 = _ENV[K0('UpgradeRaceActivityStartWindow')]
0007  SETTABLE  R0[K3('__index')] = R1
0008  GETTABUP  R0 = _ENV[K0('UpgradeRaceActivityStartWindow')]
0009  CLOSURE   R1 = closure proto0
0010  SETTABLE  R0[K4('Init')] = R1
0011  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 8-13 np=4 va=0 ms=9 code=14 consts=6 upvals=1 protos=0
  ;   K[0]='UpgradeRaceActivityBaseEntryWindow'
  ;   K[1]='Init'
  ;   K[2]='GetModel'
  ;   K[3]='SetWindowOpened'
  ;   K[4]='ActivityState'
  ;   K[5]='Started'
  ;   upvals: _ENV
  ;   locals: self(0-14), activityType(0-14), id(0-14), bAutoPop(0-14), model(9-14)
  0000  GETTABUP  R4 = _ENV[K0('UpgradeRaceActivityBaseEntryWindow')]
  0001  GETTABLE  R4 = R4[K1('Init')]
  0002  MOVE      R5 = R0
  0003  MOVE      R6 = R0
  0004  MOVE      R7 = R0
  0005  MOVE      R8 = R0
  0006  CALL      R4 = call(R4, 0 args, 4 rets)
  0007  SELF      R5 = R0[K2('GetModel')] (self)
  0008  CALL      R4 = call(R4, 1 args, 1 rets)
  0009  SELF      R6 = R4[K3('SetWindowOpened')] (self)
  0010  GETTABUP  R7 = _ENV[K4('ActivityState')]
  0011  GETTABLE  R7 = R7[K5('Started')]
  0012  CALL      R5 = call(R5, 0 args, 2 rets)
  0013  RETURN    return R0..R-1
