# UI_Window_OrderGroup_ScrollBackToOrderWindow_741.luac
; fn @ScrollBackToOrderWindow.lua  line 0-0 np=0 va=1 ms=3 code=15 consts=6 upvals=1 protos=2
;   K[0]='ScrollBackToOrderWindow'
;   K[1]='setmetatable'
;   K[2]='TransparentBaseWindow'
;   K[3]='__index'
;   K[4]='Init'
;   K[5]='_OnSkipClick'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  GETTABUP  R2 = _ENV[K2('TransparentBaseWindow')]
0003  CALL      R0 = call(R0, 1 args, 2 rets)
0004  SETTABUP  _ENV[K0('ScrollBackToOrderWindow')] = R0
0005  GETTABUP  R0 = _ENV[K0('ScrollBackToOrderWindow')]
0006  GETTABUP  R1 = _ENV[K0('ScrollBackToOrderWindow')]
0007  SETTABLE  R0[K3('__index')] = R1
0008  GETTABUP  R0 = _ENV[K0('ScrollBackToOrderWindow')]
0009  CLOSURE   R1 = closure proto0
0010  SETTABLE  R0[K4('Init')] = R1
0011  GETTABUP  R0 = _ENV[K0('ScrollBackToOrderWindow')]
0012  CLOSURE   R1 = closure proto1
0013  SETTABLE  R0[K5('_OnSkipClick')] = R1
0014  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 4-17 np=1 va=0 ms=8 code=42 consts=15 upvals=1 protos=1
  ;   K[0]='MainBoardView'
  ;   K[1]='GetInstance'
  ;   K[2]='GetOrderArea'
  ;   K[3]=0
  ;   K[4]='GetOrderGroupButton'
  ;   K[5]='IsVisible'
  ;   K[6]='ScrollToOrderGroup'
  ;   K[7]='GM'
  ;   K[8]='ActivityManager'
  ;   K[9]='GetModel'
  ;   K[10]='ActivityType'
  ;   K[11]='BakeOut'
  ;   K[12]='CanAcquireToken'
  ;   K[13]='ScrollToActivityEntry'
  ;   K[14]='DelayExecuteFuncInView'
  ;   upvals: _ENV
  ;   locals: self(0-42), orderArea(5-42), dt(6-42)
  0000  GETTABUP  R1 = _ENV[K0('MainBoardView')]
  0001  SELF      R2 = R1[K1('GetInstance')] (self)
  0002  CALL      R1 = call(R1, 1 args, 1 rets)
  0003  SELF      R2 = R1[K2('GetOrderArea')] (self)
  0004  CALL      R1 = call(R1, 1 args, 1 rets)
  0005  LOADK     R2 = K3 0
  0006  SELF      R4 = R1[K4('GetOrderGroupButton')] (self)
  0007  CALL      R3 = call(R3, 1 args, 1 rets)
  0008  SELF      R4 = R3[K5('IsVisible')] (self)
  0009  CALL      R3 = call(R3, 1 args, 1 rets)
  0010  TEST      if not R3 then   -> -131060
  0011  JMP       (jump)   -> 18
  0012  SELF      R4 = R1[K6('ScrollToOrderGroup')] (self)
  0013  LOADBOOL  R5 = true
  0014  LOADBOOL  R6 = false
  0015  CALL      R3 = call(R3, 1 args, 3 rets)
  0016  MOVE      R2 = R0
  0017  JMP       (jump)   -> 35
  0018  GETTABUP  R3 = _ENV[K7('GM')]
  0019  GETTABLE  R3 = R3[K8('ActivityManager')]
  0020  SELF      R4 = R3[K9('GetModel')] (self)
  0021  GETTABUP  R5 = _ENV[K10('ActivityType')]
  0022  GETTABLE  R5 = R5[K11('BakeOut')]
  0023  CALL      R3 = call(R3, 1 args, 2 rets)
  0024  SELF      R4 = R3[K12('CanAcquireToken')] (self)
  0025  CALL      R3 = call(R3, 1 args, 1 rets)
  0026  TEST      if not R3 then   -> -131044
  0027  JMP       (jump)   -> 35
  0028  SELF      R4 = R1[K13('ScrollToActivityEntry')] (self)
  0029  GETTABUP  R5 = _ENV[K10('ActivityType')]
  0030  GETTABLE  R5 = R5[K11('BakeOut')]
  0031  LOADBOOL  R6 = true
  0032  LOADBOOL  R7 = true
  0033  CALL      R3 = call(R3, 1 args, 4 rets)
  0034  MOVE      R2 = R0
  0035  GETTABUP  R3 = _ENV[K14('DelayExecuteFuncInView')]
  0036  CLOSURE   R4 = closure proto0
  0037  MOVE      R5 = R0
  0038  MOVE      R6 = R0
  0039  LOADBOOL  R7 = false
  0040  CALL      R3 = call(R3, 0 args, 4 rets)
  0041  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 14-16 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 [_OnSkipClick] ----------
  ; fn ?  line 19-21 np=1 va=0 ms=3 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='Scheduler'
  ;   K[1]='FireAndUnscheduleTarget'
  ;   upvals: _ENV
  ;   locals: self(0-5)
  0000  GETTABUP  R1 = _ENV[K0('Scheduler')]
  0001  GETTABLE  R1 = R1[K1('FireAndUnscheduleTarget')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  RETURN    return R0..R-1
