# OrdersNonstop_View_OrdersNonstopEntry_1289.luac
; fn @OrdersNonstopEntry.lua  line 0-0 np=0 va=1 ms=2 code=27 consts=9 upvals=1 protos=7
;   K[0]='OrdersNonstopEntry'
;   K[1]='__index'
;   K[2]='Init'
;   K[3]='OnEnable'
;   K[4]='UpdateContent'
;   K[5]='UpdatePerSecond'
;   K[6]='OnClicked'
;   K[7]='ToggleVisibility'
;   K[8]='OnHit'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('OrdersNonstopEntry')] = R0
0002  GETTABUP  R0 = _ENV[K0('OrdersNonstopEntry')]
0003  GETTABUP  R1 = _ENV[K0('OrdersNonstopEntry')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  GETTABUP  R0 = _ENV[K0('OrdersNonstopEntry')]
0006  CLOSURE   R1 = closure proto0
0007  SETTABLE  R0[K2('Init')] = R1
0008  GETTABUP  R0 = _ENV[K0('OrdersNonstopEntry')]
0009  CLOSURE   R1 = closure proto1
0010  SETTABLE  R0[K3('OnEnable')] = R1
0011  GETTABUP  R0 = _ENV[K0('OrdersNonstopEntry')]
0012  CLOSURE   R1 = closure proto2
0013  SETTABLE  R0[K4('UpdateContent')] = R1
0014  GETTABUP  R0 = _ENV[K0('OrdersNonstopEntry')]
0015  CLOSURE   R1 = closure proto3
0016  SETTABLE  R0[K5('UpdatePerSecond')] = R1
0017  GETTABUP  R0 = _ENV[K0('OrdersNonstopEntry')]
0018  CLOSURE   R1 = closure proto4
0019  SETTABLE  R0[K6('OnClicked')] = R1
0020  GETTABUP  R0 = _ENV[K0('OrdersNonstopEntry')]
0021  CLOSURE   R1 = closure proto5
0022  SETTABLE  R0[K7('ToggleVisibility')] = R1
0023  GETTABUP  R0 = _ENV[K0('OrdersNonstopEntry')]
0024  CLOSURE   R1 = closure proto6
0025  SETTABLE  R0[K8('OnHit')] = R1
0026  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 10-17 np=5 va=0 ms=7 code=12 consts=7 upvals=0 protos=0
  ;   K[0]='m_model'
  ;   K[1]='m_activityType'
  ;   K[2]='GetType'
  ;   K[3]='m_activityDefinition'
  ;   K[4]='GetActivityDefinition'
  ;   K[5]='UpdateContent'
  ;   K[6]='UpdatePerSecond'
  ;   locals: self(0-12), model(0-12), orderCell(0-12), orderArea(0-12), order(0-12)
  0000  SETTABLE  R0[K0('m_model')] = R1
  0001  SELF      R6 = R1[K2('GetType')] (self)
  0002  CALL      R5 = call(R5, 1 args, 1 rets)
  0003  SETTABLE  R0[K1('m_activityType')] = R5
  0004  SELF      R6 = R1[K4('GetActivityDefinition')] (self)
  0005  CALL      R5 = call(R5, 1 args, 1 rets)
  0006  SETTABLE  R0[K3('m_activityDefinition')] = R5
  0007  SELF      R6 = R0[K5('UpdateContent')] (self)
  0008  CALL      R5 = call(R5, 0 args, 1 rets)
  0009  SELF      R6 = R0[K6('UpdatePerSecond')] (self)
  0010  CALL      R5 = call(R5, 0 args, 1 rets)
  0011  RETURN    return R0..R-1
; ---------- proto1 [OnEnable] ----------
  ; fn ?  line 19-23 np=1 va=0 ms=3 code=6 consts=3 upvals=0 protos=0
  ;   K[0]='m_model'
  ;   K[1]=nil
  ;   K[2]='UpdatePerSecond'
  ;   locals: self(0-6)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  EQ        if R1 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 5
  0003  SELF      R2 = R0[K2('UpdatePerSecond')] (self)
  0004  CALL      R1 = call(R1, 0 args, 1 rets)
  0005  RETURN    return R0..R-1
; ---------- proto2 [UpdateContent] ----------
  ; fn ?  line 25-27 np=1 va=0 ms=3 code=4 consts=2 upvals=0 protos=0
  ;   K[0]='m_model'
  ;   K[1]='GetFinishCount'
  ;   locals: self(0-4), finishCount(3-4)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  SELF      R2 = R1[K1('GetFinishCount')] (self)
  0002  CALL      R1 = call(R1, 1 args, 1 rets)
  0003  RETURN    return R0..R-1
; ---------- proto3 [UpdatePerSecond] ----------
  ; fn ?  line 29-32 np=1 va=0 ms=5 code=10 consts=6 upvals=1 protos=0
  ;   K[0]='m_model'
  ;   K[1]='GetLeftDuration'
  ;   K[2]='m_timeText'
  ;   K[3]='text'
  ;   K[4]='TimeUtil'
  ;   K[5]='ToMSOrHMS'
  ;   upvals: _ENV
  ;   locals: self(0-10), leftDuration(3-10)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  SELF      R2 = R1[K1('GetLeftDuration')] (self)
  0002  CALL      R1 = call(R1, 1 args, 1 rets)
  0003  GETTABLE  R2 = R0[K2('m_timeText')]
  0004  GETTABUP  R3 = _ENV[K4('TimeUtil')]
  0005  GETTABLE  R3 = R3[K5('ToMSOrHMS')]
  0006  MOVE      R4 = R0
  0007  CALL      R3 = call(R3, 1 args, 1 rets)
  0008  SETTABLE  R2[K3('text')] = R3
  0009  RETURN    return R0..R-1
; ---------- proto4 [OnClicked] ----------
  ; fn ?  line 34-36 np=1 va=0 ms=5 code=8 consts=6 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='UIManager'
  ;   K[2]='OpenView'
  ;   K[3]='m_activityDefinition'
  ;   K[4]='MainWindowPrefabName'
  ;   K[5]='m_activityType'
  ;   upvals: _ENV
  ;   locals: self(0-8)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('UIManager')]
  0002  SELF      R2 = R1[K2('OpenView')] (self)
  0003  GETTABLE  R3 = R0[K3('m_activityDefinition')]
  0004  GETTABLE  R3 = R3[K4('MainWindowPrefabName')]
  0005  GETTABLE  R4 = R0[K5('m_activityType')]
  0006  CALL      R1 = call(R1, 0 args, 3 rets)
  0007  RETURN    return R0..R-1
