# ChestCustomerActivity_View_ChestCustomerActivitySpeedUpAnimationView_1692.luac
; fn @ChestCustomerActivitySpeedUpAnimationView.lua  line 0-0 np=0 va=1 ms=3 code=28 consts=9 upvals=1 protos=7
;   K[0]='ChestCustomerActivitySpeedUpAnimationView'
;   K[1]='__index'
;   K[2]='Init'
;   K[3]='OnDisable'
;   K[4]='GetItemCook'
;   K[5]='_InitView'
;   K[6]='PlaySpeedAnim'
;   K[7]='OnPlaySpeedAnimFinish'
;   K[8]='RemoveSelf'
;   upvals: _ENV
;   locals: arrAnimationView(6-28)
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('ChestCustomerActivitySpeedUpAnimationView')] = R0
0002  GETTABUP  R0 = _ENV[K0('ChestCustomerActivitySpeedUpAnimationView')]
0003  GETTABUP  R1 = _ENV[K0('ChestCustomerActivitySpeedUpAnimationView')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  NEWTABLE  R0 = {} (0 items)
0006  GETTABUP  R1 = _ENV[K0('ChestCustomerActivitySpeedUpAnimationView')]
0007  CLOSURE   R2 = closure proto0
0008  SETTABLE  R1[K2('Init')] = R2
0009  GETTABUP  R1 = _ENV[K0('ChestCustomerActivitySpeedUpAnimationView')]
0010  CLOSURE   R2 = closure proto1
0011  SETTABLE  R1[K3('OnDisable')] = R2
0012  GETTABUP  R1 = _ENV[K0('ChestCustomerActivitySpeedUpAnimationView')]
0013  CLOSURE   R2 = closure proto2
0014  SETTABLE  R1[K4('GetItemCook')] = R2
0015  GETTABUP  R1 = _ENV[K0('ChestCustomerActivitySpeedUpAnimationView')]
0016  CLOSURE   R2 = closure proto3
0017  SETTABLE  R1[K5('_InitView')] = R2
0018  GETTABUP  R1 = _ENV[K0('ChestCustomerActivitySpeedUpAnimationView')]
0019  CLOSURE   R2 = closure proto4
0020  SETTABLE  R1[K6('PlaySpeedAnim')] = R2
0021  GETTABUP  R1 = _ENV[K0('ChestCustomerActivitySpeedUpAnimationView')]
0022  CLOSURE   R2 = closure proto5
0023  SETTABLE  R1[K7('OnPlaySpeedAnimFinish')] = R2
0024  GETTABUP  R1 = _ENV[K0('ChestCustomerActivitySpeedUpAnimationView')]
0025  CLOSURE   R2 = closure proto6
0026  SETTABLE  R1[K8('RemoveSelf')] = R2
0027  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 14-19 np=4 va=0 ms=6 code=6 consts=4 upvals=0 protos=0
  ;   K[0]='m_itemCookView'
  ;   K[1]='m_itemCook'
  ;   K[2]='m_effectsTransform'
  ;   K[3]='_InitView'
  ;   locals: self(0-6), itemCookView(0-6), itemCook(0-6), effectsTransform(0-6)
  0000  SETTABLE  R0[K0('m_itemCookView')] = R1
  0001  SETTABLE  R0[K1('m_itemCook')] = R2
  0002  SETTABLE  R0[K2('m_effectsTransform')] = R3
  0003  SELF      R5 = R0[K3('_InitView')] (self)
  0004  CALL      R4 = call(R4, 0 args, 1 rets)
  0005  RETURN    return R0..R-1
; ---------- proto1 [OnDisable] ----------
  ; fn ?  line 21-24 np=1 va=0 ms=3 code=5 consts=2 upvals=0 protos=0
  ;   K[0]='OnPlaySpeedAnimFinish'
  ;   K[1]='RemoveSelf'
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('OnPlaySpeedAnimFinish')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  SELF      R2 = R0[K1('RemoveSelf')] (self)
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  RETURN    return R0..R-1
; ---------- proto2 [GetItemCook] ----------
  ; fn ?  line 26-28 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_itemCook'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_itemCook')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto3 [_InitView] ----------
  ; fn ?  line 30-50 np=1 va=0 ms=11 code=59 consts=21 upvals=2 protos=0
  ;   K[0]='transform'
  ;   K[1]='MainBoardView'
  ;   K[2]='GetInstance'
  ;   K[3]='SetParent'
  ;   K[4]='GetCanvas'
  ;   K[5]='UIUtil'
  ;   K[6]='SetLocalPosition'
  ;   K[7]=0
  ;   K[8]='localScale'
  ;   K[9]='V3One'
  ;   K[10]=1
  ;   K[11]='GetItemCook'
  ;   K[12]='GetItemModel'
  ;   K[13]='GetLocalPosition'
  ;   K[14]='z'
  ;   K[15]='table'
  ;   K[16]='insert'
  ;   K[17]='SetSiblingIndex'
  ;   K[18]='parent'
  ;   K[19]='childCount'
  ;   K[20]=2
  ;   upvals: _ENV, arrAnimationView
  ;   locals: self(0-59), transform(1-59), boardView(4-59), index(19-59), zIndex(26-59), (for index)(30-43), (for limit)(30-43), (for step)(30-43), i(31-42)
  0000  GETTABLE  R1 = R0[K0('transform')]
  0001  GETTABUP  R2 = _ENV[K1('MainBoardView')]
  0002  GETTABLE  R2 = R2[K2('GetInstance')]
  0003  CALL      R2 = call(R2, 1 args, 0 rets)
  0004  SELF      R4 = R1[K3('SetParent')] (self)
  0005  SELF      R6 = R2[K4('GetCanvas')] (self)
  0006  CALL      R5 = call(R5, 1 args, 1 rets)
  0007  GETTABLE  R5 = R5[K0('transform')]
  0008  LOADBOOL  R6 = true
  0009  CALL      R3 = call(R3, 0 args, 3 rets)
  0010  GETTABUP  R3 = _ENV[K5('UIUtil')]
  0011  GETTABLE  R3 = R3[K6('SetLocalPosition')]
  0012  MOVE      R4 = R0
  0013  LOADNIL   R5..R5 = nil
  0014  LOADK     R7 = K7 0
  0015  CALL      R3 = call(R3, 0 args, 4 rets)
  0016  GETTABUP  R3 = _ENV[K9('V3One')]
  0017  SETTABLE  R1[K8('localScale')] = R3
  0018  LOADK     R3 = K10 1
  0019  SELF      R5 = R0[K11('GetItemCook')] (self)
  0020  CALL      R4 = call(R4, 1 args, 1 rets)
  0021  SELF      R5 = R4[K12('GetItemModel')] (self)
  0022  CALL      R4 = call(R4, 1 args, 1 rets)
  0023  SELF      R5 = R4[K13('GetLocalPosition')] (self)
  0024  CALL      R4 = call(R4, 1 args, 1 rets)
  0025  GETTABLE  R4 = R4[K14('z')]
  0026  LOADK     R5 = K10 1
  0027  GETUPVAL  R6 = _ENV
  0028  LEN       R6 = len R0
  0029  LOADK     R7 = K10 1
  0030  FORPREP   forprep R5(sBx=11)   -> 42
  0031  GETTABUP  R9 = arrAnimationView[R8]
  0032  SELF      R10 = R9[K11('GetItemCook')] (self)
  0033  CALL      R9 = call(R9, 1 args, 1 rets)
  0034  SELF      R10 = R9[K12('GetItemModel')] (self)
  0035  CALL      R9 = call(R9, 1 args, 1 rets)
  0036  SELF      R10 = R9[K13('GetLocalPosition')] (self)
  0037  CALL      R9 = call(R9, 1 args, 1 rets)
  0038  GETTABLE  R9 = R9[K14('z')]
  0039  LT        if R1 lt R4   -> -126419
  0040  JMP       (jump)   -> 43
  0041  ADD       R3 = K10(1) add R8
  0042  FORLOOP   forloop R5(sBx=-12)   -> 31
  0043  GETTABUP  R5 = _ENV[K15('table')]
  0044  GETTABLE  R5 = R5[K16('insert')]
  0045  GETUPVAL  R6 = _ENV
  0046  MOVE      R7 = R0
  0047  MOVE      R8 = R0
  0048  CALL      R5 = call(R5, 0 args, 3 rets)
  0049  SELF      R6 = R1[K17('SetSiblingIndex')] (self)
  0050  GETTABLE  R7 = R1[K18('parent')]
  0051  GETTABLE  R7 = R7[K19('childCount')]
  0052  SUB       R7 = K20(2) sub R7
  0053  GETUPVAL  R8 = _ENV
  0054  LEN       R8 = len R0
  0055  SUB       R8 = R3 sub R8
  0056  SUB       R7 = R8 sub R7
  0057  CALL      R5 = call(R5, 0 args, 2 rets)
  0058  RETURN    return R0..R-1
