# ChestNonstopActivity_View_ChestNonstopActivityOrderAnimation_1817.luac
; fn @ChestNonstopActivityOrderAnimation.lua  line 0-0 np=0 va=1 ms=3 code=51 consts=18 upvals=1 protos=14
;   K[0]='ChestNonstopActivityOrderAnimation'
;   K[1]='setmetatable'
;   K[2]='BaseActivityOrderAnimation'
;   K[3]='__index'
;   K[4]='Init'
;   K[5]='GetOrderAnimationName'
;   K[6]='OnEnable'
;   K[7]='OnDestroy'
;   K[8]='GetOrderCell'
;   K[9]='OnBtnClicked'
;   K[10]='UpdateContentPosition'
;   K[11]='ShowTip'
;   K[12]='OnHit'
;   K[13]='PlayFinishAnimation'
;   K[14]='Update'
;   K[15]='IsActivityValid'
;   K[16]='UpdatePerSecond'
;   K[17]='_OnRewardValidChanged'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  GETTABUP  R2 = _ENV[K2('BaseActivityOrderAnimation')]
0003  CALL      R0 = call(R0, 1 args, 2 rets)
0004  SETTABUP  _ENV[K0('ChestNonstopActivityOrderAnimation')] = R0
0005  GETTABUP  R0 = _ENV[K0('ChestNonstopActivityOrderAnimation')]
0006  GETTABUP  R1 = _ENV[K0('ChestNonstopActivityOrderAnimation')]
0007  SETTABLE  R0[K3('__index')] = R1
0008  GETTABUP  R0 = _ENV[K0('ChestNonstopActivityOrderAnimation')]
0009  CLOSURE   R1 = closure proto0
0010  SETTABLE  R0[K4('Init')] = R1
0011  GETTABUP  R0 = _ENV[K0('ChestNonstopActivityOrderAnimation')]
0012  CLOSURE   R1 = closure proto1
0013  SETTABLE  R0[K5('GetOrderAnimationName')] = R1
0014  GETTABUP  R0 = _ENV[K0('ChestNonstopActivityOrderAnimation')]
0015  CLOSURE   R1 = closure proto2
0016  SETTABLE  R0[K6('OnEnable')] = R1
0017  GETTABUP  R0 = _ENV[K0('ChestNonstopActivityOrderAnimation')]
0018  CLOSURE   R1 = closure proto3
0019  SETTABLE  R0[K7('OnDestroy')] = R1
0020  GETTABUP  R0 = _ENV[K0('ChestNonstopActivityOrderAnimation')]
0021  CLOSURE   R1 = closure proto4
0022  SETTABLE  R0[K8('GetOrderCell')] = R1
0023  GETTABUP  R0 = _ENV[K0('ChestNonstopActivityOrderAnimation')]
0024  CLOSURE   R1 = closure proto5
0025  SETTABLE  R0[K9('OnBtnClicked')] = R1
0026  GETTABUP  R0 = _ENV[K0('ChestNonstopActivityOrderAnimation')]
0027  CLOSURE   R1 = closure proto6
0028  SETTABLE  R0[K10('UpdateContentPosition')] = R1
0029  GETTABUP  R0 = _ENV[K0('ChestNonstopActivityOrderAnimation')]
0030  CLOSURE   R1 = closure proto7
0031  SETTABLE  R0[K11('ShowTip')] = R1
0032  GETTABUP  R0 = _ENV[K0('ChestNonstopActivityOrderAnimation')]
0033  CLOSURE   R1 = closure proto8
0034  SETTABLE  R0[K12('OnHit')] = R1
0035  GETTABUP  R0 = _ENV[K0('ChestNonstopActivityOrderAnimation')]
0036  CLOSURE   R1 = closure proto9
0037  SETTABLE  R0[K13('PlayFinishAnimation')] = R1
0038  GETTABUP  R0 = _ENV[K0('ChestNonstopActivityOrderAnimation')]
0039  CLOSURE   R1 = closure proto10
0040  SETTABLE  R0[K14('Update')] = R1
0041  GETTABUP  R0 = _ENV[K0('ChestNonstopActivityOrderAnimation')]
0042  CLOSURE   R1 = closure proto11
0043  SETTABLE  R0[K15('IsActivityValid')] = R1
0044  GETTABUP  R0 = _ENV[K0('ChestNonstopActivityOrderAnimation')]
0045  CLOSURE   R1 = closure proto12
0046  SETTABLE  R0[K16('UpdatePerSecond')] = R1
0047  GETTABUP  R0 = _ENV[K0('ChestNonstopActivityOrderAnimation')]
0048  CLOSURE   R1 = closure proto13
0049  SETTABLE  R0[K17('_OnRewardValidChanged')] = R1
0050  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 29-58 np=3 va=0 ms=12 code=92 consts=40 upvals=1 protos=0
  ;   K[0]='model'
  ;   K[1]='GetActivityDefinition'
  ;   K[2]='m_orderAnimationName'
  ;   K[3]='ArrOrderAnimationName'
  ;   K[4]='GetChestCustomerData'
  ;   K[5]='GetId'
  ;   K[6]='GetUIBoxId'
  ;   K[7]='BaseActivityOrderAnimation'
  ;   K[8]='Init'
  ;   K[9]='m_data'
  ;   K[10]='GetModel'
  ;   K[11]='m_bInOrderCell'
  ;   K[12]='MainBoardView'
  ;   K[13]='GetInstance'
  ;   K[14]=nil
  ;   K[15]='m_mainOrderArea'
  ;   K[16]='GetOrderArea'
  ;   K[17]='EventDispatcher'
  ;   K[18]='AddListener'
  ;   K[19]='EEventType'
  ;   K[20]='OrderStatusChanged'
  ;   K[21]='_OnRewardValidChanged'
  ;   K[22]='m_bHasTimeLimit'
  ;   K[23]='HasChestCustomerEndTime'
  ;   K[24]='UIUtil'
  ;   K[25]='SetActive'
  ;   K[26]='m_countDownGo'
  ;   K[27]='IsAwardAnimationPlaying'
  ;   K[28]='UpdateContentPosition'
  ;   K[29]='m_finishTime'
  ;   K[30]='GetChestCustomerEndTime'
  ;   K[31]='m_order'
  ;   K[32]='UpdatePerSecond'
  ;   K[33]='m_testText'
  ;   K[34]='text'
  ;   K[35]='string'
  ;   K[36]='format'
  ;   K[37]='type: %s, id: %d\nreward_score: %d'
  ;   K[38]='GetType'
  ;   K[39]='GetRewardScore'
  ;   upvals: _ENV
  ;   locals: self(0-92), order(0-92), args(0-92), model(1-92), activityDefinition(3-92), mainBoardView(32-74)
  0000  GETTABLE  R3 = R2[K0('model')]
  0001  SELF      R5 = R3[K1('GetActivityDefinition')] (self)
  0002  CALL      R4 = call(R4, 1 args, 1 rets)
  0003  GETTABLE  R5 = R4[K3('ArrOrderAnimationName')]
  0004  SELF      R7 = R3[K4('GetChestCustomerData')] (self)
  0005  SELF      R9 = R1[K5('GetId')] (self)
  0006  CALL      R8 = call(R8, -1 args, 1 rets)
  0007  CALL      R6 = call(R6, 1 args, -1 rets)
  0008  SELF      R7 = R6[K6('GetUIBoxId')] (self)
  0009  MOVE      R8 = R0
  0010  CALL      R6 = call(R6, 1 args, 2 rets)
  0011  GETTABLE  R5 = R5[R6]
  0012  SETTABLE  R0[K2('m_orderAnimationName')] = R5
  0013  GETTABUP  R5 = _ENV[K7('BaseActivityOrderAnimation')]
  0014  GETTABLE  R5 = R5[K8('Init')]
  0015  MOVE      R6 = R0
  0016  MOVE      R7 = R0
  0017  MOVE      R8 = R0
  0018  CALL      R5 = call(R5, 0 args, 3 rets)
  0019  SELF      R6 = R0[K10('GetModel')] (self)
  0020  CALL      R5 = call(R5, 1 args, 1 rets)
  0021  SELF      R6 = R5[K4('GetChestCustomerData')] (self)
  0022  SELF      R8 = R1[K5('GetId')] (self)
  0023  CALL      R7 = call(R7, -1 args, 1 rets)
  0024  CALL      R5 = call(R5, 1 args, -1 rets)
  0025  SETTABLE  R0[K9('m_data')] = R5
  0026  GETTABLE  R5 = R0[K11('m_bInOrderCell')]
  0027  TEST      if not R5 then   -> -131043
  0028  JMP       (jump)   -> 74
  0029  GETTABUP  R5 = _ENV[K12('MainBoardView')]
  0030  GETTABLE  R5 = R5[K13('GetInstance')]
  0031  CALL      R5 = call(R5, 1 args, 0 rets)
  0032  EQ        if R1 eq K14(nil)   -> -128208
  0033  JMP       (jump)   -> 46
  0034  SELF      R7 = R5[K16('GetOrderArea')] (self)
  0035  CALL      R6 = call(R6, 1 args, 1 rets)
  0036  SETTABLE  R0[K15('m_mainOrderArea')] = R6
  0037  GETTABUP  R6 = _ENV[K17('EventDispatcher')]
  0038  GETTABLE  R6 = R6[K18('AddListener')]
  0039  GETTABUP  R7 = _ENV[K19('EEventType')]
  0040  GETTABLE  R7 = R7[K20('OrderStatusChanged')]
  0041  MOVE      R8 = R0
  0042  GETTABLE  R9 = R0[K21('_OnRewardValidChanged')]
  0043  CALL      R6 = call(R6, 0 args, 3 rets)
  0044  SELF      R7 = R0[K21('_OnRewardValidChanged')] (self)
  0045  CALL      R6 = call(R6, 0 args, 1 rets)
  0046  SELF      R7 = R0[K10('GetModel')] (self)
  0047  CALL      R6 = call(R6, 1 args, 1 rets)
  0048  SELF      R7 = R6[K23('HasChestCustomerEndTime')] (self)
  0049  SELF      R9 = R1[K5('GetId')] (self)
  0050  CALL      R8 = call(R8, -1 args, 1 rets)
  0051  CALL      R6 = call(R6, 1 args, -1 rets)
  0052  SETTABLE  R0[K22('m_bHasTimeLimit')] = R6
  0053  GETTABUP  R6 = _ENV[K24('UIUtil')]
  0054  GETTABLE  R6 = R6[K25('SetActive')]
  0055  GETTABLE  R7 = R0[K26('m_countDownGo')]
  0056  GETTABLE  R8 = R0[K22('m_bHasTimeLimit')]
  0057  CALL      R6 = call(R6, 0 args, 2 rets)
  0058  SELF      R7 = R0[K10('GetModel')] (self)
  0059  CALL      R6 = call(R6, 1 args, 1 rets)
  0060  SELF      R7 = R6[K27('IsAwardAnimationPlaying')] (self)
  0061  CALL      R6 = call(R6, 1 args, 1 rets)
  0062  TEST      if not R6 then   -> -131007
  0063  JMP       (jump)   -> 66
  0064  SELF      R7 = R0[K28('UpdateContentPosition')] (self)
  0065  CALL      R6 = call(R6, 0 args, 1 rets)
  0066  SELF      R7 = R0[K10('GetModel')] (self)
  0067  CALL      R6 = call(R6, 1 args, 1 rets)
  0068  SELF      R7 = R6[K30('GetChestCustomerEndTime')] (self)
  0069  GETTABLE  R8 = R0[K31('m_order')]
  0070  SELF      R9 = R8[K5('GetId')] (self)
  0071  CALL      R8 = call(R8, -1 args, 1 rets)
  0072  CALL      R6 = call(R6, 1 args, -1 rets)
  0073  SETTABLE  R0[K29('m_finishTime')] = R6
  0074  SELF      R6 = R0[K32('UpdatePerSecond')] (self)
  0075  CALL      R5 = call(R5, 0 args, 1 rets)
  0076  GETTABLE  R5 = R0[K33('m_testText')]
  0077  GETTABUP  R6 = _ENV[K35('string')]
  0078  GETTABLE  R6 = R6[K36('format')]
  0079  LOADK     R7 = K37 'type: %s, id: %d\nreward_score: %d'
  0080  GETTABLE  R8 = R0[K9('m_data')]
  0081  SELF      R9 = R8[K38('GetType')] (self)
  0082  CALL      R8 = call(R8, 1 args, 1 rets)
  0083  GETTABLE  R9 = R0[K9('m_data')]
  0084  SELF      R10 = R9[K5('GetId')] (self)
  0085  CALL      R9 = call(R9, 1 args, 1 rets)
  0086  GETTABLE  R10 = R0[K9('m_data')]
  0087  SELF      R11 = R10[K39('GetRewardScore')] (self)
  0088  CALL      R10 = call(R10, -1 args, 1 rets)
  0089  CALL      R6 = call(R6, 1 args, -1 rets)
  0090  SETTABLE  R5[K34('text')] = R6
  0091  RETURN    return R0..R-1