; ---------- proto5 [ToggleVisibility] ----------
  ; fn ?  line 38-40 np=2 va=0 ms=4 code=9 consts=4 upvals=0 protos=0
  ;   K[0]='m_canvasGroup'
  ;   K[1]='alpha'
  ;   K[2]=1
  ;   K[3]=0
  ;   locals: self(0-9), visible(0-9)
  0000  GETTABLE  R2 = R0[K0('m_canvasGroup')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 6
  0003  LOADK     R3 = K2 1
  0004  TEST      if not R3 then   -> -131065
  0005  JMP       (jump)   -> 7
  0006  LOADK     R3 = K3 0
  0007  SETTABLE  R2[K1('alpha')] = R3
  0008  RETURN    return R0..R-1
; ---------- proto6 [OnHit] ----------
  ; fn ?  line 42-45 np=1 va=0 ms=4 code=11 consts=7 upvals=1 protos=0
  ;   K[0]='m_hitEffectGo'
  ;   K[1]='SetActive'
  ;   K[2]='GM'
  ;   K[3]='AudioModel'
  ;   K[4]='PlayEffect'
  ;   K[5]='AudioFileConfigName'
  ;   K[6]='SfxTaskStart'
  ;   upvals: _ENV
  ;   locals: self(0-11)
  0000  GETTABLE  R1 = R0[K0('m_hitEffectGo')]
  0001  SELF      R2 = R1[K1('SetActive')] (self)
  0002  LOADBOOL  R3 = true
  0003  CALL      R1 = call(R1, 0 args, 2 rets)
  0004  GETTABUP  R1 = _ENV[K2('GM')]
  0005  GETTABLE  R1 = R1[K3('AudioModel')]
  0006  SELF      R2 = R1[K4('PlayEffect')] (self)
  0007  GETTABUP  R3 = _ENV[K5('AudioFileConfigName')]
  0008  GETTABLE  R3 = R3[K6('SfxTaskStart')]
  0009  CALL      R1 = call(R1, 0 args, 2 rets)
  0010  RETURN    return R0..R-1