; ---------- proto4 [PlaySpeedAnim] ----------
  ; fn ?  line 53-61 np=1 va=0 ms=6 code=10 consts=5 upvals=1 protos=1
  ;   K[0]='GetItemCook'
  ;   K[1]='PlaySpeedAnim'
  ;   K[2]='ItemCookEventType'
  ;   K[3]='SpeedUpAnim2'
  ;   K[4]='callback'
  ;   upvals: _ENV
  ;   locals: self(0-10)
  0000  SELF      R2 = R0[K0('GetItemCook')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  SELF      R2 = R1[K1('PlaySpeedAnim')] (self)
  0003  GETTABUP  R3 = _ENV[K2('ItemCookEventType')]
  0004  GETTABLE  R3 = R3[K3('SpeedUpAnim2')]
  0005  NEWTABLE  R4 = {} (0 items)
  0006  CLOSURE   R5 = closure proto0
  0007  SETTABLE  R4[K4('callback')] = R5
  0008  CALL      R1 = call(R1, 0 args, 3 rets)
  0009  RETURN    return R0..R-1
  ; ---------- proto0 [callback] ----------
    ; fn ?  line 55-59 np=1 va=0 ms=5 code=7 consts=5 upvals=1 protos=0
    ;   K[0]='AddComponent'
    ;   K[1]='typeof'
    ;   K[2]='SortingGroup'
    ;   K[3]='sortingOrder'
    ;   K[4]=0
    ;   upvals: _ENV
    ;   locals: go(0-7), sortingGroup(5-7)
    0000  SELF      R2 = R0[K0('AddComponent')] (self)
    0001  GETTABUP  R3 = _ENV[K1('typeof')]
    0002  GETTABUP  R4 = _ENV[K2('SortingGroup')]
    0003  CALL      R3 = call(R3, -1 args, 1 rets)
    0004  CALL      R1 = call(R1, 1 args, -1 rets)
    0005  SETTABLE  R1[K3('sortingOrder')] = K4(0)
    0006  RETURN    return R0..R-1
; ---------- proto5 [OnPlaySpeedAnimFinish] ----------
  ; fn ?  line 64-66 np=1 va=0 ms=3 code=5 consts=2 upvals=0 protos=0
  ;   K[0]='GetItemCook'
  ;   K[1]='OnPlaySpeedAnimFinish'
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('GetItemCook')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  SELF      R2 = R1[K1('OnPlaySpeedAnimFinish')] (self)
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  RETURN    return R0..R-1
; ---------- proto6 [RemoveSelf] ----------
  ; fn ?  line 69-72 np=1 va=0 ms=4 code=10 consts=5 upvals=2 protos=0
  ;   K[0]='Table'
  ;   K[1]='ListRemove'
  ;   K[2]='AddressableLoader'
  ;   K[3]='Destroy'
  ;   K[4]='gameObject'
  ;   upvals: _ENV, arrAnimationView
  ;   locals: self(0-10)
  0000  GETTABUP  R1 = _ENV[K0('Table')]
  0001  GETTABLE  R1 = R1[K1('ListRemove')]
  0002  GETUPVAL  R2 = _ENV
  0003  MOVE      R3 = R0
  0004  CALL      R1 = call(R1, 0 args, 2 rets)
  0005  GETTABUP  R1 = _ENV[K2('AddressableLoader')]
  0006  GETTABLE  R1 = R1[K3('Destroy')]
  0007  GETTABLE  R2 = R0[K4('gameObject')]
  0008  CALL      R1 = call(R1, 0 args, 1 rets)
  0009  RETURN    return R0..R-1
