# ProgressActivity_View_ProgressActivityBaseWindow_969.luac
; fn @ProgressActivityBaseWindow.lua  line 0-0 np=0 va=1 ms=3 code=18 consts=7 upvals=1 protos=3
;   K[0]='ProgressActivityBaseWindow'
;   K[1]='setmetatable'
;   K[2]='BaseWindow'
;   K[3]='__index'
;   K[4]='Init'
;   K[5]='OnDestroy'
;   K[6]='OnStateChangedEvent'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  GETTABUP  R2 = _ENV[K2('BaseWindow')]
0003  CALL      R0 = call(R0, 1 args, 2 rets)
0004  SETTABUP  _ENV[K0('ProgressActivityBaseWindow')] = R0
0005  GETTABUP  R0 = _ENV[K0('ProgressActivityBaseWindow')]
0006  GETTABUP  R1 = _ENV[K0('ProgressActivityBaseWindow')]
0007  SETTABLE  R0[K3('__index')] = R1
0008  GETTABUP  R0 = _ENV[K0('ProgressActivityBaseWindow')]
0009  CLOSURE   R1 = closure proto0
0010  SETTABLE  R0[K4('Init')] = R1
0011  GETTABUP  R0 = _ENV[K0('ProgressActivityBaseWindow')]
0012  CLOSURE   R1 = closure proto1
0013  SETTABLE  R0[K5('OnDestroy')] = R1
0014  GETTABUP  R0 = _ENV[K0('ProgressActivityBaseWindow')]
0015  CLOSURE   R1 = closure proto2
0016  SETTABLE  R0[K6('OnStateChangedEvent')] = R1
0017  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 8-22 np=3 va=0 ms=7 code=50 consts=27 upvals=1 protos=1
  ;   K[0]='m_activityType'
  ;   K[1]='m_model'
  ;   K[2]='GM'
  ;   K[3]='ActivityManager'
  ;   K[4]='GetModel'
  ;   K[5]='m_id'
  ;   K[6]='GetId'
  ;   K[7]='m_definition'
  ;   K[8]='GetDefinition'
  ;   K[9]='m_nextStateTime'
  ;   K[10]='GetNextStateTime'
  ;   K[11]='EventDispatcher'
  ;   K[12]='AddListener'
  ;   K[13]='ProgressActivityDefinition'
  ;   K[14]='StateChangedEvent'
  ;   K[15]='OnStateChangedEvent'
  ;   K[16]='LogWindowAction'
  ;   K[17]='EBIType'
  ;   K[18]='UIActionType'
  ;   K[19]='Open'
  ;   K[20]='EBIReferType'
  ;   K[21]='AutoPopup'
  ;   K[22]='UserClick'
  ;   K[23]='IsAutoRun'
  ;   K[24]='DOVirtual'
  ;   K[25]='DelayedCall'
  ;   K[26]=0.2
  ;   upvals: _ENV
  ;   locals: self(0-50), eActivityType(0-50), bAutoPop(0-50)
  0000  SETTABLE  R0[K0('m_activityType')] = R1
  0001  GETTABUP  R3 = _ENV[K2('GM')]
  0002  GETTABLE  R3 = R3[K3('ActivityManager')]
  0003  SELF      R4 = R3[K4('GetModel')] (self)
  0004  MOVE      R5 = R0
  0005  CALL      R3 = call(R3, 1 args, 2 rets)
  0006  SETTABLE  R0[K1('m_model')] = R3
  0007  GETTABLE  R3 = R0[K1('m_model')]
  0008  SELF      R4 = R3[K6('GetId')] (self)
  0009  CALL      R3 = call(R3, 1 args, 1 rets)
  0010  SETTABLE  R0[K5('m_id')] = R3
  0011  GETTABLE  R3 = R0[K1('m_model')]
  0012  SELF      R4 = R3[K8('GetDefinition')] (self)
  0013  CALL      R3 = call(R3, 1 args, 1 rets)
  0014  SETTABLE  R0[K7('m_definition')] = R3
  0015  GETTABLE  R3 = R0[K1('m_model')]
  0016  SELF      R4 = R3[K10('GetNextStateTime')] (self)
  0017  CALL      R3 = call(R3, 1 args, 1 rets)
  0018  SETTABLE  R0[K9('m_nextStateTime')] = R3
  0019  GETTABUP  R3 = _ENV[K11('EventDispatcher')]
  0020  GETTABLE  R3 = R3[K12('AddListener')]
  0021  GETTABUP  R4 = _ENV[K13('ProgressActivityDefinition')]
  0022  GETTABLE  R4 = R4[R1]
  0023  GETTABLE  R4 = R4[K14('StateChangedEvent')]
  0024  MOVE      R5 = R0
  0025  GETTABLE  R6 = R0[K15('OnStateChangedEvent')]
  0026  CALL      R3 = call(R3, 0 args, 3 rets)
  0027  SELF      R4 = R0[K16('LogWindowAction')] (self)
  0028  GETTABUP  R5 = _ENV[K17('EBIType')]
  0029  GETTABLE  R5 = R5[K18('UIActionType')]
  0030  GETTABLE  R5 = R5[K19('Open')]
  0031  TEST      if not R2 then   -> -131039
  0032  JMP       (jump)   -> 37
  0033  GETTABUP  R6 = _ENV[K20('EBIReferType')]
  0034  GETTABLE  R6 = R6[K21('AutoPopup')]
  0035  TEST      if not R6 then   -> -131034
  0036  JMP       (jump)   -> 39
  0037  GETTABUP  R6 = _ENV[K20('EBIReferType')]
  0038  GETTABLE  R6 = R6[K22('UserClick')]
  0039  CALL      R3 = call(R3, 0 args, 3 rets)
  0040  GETTABUP  R3 = _ENV[K23('IsAutoRun')]
  0041  CALL      R3 = call(R3, 1 args, 0 rets)
  0042  TEST      if not R3 then   -> -131028
  0043  JMP       (jump)   -> 49
  0044  GETTABUP  R3 = _ENV[K24('DOVirtual')]
  0045  GETTABLE  R3 = R3[K25('DelayedCall')]
  0046  LOADK     R4 = K26 0.2
  0047  CLOSURE   R5 = closure proto0
  0048  CALL      R3 = call(R3, 0 args, 2 rets)
  0049  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 20-20 np=0 va=0 ms=2 code=4 consts=1 upvals=1 protos=0
    ;   K[0]='Close'
    ;   upvals: self
    0000  GETUPVAL  R0 = self
    0001  SELF      R1 = R0[K0('Close')] (self)
    0002  CALL      R0 = call(R0, 0 args, 1 rets)
    0003  RETURN    return R0..R-1
; ---------- proto1 [OnDestroy] ----------
  ; fn ?  line 24-26 np=1 va=0 ms=3 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='EventDispatcher'
  ;   K[1]='RemoveTarget'
  ;   upvals: _ENV
  ;   locals: self(0-5)
  0000  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0001  GETTABLE  R1 = R1[K1('RemoveTarget')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  RETURN    return R0..R-1
; ---------- proto2 [OnStateChangedEvent] ----------
  ; fn ?  line 28-30 np=1 va=0 ms=3 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='Close'
  ;   locals: self(0-3)
  0000  SELF      R2 = R0[K0('Close')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  RETURN    return R0..R-1