; ---------- proto1 [GetOrderAnimationName] ----------
  ; fn ?  line 61-63 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_orderAnimationName'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_orderAnimationName')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto2 [OnEnable] ----------
  ; fn ?  line 65-69 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
; ---------- proto3 [OnDestroy] ----------
  ; fn ?  line 72-79 np=1 va=0 ms=6 code=28 consts=15 upvals=1 protos=0
  ;   K[0]='BaseActivityOrderAnimation'
  ;   K[1]='OnDestroy'
  ;   K[2]='EventDispatcher'
  ;   K[3]='RemoveTarget'
  ;   K[4]='m_bInOrderCell'
  ;   K[5]='GM'
  ;   K[6]='UIManager'
  ;   K[7]='HideTip'
  ;   K[8]='GetModel'
  ;   K[9]='GetActivityDefinition'
  ;   K[10]='TipPrefabName'
  ;   K[11]='AddressableLoader'
  ;   K[12]='Destroy'
  ;   K[13]='m_contentRoot'
  ;   K[14]='gameObject'
  ;   upvals: _ENV
  ;   locals: self(0-28)
  0000  GETTABUP  R1 = _ENV[K0('BaseActivityOrderAnimation')]
  0001  GETTABLE  R1 = R1[K1('OnDestroy')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  GETTABUP  R1 = _ENV[K2('EventDispatcher')]
  0005  GETTABLE  R1 = R1[K3('RemoveTarget')]
  0006  MOVE      R2 = R0
  0007  CALL      R1 = call(R1, 0 args, 1 rets)
  0008  GETTABLE  R1 = R0[K4('m_bInOrderCell')]
  0009  TEST      if not R1 then   -> -131061
  0010  JMP       (jump)   -> 27
  0011  GETTABUP  R1 = _ENV[K5('GM')]
  0012  GETTABLE  R1 = R1[K6('UIManager')]
  0013  SELF      R2 = R1[K7('HideTip')] (self)
  0014  MOVE      R3 = R0
  0015  SELF      R5 = R0[K8('GetModel')] (self)
  0016  CALL      R4 = call(R4, 1 args, 1 rets)
  0017  SELF      R5 = R4[K9('GetActivityDefinition')] (self)
  0018  CALL      R4 = call(R4, 1 args, 1 rets)
  0019  GETTABLE  R4 = R4[K10('TipPrefabName')]
  0020  LOADBOOL  R5 = true
  0021  CALL      R1 = call(R1, 0 args, 4 rets)
  0022  GETTABUP  R1 = _ENV[K11('AddressableLoader')]
  0023  GETTABLE  R1 = R1[K12('Destroy')]
  0024  GETTABLE  R2 = R0[K13('m_contentRoot')]
  0025  GETTABLE  R2 = R2[K14('gameObject')]
  0026  CALL      R1 = call(R1, 0 args, 1 rets)
  0027  RETURN    return R0..R-1
; ---------- proto4 [GetOrderCell] ----------
  ; fn ?  line 81-83 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_orderCell'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_orderCell')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto5 [OnBtnClicked] ----------
  ; fn ?  line 85-87 np=1 va=0 ms=3 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='ShowTip'
  ;   locals: self(0-3)
  0000  SELF      R2 = R0[K0('ShowTip')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  RETURN    return R0..R-1
; ---------- proto6 [UpdateContentPosition] ----------
  ; fn ?  line 89-92 np=1 va=0 ms=5 code=8 consts=4 upvals=0 protos=0
  ;   K[0]='m_contentRoot'
  ;   K[1]='SetParent'
  ;   K[2]='m_orderCell'
  ;   K[3]='GetAvatarFrontRoot'
  ;   locals: self(0-8)
  0000  GETTABLE  R1 = R0[K0('m_contentRoot')]
  0001  SELF      R2 = R1[K1('SetParent')] (self)
  0002  GETTABLE  R3 = R0[K2('m_orderCell')]
  0003  SELF      R4 = R3[K3('GetAvatarFrontRoot')] (self)
  0004  CALL      R3 = call(R3, 1 args, 1 rets)
  0005  LOADBOOL  R4 = false
  0006  CALL      R1 = call(R1, 0 args, 3 rets)
  0007  RETURN    return R0..R-1
; ---------- proto7 [ShowTip] ----------
  ; fn ?  line 94-99 np=1 va=0 ms=10 code=24 consts=13 upvals=1 protos=0
  ;   K[0]='m_mainOrderArea'
  ;   K[1]='OnShowTip'
  ;   K[2]='GetModel'
  ;   K[3]='GetActivityDefinition'
  ;   K[4]='GM'
  ;   K[5]='UIManager'
  ;   K[6]='OpenTip'
  ;   K[7]='TipPrefabName'
  ;   K[8]='GetChestNonstopRewardBubbleNode'
  ;   K[9]='m_data'
  ;   K[10]='GetUIBoxId'
  ;   K[11]='m_tipRoot'
  ;   K[12]='position'
  ;   upvals: _ENV
  ;   locals: self(0-24), activityDefinition(7-24)
  0000  GETTABLE  R1 = R0[K0('m_mainOrderArea')]
  0001  SELF      R2 = R1[K1('OnShowTip')] (self)
  0002  CALL      R1 = call(R1, 0 args, 1 rets)
  0003  SELF      R2 = R0[K2('GetModel')] (self)
  0004  CALL      R1 = call(R1, 1 args, 1 rets)
  0005  SELF      R2 = R1[K3('GetActivityDefinition')] (self)
  0006  CALL      R1 = call(R1, 1 args, 1 rets)
  0007  GETTABUP  R2 = _ENV[K4('GM')]
  0008  GETTABLE  R2 = R2[K5('UIManager')]
  0009  SELF      R3 = R2[K6('OpenTip')] (self)
  0010  MOVE      R4 = R0
  0011  GETTABLE  R5 = R1[K7('TipPrefabName')]
  0012  GETTABLE  R6 = R0[K0('m_mainOrderArea')]
  0013  SELF      R7 = R6[K8('GetChestNonstopRewardBubbleNode')] (self)
  0014  CALL      R6 = call(R6, 1 args, 1 rets)
  0015  GETTABLE  R7 = R0[K9('m_data')]
  0016  SELF      R8 = R7[K10('GetUIBoxId')] (self)
  0017  MOVE      R9 = R0
  0018  CALL      R7 = call(R7, 1 args, 2 rets)
  0019  LOADBOOL  R8 = true
  0020  GETTABLE  R9 = R0[K11('m_tipRoot')]
  0021  GETTABLE  R9 = R9[K12('position')]
  0022  CALL      R2 = call(R2, 0 args, 7 rets)
  0023  RETURN    return R0..R-1
; ---------- proto8 [OnHit] ----------
  ; fn ?  line 101-105 np=1 va=0 ms=4 code=15 consts=11 upvals=1 protos=0
  ;   K[0]='m_hitEffect'
  ;   K[1]='Play'
  ;   K[2]='GM'
  ;   K[3]='AudioModel'
  ;   K[4]='PlayEffect'
  ;   K[5]='AudioFileConfigName'
  ;   K[6]='SfxNewItem'
  ;   K[7]='PlatformInterface'
  ;   K[8]='Vibrate'
  ;   K[9]='EVibrationType'
  ;   K[10]='Medium'
  ;   upvals: _ENV
  ;   locals: self(0-15)
  0000  GETTABLE  R1 = R0[K0('m_hitEffect')]
  0001  SELF      R2 = R1[K1('Play')] (self)
  0002  CALL      R1 = call(R1, 0 args, 1 rets)
  0003  GETTABUP  R1 = _ENV[K2('GM')]
  0004  GETTABLE  R1 = R1[K3('AudioModel')]
  0005  SELF      R2 = R1[K4('PlayEffect')] (self)
  0006  GETTABUP  R3 = _ENV[K5('AudioFileConfigName')]
  0007  GETTABLE  R3 = R3[K6('SfxNewItem')]
  0008  CALL      R1 = call(R1, 0 args, 2 rets)
  0009  GETTABUP  R1 = _ENV[K7('PlatformInterface')]
  0010  GETTABLE  R1 = R1[K8('Vibrate')]
  0011  GETTABUP  R2 = _ENV[K9('EVibrationType')]
  0012  GETTABLE  R2 = R2[K10('Medium')]
  0013  CALL      R1 = call(R1, 0 args, 1 rets)
  0014  RETURN    return R0..R-1
; ---------- proto9 [PlayFinishAnimation] ----------
  ; fn ?  line 109-252 np=2 va=0 ms=27 code=157 consts=36 upvals=1 protos=5
  ;   K[0]='m_arrRewards'
  ;   K[1]='m_arrItemRewards'
  ;   K[2]='GetModel'
  ;   K[3]='GetAndClearRewardsForView'
  ;   K[4]='m_order'
  ;   K[5]='GetId'
  ;   K[6]='DOTween'
  ;   K[7]='Sequence'
  ;   K[8]='Append'
  ;   K[9]='m_countDownRectTransform'
  ;   K[10]='DOScale'
  ;   K[11]='Vector3'
  ;   K[12]=0
  ;   K[13]=1
  ;   K[14]=0.2
  ;   K[15]='AppendInterval'
  ;   K[16]=0.3
  ;   K[17]='AppendCallback'
  ;   K[18]=0.5
  ;   K[19]=0.6
  ;   K[20]='Table'
  ;   K[21]='IsEmpty'
  ;   K[22]='ipairs'
  ;   K[23]='PROPERTY_COUNT'
  ;   K[24]=1.5
  ;   K[25]='MainBoardView'
  ;   K[26]='GetInstance'
  ;   K[27]=nil
  ;   K[28]='BoardPosition'
  ;   K[29]='SortItemsByPosition'
  ;   K[30]='PROPERTY_TYPE'
  ;   K[31]='GM'
  ;   K[32]='ItemDataModel'
  ;   K[33]='IsItemExist'
  ;   K[34]=1
  ;   K[35]='AppendCallback'
  ;   upvals: _ENV
  ;   locals: self(0-157), rewardCallback(0-157), sequence(12-157), spreadAnimationTime(36-157), totalRewardCount(37-157), bHasRewards(42-157), bHasItemRewards(47-157), bHasBothRewards(50-157), (for generator)(55-61), (for state)(55-61), (for control)(55-61), _(56-59), rewardInfo(56-59), middleIntervalWeight(67-157), interval(72-157), boardView(75-157), bHasItemReward(76-157), (for generator)(87-99), (for state)(87-99), (for control)(87-99), _(88-97), itemModel(88-97), itemModel(90-97), (for generator)(109-150), (for state)(109-150), (for control)(109-150), _(110-148), rewardInfo(110-148), reward(114-148), count(114-148), tempReward(115-148), (for index)(139-147), (for limit)(139-147), (for step)(139-147), i(140-146)
  0000  SELF      R3 = R0[K2('GetModel')] (self)
  0001  CALL      R2 = call(R2, 1 args, 1 rets)
  0002  SELF      R3 = R2[K3('GetAndClearRewardsForView')] (self)
  0003  GETTABLE  R4 = R0[K4('m_order')]
  0004  SELF      R5 = R4[K5('GetId')] (self)
  0005  CALL      R4 = call(R4, -1 args, 1 rets)
  0006  CALL      R2 = call(R2, 2 args, -1 rets)
  0007  SETTABLE  R0[K1('m_arrItemRewards')] = R3
  0008  SETTABLE  R0[K0('m_arrRewards')] = R2
  0009  GETTABUP  R2 = _ENV[K6('DOTween')]
  0010  GETTABLE  R2 = R2[K7('Sequence')]
  0011  CALL      R2 = call(R2, 1 args, 0 rets)
  0012  SELF      R4 = R2[K8('Append')] (self)
  0013  GETTABLE  R5 = R0[K9('m_countDownRectTransform')]
  0014  SELF      R6 = R5[K10('DOScale')] (self)
  0015  GETTABUP  R7 = _ENV[K11('Vector3')]
  0016  LOADK     R8 = K12 0
  0017  LOADK     R9 = K12 0
  0018  LOADK     R10 = K13 1
  0019  CALL      R7 = call(R7, 1 args, 3 rets)
  0020  LOADK     R8 = K14 0.2
  0021  CALL      R5 = call(R5, -1 args, 3 rets)
  0022  CALL      R3 = call(R3, 0 args, -1 rets)
  0023  SELF      R4 = R2[K15('AppendInterval')] (self)
  0024  LOADK     R5 = K16 0.3
  0025  CALL      R3 = call(R3, 0 args, 2 rets)
  0026  SELF      R4 = R2[K17('AppendCallback')] (self)
  0027  CLOSURE   R5 = closure proto0
  0028  CALL      R3 = call(R3, 0 args, 2 rets)
  0029  SELF      R4 = R2[K15('AppendInterval')] (self)
  0030  LOADK     R5 = K18 0.5
  0031  CALL      R3 = call(R3, 0 args, 2 rets)
  0032  SELF      R4 = R2[K17('AppendCallback')] (self)
  0033  CLOSURE   R5 = closure proto1
  0034  CALL      R3 = call(R3, 0 args, 2 rets)
  0035  LOADK     R3 = K19 0.6
  0036  LOADK     R4 = K12 0
  0037  GETTABUP  R5 = _ENV[K20('Table')]
  0038  GETTABLE  R5 = R5[K21('IsEmpty')]
  0039  GETTABLE  R6 = R0[K0('m_arrRewards')]
  0040  CALL      R5 = call(R5, 1 args, 1 rets)
  0041  NOT       R5 = not R0
  0042  GETTABUP  R6 = _ENV[K20('Table')]
  0043  GETTABLE  R6 = R6[K21('IsEmpty')]
  0044  GETTABLE  R7 = R0[K1('m_arrItemRewards')]
  0045  CALL      R6 = call(R6, 1 args, 1 rets)
  0046  NOT       R6 = not R0
  0047  TESTSET   if R0 then R7   -> -128463
  0048  JMP       (jump)   -> 50
  0049  MOVE      R7 = R0
  0050  TEST      if not R5 then   -> -131020
  0051  JMP       (jump)   -> 61
  0052  GETTABUP  R8 = _ENV[K22('ipairs')]
  0053  GETTABLE  R9 = R0[K0('m_arrRewards')]
  0054  CALL      R8 = call(R8, 3 args, 1 rets)
  0055  JMP       (jump)   -> 59
  0056  GETTABUP  R13 = _ENV[K23('PROPERTY_COUNT')]
  0057  GETTABLE  R13 = R12[R13]
  0058  ADD       R4 = R13 add R4
  0059  TFORCALL  tforcall R8
  0060  TFORLOOP  tforloop R10(sBx=-5)   -> 56
  0061  TEST      if not R6 then   -> -131009
  0062  JMP       (jump)   -> 66
  0063  GETTABLE  R8 = R0[K1('m_arrItemRewards')]
  0064  LEN       R8 = len R0
  0065  ADD       R4 = R8 add R4
  0066  LOADK     R8 = K24 1.5
  0067  TEST      if not R7 then   -> -131003
  0068  JMP       (jump)   -> 70
  0069  ADD       R4 = R8 add R4
  0070  SUB       R9 = K13(1) sub R4
  0071  DIV       R9 = R9 div R3
  0072  GETTABUP  R10 = _ENV[K25('MainBoardView')]
  0073  GETTABLE  R10 = R10[K26('GetInstance')]
  0074  CALL      R10 = call(R10, 1 args, 0 rets)
  0075  LOADBOOL  R11 = false
  0076  EQ        if R1 eq K27(nil)   -> -125591
  0077  JMP       (jump)   -> 99
  0078  TEST      if not R6 then   -> -130992
  0079  JMP       (jump)   -> 99
  0080  GETTABUP  R12 = _ENV[K28('BoardPosition')]
  0081  GETTABLE  R12 = R12[K29('SortItemsByPosition')]
  0082  GETTABLE  R13 = R0[K1('m_arrItemRewards')]
  0083  CALL      R12 = call(R12, 0 args, 1 rets)
  0084  GETTABUP  R12 = _ENV[K22('ipairs')]
  0085  GETTABLE  R13 = R0[K1('m_arrItemRewards')]
  0086  CALL      R12 = call(R12, 3 args, 1 rets)
  0087  JMP       (jump)   -> 97
  0088  LOADBOOL  R11 = true
  0089  MOVE      R17 = R0
  0090  SELF      R19 = R2[K17('AppendCallback')] (self)
  0091  CLOSURE   R20 = closure proto2
  0092  CALL      R18 = call(R18, 0 args, 2 rets)
  0093  SELF      R19 = R2[K15('AppendInterval')] (self)
  0094  MOVE      R20 = R0
  0095  CALL      R18 = call(R18, 0 args, 2 rets)
  0096  JMP       (jump)   -> 97
  0097  TFORCALL  tforcall R12
  0098  TFORLOOP  tforloop R14(sBx=-11)   -> 88
  0099  TEST      if not R7 then   -> -130971
  0100  JMP       (jump)   -> 104
  0101  SELF      R13 = R2[K15('AppendInterval')] (self)
  0102  MUL       R14 = R8 mul R9
  0103  CALL      R12 = call(R12, 0 args, 2 rets)
  0104  TEST      if not R5 then   -> -130966
  0105  JMP       (jump)   -> 150
  0106  GETTABUP  R12 = _ENV[K22('ipairs')]
  0107  GETTABLE  R13 = R0[K0('m_arrRewards')]
  0108  CALL      R12 = call(R12, 3 args, 1 rets)
  0109  JMP       (jump)   -> 148
  0110  GETTABUP  R17 = _ENV[K30('PROPERTY_TYPE')]
  0111  GETTABLE  R17 = R16[R17]
  0112  GETTABUP  R18 = _ENV[K23('PROPERTY_COUNT')]
  0113  GETTABLE  R18 = R16[R18]
  0114  LOADNIL   R19..R19 = nil
  0115  GETTABUP  R20 = _ENV[K31('GM')]
  0116  GETTABLE  R20 = R20[K32('ItemDataModel')]
  0117  SELF      R21 = R20[K33('IsItemExist')] (self)
  0118  MOVE      R22 = R0
  0119  CALL      R20 = call(R20, 1 args, 2 rets)
  0120  TEST      if not R20 then   -> -130950
  0121  JMP       (jump)   -> 131
  0122  NEWTABLE  R20 = {} (1 items)
  0123  NEWTABLE  R21 = {} (0 items)
  0124  GETTABUP  R22 = _ENV[K30('PROPERTY_TYPE')]
  0125  SETTABLE  R21[R22] = R17
  0126  GETTABUP  R22 = _ENV[K23('PROPERTY_COUNT')]
  0127  SETTABLE  R21[R22] = K34(1)
  0128  SETLIST   setlist R20[B=1,C=1]
  0129  MOVE      R19 = R0
  0130  JMP       (jump)   -> 136
  0131  NEWTABLE  R20 = {} (1 items)
  0132  MOVE      R21 = R0
  0133  SETLIST   setlist R20[B=1,C=1]
  0134  MOVE      R19 = R0
  0135  LOADK     R18 = K34 1
  0136  LOADK     R20 = K34 1
  0137  MOVE      R21 = R0
  0138  LOADK     R22 = K34 1
  0139  FORPREP   forprep R20(sBx=6)   -> 146
  0140  SELF      R25 = R2[K35('AppendCallback')] (self)
  0141  CLOSURE   R26 = closure proto3
  0142  CALL      R24 = call(R24, 0 args, 2 rets)
  0143  SELF      R25 = R2[K15('AppendInterval')] (self)
  0144  MOVE      R26 = R0
  0145  CALL      R24 = call(R24, 0 args, 2 rets)
  0146  FORLOOP   forloop R20(sBx=-7)   -> 140
  0147  JMP       (jump)   -> 148
  0148  TFORCALL  tforcall R12
  0149  TFORLOOP  tforloop R14(sBx=-40)   -> 110
  0150  SELF      R13 = R2[K15('AppendInterval')] (self)
  0151  LOADK     R14 = K34 1
  0152  CALL      R12 = call(R12, 0 args, 2 rets)
  0153  SELF      R13 = R2[K35('AppendCallback')] (self)
  0154  CLOSURE   R14 = closure proto4
  0155  CALL      R12 = call(R12, 0 args, 2 rets)
  0156  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 118-120 np=0 va=0 ms=4 code=7 consts=4 upvals=1 protos=0
    ;   K[0]='m_mainOrderArea'
    ;   K[1]='ScrollToRectTransformMiddle'
    ;   K[2]='m_orderCell'
    ;   K[3]='transform'
    ;   upvals: self
    0000  GETTABUP  R0 = self[K0('m_mainOrderArea')]
    0001  SELF      R1 = R0[K1('ScrollToRectTransformMiddle')] (self)
    0002  GETTABUP  R2 = self[K2('m_orderCell')]
    0003  GETTABLE  R2 = R2[K3('transform')]
    0004  LOADBOOL  R3 = true
    0005  CALL      R0 = call(R0, 0 args, 3 rets)
    0006  RETURN    return R0..R-1
  ; ---------- proto1 [] ----------
    ; fn ?  line 122-127 np=0 va=0 ms=4 code=11 consts=6 upvals=1 protos=0
    ;   K[0]='m_bForceMiddle'
    ;   K[1]=true
    ;   K[2]='_SetAnimation'
    ;   K[3]='reward'
    ;   K[4]='_AddRepeatAnimation'
    ;   K[5]='finished'
    ;   upvals: self
    0000  SETTABUP  self[K0('m_bForceMiddle')] = K1(true)
    0001  GETUPVAL  R0 = self
    0002  SELF      R1 = R0[K2('_SetAnimation')] (self)
    0003  LOADK     R2 = K3 'reward'
    0004  LOADBOOL  R3 = false
    0005  CALL      R0 = call(R0, 0 args, 3 rets)
    0006  GETUPVAL  R0 = self
    0007  SELF      R1 = R0[K4('_AddRepeatAnimation')] (self)
    0008  LOADK     R2 = K5 'finished'
    0009  CALL      R0 = call(R0, 0 args, 2 rets)
    0010  RETURN    return R0..R-1
  ; ---------- proto2 [] ----------
    ; fn ?  line 161-202 np=0 va=0 ms=20 code=121 consts=54 upvals=5 protos=1
    ;   K[0]='PositionUtil'
    ;   K[1]='UICameraScreen2World'
    ;   K[2]='ConvertWorldPositionToScreenPosition'
    ;   K[3]='m_rewardRoot'
    ;   K[4]='position'
    ;   K[5]='Object'
    ;   K[6]='Instantiate'
    ;   K[7]='m_flyingItemViewPrefab'
    ;   K[8]='Quaternion'
    ;   K[9]='identity'
    ;   K[10]='GM'
    ;   K[11]='UIManager'
    ;   K[12]='GetCanvasRoot'
    ;   K[13]='GetLuaTable'
    ;   K[14]='Init'
    ;   K[15]='GetSpriteName'
    ;   K[16]='transform'
    ;   K[17]='UIUtil'
    ;   K[18]='SetLocalScale'
    ;   K[19]=1
    ;   K[20]='PlayItemAppearAnimFromUICustom'
    ;   K[21]='spreadLightPrefab'
    ;   K[22]='m_spreadEffectPrefab'
    ;   K[23]='z'
    ;   K[24]='DOTween'
    ;   K[25]='Sequence'
    ;   K[26]='Append'
    ;   K[27]='DOScale'
    ;   K[28]=2.2
    ;   K[29]=0.3
    ;   K[30]=0.7
    ;   K[31]=0.1
    ;   K[32]=0.15
    ;   K[33]='Vector3'
    ;   K[34]=0
    ;   K[35]=200
    ;   K[36]=0.25
    ;   K[37]='DOPath'
    ;   K[38]=0.6
    ;   K[39]='PathType'
    ;   K[40]='CubicBezier'
    ;   K[41]='PathMode'
    ;   K[42]='TopDown2D'
    ;   K[43]='SetEase'
    ;   K[44]='Ease'
    ;   K[45]='OutQuad'
    ;   K[46]='InsertCallback'
    ;   K[47]='Duration'
    ;   K[48]=0.2
    ;   K[49]='AppendCallback'
    ;   K[50]='AudioModel'
    ;   K[51]='PlayEffect'
    ;   K[52]='AudioFileConfigName'
    ;   K[53]='SfxPlaneItemDeliver'
    ;   upvals: _ENV, boardView, self, itemModel, sequence
    ;   locals: startPosition(8-121), go(19-121), transform(27-121), itemView(40-121), endPosition(40-121), spreadLightCallback(40-121), finishCallback(40-121), sequenceItemView(45-121), sequenceItemViewScale(48-121), displacement(76-121), delta(81-121), waypoints(90-121)
    0000  GETTABUP  R0 = _ENV[K0('PositionUtil')]
    0001  GETTABLE  R0 = R0[K1('UICameraScreen2World')]
    0002  GETUPVAL  R1 = _ENV
    0003  SELF      R2 = R1[K2('ConvertWorldPositionToScreenPosition')] (self)
    0004  GETTABUP  R3 = self[K3('m_rewardRoot')]
    0005  GETTABLE  R3 = R3[K4('position')]
    0006  CALL      R1 = call(R1, -1 args, 2 rets)
    0007  CALL      R0 = call(R0, 1 args, -1 rets)
    0008  GETTABUP  R1 = _ENV[K5('Object')]
    0009  GETTABLE  R1 = R1[K6('Instantiate')]
    0010  GETTABUP  R2 = self[K7('m_flyingItemViewPrefab')]
    0011  MOVE      R3 = R0
    0012  GETTABUP  R4 = _ENV[K8('Quaternion')]
    0013  GETTABLE  R4 = R4[K9('identity')]
    0014  GETTABUP  R5 = _ENV[K10('GM')]
    0015  GETTABLE  R5 = R5[K11('UIManager')]
    0016  SELF      R6 = R5[K12('GetCanvasRoot')] (self)
    0017  CALL      R5 = call(R5, -1 args, 1 rets)
    0018  CALL      R1 = call(R1, 1 args, -1 rets)
    0019  SELF      R3 = R1[K13('GetLuaTable')] (self)
    0020  CALL      R2 = call(R2, 1 args, 1 rets)
    0021  SELF      R3 = R2[K14('Init')] (self)
    0022  GETUPVAL  R4 = _ENV
    0023  SELF      R5 = R4[K15('GetSpriteName')] (self)
    0024  CALL      R4 = call(R4, -1 args, 1 rets)
    0025  CALL      R2 = call(R2, 0 args, -1 rets)
    0026  GETTABLE  R2 = R1[K16('transform')]
    0027  GETTABUP  R3 = _ENV[K17('UIUtil')]
    0028  GETTABLE  R3 = R3[K18('SetLocalScale')]
    0029  MOVE      R4 = R0
    0030  LOADK     R5 = K19 1
    0031  LOADK     R6 = K19 1
    0032  CALL      R3 = call(R3, 0 args, 3 rets)
    0033  GETUPVAL  R3 = _ENV
    0034  SELF      R4 = R3[K20('PlayItemAppearAnimFromUICustom')] (self)
    0035  GETUPVAL  R5 = _ENV
    0036  NEWTABLE  R6 = {} (0 items)
    0037  GETTABUP  R7 = self[K22('m_spreadEffectPrefab')]
    0038  SETTABLE  R6[K21('spreadLightPrefab')] = R7
    0039  CALL      R3 = call(R3, 4 args, 3 rets)
    0040  GETTABLE  R7 = R0[K23('z')]
    0041  SETTABLE  R4[K23('z')] = R7
    0042  GETTABUP  R7 = _ENV[K24('DOTween')]
    0043  GETTABLE  R7 = R7[K25('Sequence')]
    0044  CALL      R7 = call(R7, 1 args, 0 rets)
    0045  GETTABUP  R8 = _ENV[K24('DOTween')]
    0046  GETTABLE  R8 = R8[K25('Sequence')]
    0047  CALL      R8 = call(R8, 1 args, 0 rets)
    0048  SELF      R10 = R8[K26('Append')] (self)
    0049  SELF      R12 = R2[K27('DOScale')] (self)
    0050  LOADK     R13 = K28 2.2
    0051  LOADK     R14 = K29 0.3
    0052  CALL      R11 = call(R11, -1 args, 3 rets)
    0053  CALL      R9 = call(R9, 0 args, -1 rets)
    0054  SELF      R10 = R8[K26('Append')] (self)
    0055  SELF      R12 = R2[K27('DOScale')] (self)
    0056  LOADK     R13 = K19 1
    0057  LOADK     R14 = K29 0.3
    0058  CALL      R11 = call(R11, -1 args, 3 rets)
    0059  CALL      R9 = call(R9, 0 args, -1 rets)
    0060  SELF      R10 = R8[K26('Append')] (self)
    0061  SELF      R12 = R2[K27('DOScale')] (self)
    0062  LOADK     R13 = K30 0.7
    0063  LOADK     R14 = K31 0.1
    0064  CALL      R11 = call(R11, -1 args, 3 rets)
    0065  CALL      R9 = call(R9, 0 args, -1 rets)
    0066  SELF      R10 = R8[K26('Append')] (self)
    0067  SELF      R12 = R2[K27('DOScale')] (self)
    0068  LOADK     R13 = K19 1
    0069  LOADK     R14 = K32 0.15
    0070  CALL      R11 = call(R11, -1 args, 3 rets)
    0071  CALL      R9 = call(R9, 0 args, -1 rets)
    0072  SELF      R10 = R7[K26('Append')] (self)
    0073  MOVE      R11 = R0
    0074  CALL      R9 = call(R9, 0 args, 2 rets)
    0075  SUB       R9 = R0 sub R4
    0076  GETTABUP  R10 = _ENV[K33('Vector3')]
    0077  LOADK     R11 = K34 0
    0078  LOADK     R12 = K35 200
    0079  LOADK     R13 = K34 0
    0080  CALL      R10 = call(R10, 1 args, 3 rets)
    0081  NEWTABLE  R11 = {} (3 items)
    0082  MOVE      R12 = R0
    0083  MUL       R13 = K36(0.25) mul R9
    0084  ADD       R13 = R13 add R0
    0085  ADD       R13 = R10 add R13
    0086  MUL       R14 = K36(0.25) mul R9
    0087  SUB       R14 = R14 sub R4
    0088  ADD       R14 = R10 add R14
    0089  SETLIST   setlist R11[B=1,C=3]
    0090  GETUPVAL  R12 = _ENV
    0091  SELF      R13 = R12[K26('Append')] (self)
    0092  SELF      R15 = R2[K37('DOPath')] (self)
    0093  MOVE      R16 = R0
    0094  LOADK     R17 = K38 0.6
    0095  GETTABUP  R18 = _ENV[K39('PathType')]
    0096  GETTABLE  R18 = R18[K40('CubicBezier')]
    0097  GETTABUP  R19 = _ENV[K41('PathMode')]
    0098  GETTABLE  R19 = R19[K42('TopDown2D')]
    0099  CALL      R14 = call(R14, 1 args, 5 rets)
    0100  SELF      R15 = R14[K43('SetEase')] (self)
    0101  GETTABUP  R16 = _ENV[K44('Ease')]
    0102  GETTABLE  R16 = R16[K45('OutQuad')]
    0103  CALL      R14 = call(R14, -1 args, 2 rets)
    0104  CALL      R12 = call(R12, 0 args, -1 rets)
    0105  SELF      R13 = R7[K46('InsertCallback')] (self)
    0106  SELF      R15 = R7[K47('Duration')] (self)
    0107  CALL      R14 = call(R14, 1 args, 1 rets)
    0108  SUB       R14 = K48(0.2) sub R14
    0109  MOVE      R15 = R0
    0110  CALL      R12 = call(R12, 0 args, 3 rets)
    0111  SELF      R13 = R7[K49('AppendCallback')] (self)
    0112  CLOSURE   R14 = closure proto0
    0113  CALL      R12 = call(R12, 0 args, 2 rets)
    0114  GETTABUP  R12 = _ENV[K10('GM')]
    0115  GETTABLE  R12 = R12[K50('AudioModel')]
    0116  SELF      R13 = R12[K51('PlayEffect')] (self)
    0117  GETTABUP  R14 = _ENV[K52('AudioFileConfigName')]
    0118  GETTABLE  R14 = R14[K53('SfxPlaneItemDeliver')]
    0119  CALL      R12 = call(R12, 0 args, 2 rets)
    0120  RETURN    return R0..R-1
    ; ---------- proto0 [] ----------
      ; fn ?  line 194-199 np=0 va=0 ms=2 code=15 consts=4 upvals=3 protos=0
      ;   K[0]=nil
      ;   K[1]='IsNull'
      ;   K[2]='GameObject'
      ;   K[3]='Destroy'
      ;   upvals: finishCallback, go, _ENV
      0000  GETUPVAL  R0 = finishCallback
      0001  CALL      R0 = call(R0, 0 args, 0 rets)
      0002  GETUPVAL  R0 = finishCallback
      0003  EQ        if R1 eq K0(nil)   -> -130811
      0004  JMP       (jump)   -> 14
      0005  GETUPVAL  R0 = finishCallback
      0006  SELF      R1 = R0[K1('IsNull')] (self)
      0007  CALL      R0 = call(R0, 1 args, 1 rets)
      0008  TEST      if not R0 then   -> -131061
      0009  JMP       (jump)   -> 14
      0010  GETTABUP  R0 = _ENV[K2('GameObject')]
      0011  GETTABLE  R0 = R0[K3('Destroy')]
      0012  GETUPVAL  R1 = finishCallback
      0013  CALL      R0 = call(R0, 0 args, 1 rets)
      0014  RETURN    return R0..R-1
  ; ---------- proto3 [] ----------
    ; fn ?  line 230-241 np=0 va=0 ms=5 code=29 consts=20 upvals=4 protos=0
    ;   K[0]='PositionUtil'
    ;   K[1]='UICameraScreen2World'
    ;   K[2]='ConvertWorldPositionToScreenPosition'
    ;   K[3]='m_rewardRoot'
    ;   K[4]='position'
    ;   K[5]='RewardApi'
    ;   K[6]='AcquireRewardsInView'
    ;   K[7]='arrWorldPos'
    ;   K[8]='eventLock'
    ;   K[9]=true
    ;   K[10]='bNoFilterReward'
    ;   K[11]='simpleCacheRoot'
    ;   K[12]='bFixedCacheRootRight'
    ;   K[13]='ERewardScene'
    ;   K[14]='Other'
    ;   K[15]='GM'
    ;   K[16]='AudioModel'
    ;   K[17]='PlayEffect'
    ;   K[18]='AudioFileConfigName'
    ;   K[19]='SfxPlaneItemDeliver'
    ;   upvals: _ENV, boardView, self, tempReward
    ;   locals: arrWorldPos(10-29)
    0000  NEWTABLE  R0 = {} (0 items)
    0001  GETTABUP  R1 = _ENV[K0('PositionUtil')]
    0002  GETTABLE  R1 = R1[K1('UICameraScreen2World')]
    0003  GETUPVAL  R2 = _ENV
    0004  SELF      R3 = R2[K2('ConvertWorldPositionToScreenPosition')] (self)
    0005  GETTABUP  R4 = self[K3('m_rewardRoot')]
    0006  GETTABLE  R4 = R4[K4('position')]
    0007  CALL      R2 = call(R2, -1 args, 2 rets)
    0008  CALL      R1 = call(R1, -1 args, -1 rets)
    0009  SETLIST   setlist R0[B=1,C=0]
    0010  GETTABUP  R1 = _ENV[K5('RewardApi')]
    0011  GETTABLE  R1 = R1[K6('AcquireRewardsInView')]
    0012  GETUPVAL  R2 = _ENV
    0013  NEWTABLE  R3 = {} (0 items)
    0014  SETTABLE  R3[K7('arrWorldPos')] = R0
    0015  SETTABLE  R3[K8('eventLock')] = K9(true)
    0016  SETTABLE  R3[K10('bNoFilterReward')] = K9(true)
    0017  SETTABLE  R3[K11('simpleCacheRoot')] = K9(true)
    0018  SETTABLE  R3[K12('bFixedCacheRootRight')] = K9(true)
    0019  GETTABUP  R4 = _ENV[K13('ERewardScene')]
    0020  GETTABLE  R4 = R4[K14('Other')]
    0021  CALL      R1 = call(R1, 0 args, 3 rets)
    0022  GETTABUP  R1 = _ENV[K15('GM')]
    0023  GETTABLE  R1 = R1[K16('AudioModel')]
    0024  SELF      R2 = R1[K17('PlayEffect')] (self)
    0025  GETTABUP  R3 = _ENV[K18('AudioFileConfigName')]
    0026  GETTABLE  R3 = R3[K19('SfxPlaneItemDeliver')]
    0027  CALL      R1 = call(R1, 0 args, 2 rets)
    0028  RETURN    return R0..R-1
  ; ---------- proto4 [] ----------
    ; fn ?  line 248-251 np=0 va=0 ms=2 code=4 consts=2 upvals=2 protos=0
    ;   K[0]='m_bForceMiddle'
    ;   K[1]=nil
    ;   upvals: self, rewardCallback
    0000  SETTABUP  self[K0('m_bForceMiddle')] = K1(nil)
    0001  GETUPVAL  R0 = self
    0002  CALL      R0 = call(R0, 0 args, 0 rets)
    0003  RETURN    return R0..R-1
; ---------- proto10 [Update] ----------
  ; fn ?  line 254-260 np=1 va=0 ms=5 code=11 consts=5 upvals=0 protos=0
  ;   K[0]='m_bForceMiddle'
  ;   K[1]='m_mainOrderArea'
  ;   K[2]='ScrollToRectTransformMiddle'
  ;   K[3]='m_orderCell'
  ;   K[4]='transform'
  ;   locals: self(0-11)
  0000  GETTABLE  R1 = R0[K0('m_bForceMiddle')]
  0001  TEST      if not R1 then   -> -131068
  0002  JMP       (jump)   -> 4
  0003  RETURN    return R0..R-1
  0004  GETTABLE  R1 = R0[K1('m_mainOrderArea')]
  0005  SELF      R2 = R1[K2('ScrollToRectTransformMiddle')] (self)
  0006  GETTABLE  R3 = R0[K3('m_orderCell')]
  0007  GETTABLE  R3 = R3[K4('transform')]
  0008  LOADBOOL  R4 = false
  0009  CALL      R1 = call(R1, 0 args, 3 rets)
  0010  RETURN    return R0..R-1
; ---------- proto11 [IsActivityValid] ----------
  ; fn ?  line 263-265 np=1 va=0 ms=5 code=22 consts=6 upvals=0 protos=0
  ;   K[0]='GetModel'
  ;   K[1]='IsChestCustomerValid'
  ;   K[2]='_IsModelIdChanged'
  ;   K[3]='IsChestCustomerInDuration'
  ;   K[4]='m_order'
  ;   K[5]='GetId'
  ;   locals: self(0-22)
  0000  SELF      R2 = R0[K0('GetModel')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  SELF      R2 = R1[K1('IsChestCustomerValid')] (self)
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  TEST      if not R1 then   -> -131066
  0005  JMP       (jump)   -> 20
  0006  SELF      R2 = R0[K2('_IsModelIdChanged')] (self)
  0007  CALL      R1 = call(R1, 1 args, 1 rets)
  0008  TEST      if not R1 then   -> -131061
  0009  JMP       (jump)   -> 18
  0010  SELF      R2 = R0[K0('GetModel')] (self)
  0011  CALL      R1 = call(R1, 1 args, 1 rets)
  0012  SELF      R2 = R1[K3('IsChestCustomerInDuration')] (self)
  0013  GETTABLE  R3 = R0[K4('m_order')]
  0014  SELF      R4 = R3[K5('GetId')] (self)
  0015  CALL      R3 = call(R3, -1 args, 1 rets)
  0016  CALL      R1 = call(R1, 1 args, -1 rets)
  0017  JMP       (jump)   -> 20
  0018  LOADBOOL  R1 = false
  0019  LOADBOOL  R1 = true
  0020  RETURN    return R1..R0
  0021  RETURN    return R0..R-1
; ---------- proto12 [UpdatePerSecond] ----------
  ; fn ?  line 267-277 np=1 va=0 ms=8 code=41 consts=19 upvals=1 protos=0
  ;   K[0]='m_bHasTimeLimit'
  ;   K[1]='UIUtil'
  ;   K[2]='IsEmptyComponent'
  ;   K[3]='m_countDownText'
  ;   K[4]='IsActivityValid'
  ;   K[5]='text'
  ;   K[6]='GM'
  ;   K[7]='GameTextModel'
  ;   K[8]='GetText'
  ;   K[9]='countdown_finished'
  ;   K[10]='math'
  ;   K[11]='max'
  ;   K[12]=0
  ;   K[13]='m_finishTime'
  ;   K[14]='GameModel'
  ;   K[15]='GetServerTime'
  ;   K[16]='TimeUtil'
  ;   K[17]='ParseTimeDescription'
  ;   K[18]=2
  ;   upvals: _ENV
  ;   locals: self(0-41), leftDuration(31-40)
  0000  GETTABLE  R1 = R0[K0('m_bHasTimeLimit')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 40
  0003  GETTABUP  R1 = _ENV[K1('UIUtil')]
  0004  GETTABLE  R1 = R1[K2('IsEmptyComponent')]
  0005  GETTABLE  R2 = R0[K3('m_countDownText')]
  0006  CALL      R1 = call(R1, 1 args, 1 rets)
  0007  TEST      if not R1 then   -> -131062
  0008  JMP       (jump)   -> 40
  0009  SELF      R2 = R0[K4('IsActivityValid')] (self)
  0010  CALL      R1 = call(R1, 1 args, 1 rets)
  0011  TEST      if not R1 then   -> -131058
  0012  JMP       (jump)   -> 21
  0013  GETTABLE  R1 = R0[K3('m_countDownText')]
  0014  GETTABUP  R2 = _ENV[K6('GM')]
  0015  GETTABLE  R2 = R2[K7('GameTextModel')]
  0016  SELF      R3 = R2[K8('GetText')] (self)
  0017  LOADK     R4 = K9 'countdown_finished'
  0018  CALL      R2 = call(R2, 1 args, 2 rets)
  0019  SETTABLE  R1[K5('text')] = R2
  0020  JMP       (jump)   -> 40
  0021  GETTABUP  R1 = _ENV[K10('math')]
  0022  GETTABLE  R1 = R1[K11('max')]
  0023  LOADK     R2 = K12 0
  0024  GETTABLE  R3 = R0[K13('m_finishTime')]
  0025  GETTABUP  R4 = _ENV[K6('GM')]
  0026  GETTABLE  R4 = R4[K14('GameModel')]
  0027  SELF      R5 = R4[K15('GetServerTime')] (self)
  0028  CALL      R4 = call(R4, 1 args, 1 rets)
  0029  SUB       R3 = R4 sub R3
  0030  CALL      R1 = call(R1, 1 args, 2 rets)
  0031  GETTABLE  R2 = R0[K3('m_countDownText')]
  0032  GETTABUP  R3 = _ENV[K16('TimeUtil')]
  0033  GETTABLE  R3 = R3[K17('ParseTimeDescription')]
  0034  MOVE      R4 = R0
  0035  LOADK     R5 = K18 2
  0036  LOADBOOL  R6 = false
  0037  LOADBOOL  R7 = false
  0038  CALL      R3 = call(R3, 1 args, 4 rets)
  0039  SETTABLE  R2[K5('text')] = R3
  0040  RETURN    return R0..R-1
; ---------- proto13 [_OnRewardValidChanged] ----------
  ; fn ?  line 279-290 np=1 va=0 ms=9 code=33 consts=13 upvals=1 protos=0
  ;   K[0]='ipairs'
  ;   K[1]='m_order'
  ;   K[2]='GetRewards'
  ;   K[3]='PROPERTY_TYPE'
  ;   K[4]='EPropertyType'
  ;   K[5]='BPFaceToken'
  ;   K[6]='m_countDownRectTransform'
  ;   K[7]='SetParent'
  ;   K[8]='m_countDownRootTop'
  ;   K[9]='m_countDownRootBottom'
  ;   K[10]='UIUtil'
  ;   K[11]='SetLocalPosition'
  ;   K[12]=0
  ;   upvals: _ENV
  ;   locals: self(0-33), bHasBPFaceToken(1-33), (for generator)(6-17), (for state)(6-17), (for control)(6-17), _(7-15), reward(7-15)
  0000  LOADBOOL  R1 = false
  0001  GETTABUP  R2 = _ENV[K0('ipairs')]
  0002  GETTABLE  R3 = R0[K1('m_order')]
  0003  SELF      R4 = R3[K2('GetRewards')] (self)
  0004  CALL      R3 = call(R3, -1 args, 1 rets)
  0005  CALL      R2 = call(R2, 3 args, -1 rets)
  0006  JMP       (jump)   -> 15
  0007  GETTABUP  R7 = _ENV[K3('PROPERTY_TYPE')]
  0008  GETTABLE  R7 = R6[R7]
  0009  GETTABUP  R8 = _ENV[K4('EPropertyType')]
  0010  GETTABLE  R8 = R8[K5('BPFaceToken')]
  0011  EQ        if R0 eq R8   -> -127467
  0012  JMP       (jump)   -> 15
  0013  LOADBOOL  R1 = true
  0014  JMP       (jump)   -> 17
  0015  TFORCALL  tforcall R2
  0016  TFORLOOP  tforloop R4(sBx=-10)   -> 7
  0017  GETTABLE  R2 = R0[K6('m_countDownRectTransform')]
  0018  SELF      R3 = R2[K7('SetParent')] (self)
  0019  TEST      if not R1 then   -> -131051
  0020  JMP       (jump)   -> 24
  0021  GETTABLE  R4 = R0[K8('m_countDownRootTop')]
  0022  TEST      if not R4 then   -> -131047
  0023  JMP       (jump)   -> 25
  0024  GETTABLE  R4 = R0[K9('m_countDownRootBottom')]
  0025  CALL      R2 = call(R2, 0 args, 2 rets)
  0026  GETTABUP  R2 = _ENV[K10('UIUtil')]
  0027  GETTABLE  R2 = R2[K11('SetLocalPosition')]
  0028  GETTABLE  R3 = R0[K6('m_countDownRectTransform')]
  0029  LOADK     R4 = K12 0
  0030  LOADK     R5 = K12 0
  0031  CALL      R2 = call(R2, 0 args, 3 rets)
  0032  RETURN    return R0..R-1
