# ChestCustomerActivity_View_ChestCustomerActivityRewardWindow_1688.luac
; fn @ChestCustomerActivityRewardWindow.lua  line 0-0 np=0 va=1 ms=3 code=24 consts=12 upvals=1 protos=4
;   K[0]='ChestCustomerActivityRewardWindow'
;   K[1]='setmetatable'
;   K[2]='canCloseByAndroidBack'
;   K[3]=false
;   K[4]='m_bCloseWhenFinish'
;   K[5]='showWindowMask'
;   K[6]='ChestCustomerActivityBaseWindow'
;   K[7]='__index'
;   K[8]='BeforeOpenCheck'
;   K[9]='Init'
;   K[10]='_InitModelData'
;   K[11]='_InitView'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  SETTABLE  R1[K2('canCloseByAndroidBack')] = K3(false)
0003  SETTABLE  R1[K4('m_bCloseWhenFinish')] = K3(false)
0004  SETTABLE  R1[K5('showWindowMask')] = K3(false)
0005  GETTABUP  R2 = _ENV[K6('ChestCustomerActivityBaseWindow')]
0006  CALL      R0 = call(R0, 1 args, 2 rets)
0007  SETTABUP  _ENV[K0('ChestCustomerActivityRewardWindow')] = R0
0008  GETTABUP  R0 = _ENV[K0('ChestCustomerActivityRewardWindow')]
0009  GETTABUP  R1 = _ENV[K0('ChestCustomerActivityRewardWindow')]
0010  SETTABLE  R0[K7('__index')] = R1
0011  GETTABUP  R0 = _ENV[K0('ChestCustomerActivityRewardWindow')]
0012  CLOSURE   R1 = closure proto0
0013  SETTABLE  R0[K8('BeforeOpenCheck')] = R1
0014  GETTABUP  R0 = _ENV[K0('ChestCustomerActivityRewardWindow')]
0015  CLOSURE   R1 = closure proto1
0016  SETTABLE  R0[K9('Init')] = R1
0017  GETTABUP  R0 = _ENV[K0('ChestCustomerActivityRewardWindow')]
0018  CLOSURE   R1 = closure proto2
0019  SETTABLE  R0[K10('_InitModelData')] = R1
0020  GETTABUP  R0 = _ENV[K0('ChestCustomerActivityRewardWindow')]
0021  CLOSURE   R1 = closure proto3
0022  SETTABLE  R0[K11('_InitView')] = R1
0023  RETURN    return R0..R-1
; ---------- proto0 [BeforeOpenCheck] ----------
  ; fn ?  line 18-21 np=4 va=0 ms=5 code=3 consts=0 upvals=0 protos=0
  ;   locals: self(0-3), activityType(0-3), id(0-3), bAutoPop(0-3)
  0000  LOADBOOL  R4 = true
  0001  RETURN    return R4..R3
  0002  RETURN    return R0..R-1
; ---------- proto1 [Init] ----------
  ; fn ?  line 26-30 np=4 va=0 ms=9 code=12 consts=4 upvals=1 protos=0
  ;   K[0]='ChestCustomerActivityBaseWindow'
  ;   K[1]='Init'
  ;   K[2]='_InitModelData'
  ;   K[3]='_InitView'
  ;   upvals: _ENV
  ;   locals: self(0-12), activityType(0-12), id(0-12), bAutoPop(0-12)
  0000  GETTABUP  R4 = _ENV[K0('ChestCustomerActivityBaseWindow')]
  0001  GETTABLE  R4 = R4[K1('Init')]
  0002  MOVE      R5 = R0
  0003  MOVE      R6 = R0
  0004  MOVE      R7 = R0
  0005  MOVE      R8 = R0
  0006  CALL      R4 = call(R4, 0 args, 4 rets)
  0007  SELF      R5 = R0[K2('_InitModelData')] (self)
  0008  CALL      R4 = call(R4, 0 args, 1 rets)
  0009  SELF      R5 = R0[K3('_InitView')] (self)
  0010  CALL      R4 = call(R4, 0 args, 1 rets)
  0011  RETURN    return R0..R-1
; ---------- proto2 [_InitModelData] ----------
  ; fn ?  line 32-35 np=1 va=0 ms=4 code=7 consts=4 upvals=0 protos=0
  ;   K[0]='GetModel'
  ;   K[1]='m_arrRewards'
  ;   K[2]='m_arrItemRewards'
  ;   K[3]='GetAndClearRewardsForView'
  ;   locals: self(0-7), model(2-7)
  0000  SELF      R2 = R0[K0('GetModel')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  SELF      R3 = R1[K3('GetAndClearRewardsForView')] (self)
  0003  CALL      R2 = call(R2, 2 args, 1 rets)
  0004  SETTABLE  R0[K2('m_arrItemRewards')] = R3
  0005  SETTABLE  R0[K1('m_arrRewards')] = R2
  0006  RETURN    return R0..R-1
; ---------- proto3 [_InitView] ----------
  ; fn ?  line 37-190 np=1 va=0 ms=32 code=161 consts=45 upvals=1 protos=5
  ;   K[0]='GM'
  ;   K[1]='UIManager'
  ;   K[2]='SetEventLock'
  ;   K[3]=0.35
  ;   K[4]='m_skeletonGraphic'
  ;   K[5]='SkeletonData'
  ;   K[6]='FindAnimation'
  ;   K[7]='startingAnimation'
  ;   K[8]=nil
  ;   K[9]='math'
  ;   K[10]='max'
  ;   K[11]='Duration'
  ;   K[12]='DOTween'
  ;   K[13]='Sequence'
  ;   K[14]='AppendInterval'
  ;   K[15]=1.6
  ;   K[16]=0
  ;   K[17]='Table'
  ;   K[18]='IsEmpty'
  ;   K[19]='m_arrRewards'
  ;   K[20]='m_arrItemRewards'
  ;   K[21]='ipairs'
  ;   K[22]='PROPERTY_COUNT'
  ;   K[23]=1.5
  ;   K[24]='min'
  ;   K[25]=1
  ;   K[26]=0.1
  ;   K[27]='MainBoardView'
  ;   K[28]='GetInstance'
  ;   K[29]='GetModel'
  ;   K[30]='GetActivityDefinition'
  ;   K[31]='FlyingItemViewPrefabName'
  ;   K[32]='table'
  ;   K[33]='sort'
  ;   K[34]=1
  ;   K[35]='AppendCallback'
  ;   K[36]='AppendInterval'
  ;   K[37]='PROPERTY_TYPE'
  ;   K[38]='GM'
  ;   K[39]='ItemDataModel'
  ;   K[40]='IsItemExist'
  ;   K[41]=1
  ;   K[42]='AppendCallback'
  ;   K[43]='InsertCallback'
  ;   K[44]=0.5
  ;   upvals: _ENV
  ;   locals: self(0-161), spreadAnimationTime(6-161), skeletonData(8-161), animation(12-161), animationTime(13-161), sequence(24-161), totalRewardCount(28-161), bHasRewards(33-161), bHasItemRewards(38-161), bHasBothRewards(41-161), (for generator)(46-52), (for state)(46-52), (for control)(46-52), _(47-50), rewardInfo(47-50), middleIntervalWeight(58-161), interval(67-161), boardView(70-161), prefabName(75-161), count(76-161), bHasItemReward(77-161), callback(78-161), (for generator)(90-103), (for state)(90-103), (for control)(90-103), _(91-101), itemModel(91-101), itemModel(94-101), (for generator)(113-154), (for state)(113-154), (for control)(113-154), _(114-152), rewardInfo(114-152), reward(118-152), count(118-152), tempReward(119-152), (for index)(143-151), (for limit)(143-151), (for step)(143-151), i(144-150)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('UIManager')]
  0002  SELF      R2 = R1[K2('SetEventLock')] (self)
  0003  LOADBOOL  R3 = true
  0004  CALL      R1 = call(R1, 0 args, 2 rets)
  0005  LOADK     R1 = K3 0.35
  0006  GETTABLE  R2 = R0[K4('m_skeletonGraphic')]
  0007  GETTABLE  R2 = R2[K5('SkeletonData')]
  0008  SELF      R4 = R2[K6('FindAnimation')] (self)
  0009  GETTABLE  R5 = R0[K4('m_skeletonGraphic')]
  0010  GETTABLE  R5 = R5[K7('startingAnimation')]
  0011  CALL      R3 = call(R3, 1 args, 2 rets)
  0012  MOVE      R4 = R0
  0013  EQ        if R1 eq K8(nil)   -> -129257
  0014  JMP       (jump)   -> 21
  0015  GETTABUP  R5 = _ENV[K9('math')]
  0016  GETTABLE  R5 = R5[K10('max')]
  0017  GETTABLE  R6 = R3[K11('Duration')]
  0018  MOVE      R7 = R0
  0019  CALL      R5 = call(R5, 1 args, 2 rets)
  0020  MOVE      R4 = R0
  0021  GETTABUP  R5 = _ENV[K12('DOTween')]
  0022  GETTABLE  R5 = R5[K13('Sequence')]
  0023  CALL      R5 = call(R5, 1 args, 0 rets)
  0024  SELF      R7 = R5[K14('AppendInterval')] (self)
  0025  LOADK     R8 = K15 1.6
  0026  CALL      R6 = call(R6, 0 args, 2 rets)
  0027  LOADK     R6 = K16 0
  0028  GETTABUP  R7 = _ENV[K17('Table')]
  0029  GETTABLE  R7 = R7[K18('IsEmpty')]
  0030  GETTABLE  R8 = R0[K19('m_arrRewards')]
  0031  CALL      R7 = call(R7, 1 args, 1 rets)
  0032  NOT       R7 = not R0
  0033  GETTABUP  R8 = _ENV[K17('Table')]
  0034  GETTABLE  R8 = R8[K18('IsEmpty')]
  0035  GETTABLE  R9 = R0[K20('m_arrItemRewards')]
  0036  CALL      R8 = call(R8, 1 args, 1 rets)
  0037  NOT       R8 = not R0
  0038  TESTSET   if R0 then R9   -> -127448
  0039  JMP       (jump)   -> 41
  0040  MOVE      R9 = R0
  0041  TEST      if not R7 then   -> -131029
  0042  JMP       (jump)   -> 52
  0043  GETTABUP  R10 = _ENV[K21('ipairs')]
  0044  GETTABLE  R11 = R0[K19('m_arrRewards')]
  0045  CALL      R10 = call(R10, 3 args, 1 rets)
  0046  JMP       (jump)   -> 50
  0047  GETTABUP  R15 = _ENV[K22('PROPERTY_COUNT')]
  0048  GETTABLE  R15 = R14[R15]
  0049  ADD       R6 = R15 add R6
  0050  TFORCALL  tforcall R10
  0051  TFORLOOP  tforloop R12(sBx=-5)   -> 47
  0052  TEST      if not R8 then   -> -131018
  0053  JMP       (jump)   -> 57
  0054  GETTABLE  R10 = R0[K20('m_arrItemRewards')]
  0055  LEN       R10 = len R0
  0056  ADD       R6 = R10 add R6
  0057  LOADK     R10 = K23 1.5
  0058  TEST      if not R9 then   -> -131012
  0059  JMP       (jump)   -> 61
  0060  ADD       R6 = R10 add R6
  0061  GETTABUP  R11 = _ENV[K9('math')]
  0062  GETTABLE  R11 = R11[K24('min')]
  0063  SUB       R12 = K25(1) sub R6
  0064  DIV       R12 = R12 div R1
  0065  LOADK     R13 = K26 0.1
  0066  CALL      R11 = call(R11, 1 args, 2 rets)
  0067  GETTABUP  R12 = _ENV[K27('MainBoardView')]
  0068  GETTABLE  R12 = R12[K28('GetInstance')]
  0069  CALL      R12 = call(R12, 1 args, 0 rets)
  0070  SELF      R14 = R0[K29('GetModel')] (self)
  0071  CALL      R13 = call(R13, 1 args, 1 rets)
  0072  SELF      R14 = R13[K30('GetActivityDefinition')] (self)
  0073  CALL      R13 = call(R13, 1 args, 1 rets)
  0074  GETTABLE  R13 = R13[K31('FlyingItemViewPrefabName')]
  0075  LOADK     R14 = K16 0
  0076  LOADBOOL  R15 = false
  0077  CLOSURE   R16 = closure proto0
  0078  EQ        if R1 eq K8(nil)   -> -124584
  0079  JMP       (jump)   -> 103
  0080  TEST      if not R8 then   -> -130990
  0081  JMP       (jump)   -> 103
  0082  GETTABUP  R17 = _ENV[K32('table')]
  0083  GETTABLE  R17 = R17[K33('sort')]
  0084  GETTABLE  R18 = R0[K20('m_arrItemRewards')]
  0085  CLOSURE   R19 = closure proto1
  0086  CALL      R17 = call(R17, 0 args, 2 rets)
  0087  GETTABUP  R17 = _ENV[K21('ipairs')]
  0088  GETTABLE  R18 = R0[K20('m_arrItemRewards')]
  0089  CALL      R17 = call(R17, 3 args, 1 rets)
  0090  JMP       (jump)   -> 101
  0091  LOADBOOL  R15 = true
  0092  ADD       R14 = K34(1) add R14
  0093  MOVE      R22 = R0
  0094  SELF      R24 = R5[K35('AppendCallback')] (self)
  0095  CLOSURE   R25 = closure proto2
  0096  CALL      R23 = call(R23, 0 args, 2 rets)
  0097  SELF      R24 = R5[K36('AppendInterval')] (self)
  0098  MOVE      R25 = R0
  0099  CALL      R23 = call(R23, 0 args, 2 rets)
  0100  JMP       (jump)   -> 101
  0101  TFORCALL  tforcall R17
  0102  TFORLOOP  tforloop R19(sBx=-12)   -> 91
  0103  TEST      if not R9 then   -> -130967
  0104  JMP       (jump)   -> 108
  0105  SELF      R18 = R5[K36('AppendInterval')] (self)
  0106  MUL       R19 = R10 mul R11
  0107  CALL      R17 = call(R17, 0 args, 2 rets)
  0108  TEST      if not R7 then   -> -130962
  0109  JMP       (jump)   -> 154
  0110  GETTABUP  R17 = _ENV[K21('ipairs')]
  0111  GETTABLE  R18 = R0[K19('m_arrRewards')]
  0112  CALL      R17 = call(R17, 3 args, 1 rets)
  0113  JMP       (jump)   -> 152
  0114  GETTABUP  R22 = _ENV[K37('PROPERTY_TYPE')]
  0115  GETTABLE  R22 = R21[R22]
  0116  GETTABUP  R23 = _ENV[K22('PROPERTY_COUNT')]
  0117  GETTABLE  R23 = R21[R23]
  0118  LOADNIL   R24..R24 = nil
  0119  GETTABUP  R25 = _ENV[K38('GM')]
  0120  GETTABLE  R25 = R25[K39('ItemDataModel')]
  0121  SELF      R26 = R25[K40('IsItemExist')] (self)
  0122  MOVE      R27 = R0
  0123  CALL      R25 = call(R25, 1 args, 2 rets)
  0124  TEST      if not R25 then   -> -130946
  0125  JMP       (jump)   -> 135
  0126  NEWTABLE  R25 = {} (1 items)
  0127  NEWTABLE  R26 = {} (0 items)
  0128  GETTABUP  R27 = _ENV[K37('PROPERTY_TYPE')]
  0129  SETTABLE  R26[R27] = R22
  0130  GETTABUP  R27 = _ENV[K22('PROPERTY_COUNT')]
  0131  SETTABLE  R26[R27] = K41(1)
  0132  SETLIST   setlist R25[B=1,C=1]
  0133  MOVE      R24 = R0
  0134  JMP       (jump)   -> 140
  0135  NEWTABLE  R25 = {} (1 items)
  0136  MOVE      R26 = R0
  0137  SETLIST   setlist R25[B=1,C=1]
  0138  MOVE      R24 = R0
  0139  LOADK     R23 = K41 1
  0140  LOADK     R25 = K41 1
  0141  MOVE      R26 = R0
  0142  LOADK     R27 = K41 1
  0143  FORPREP   forprep R25(sBx=6)   -> 150
  0144  SELF      R30 = R5[K42('AppendCallback')] (self)
  0145  CLOSURE   R31 = closure proto3
  0146  CALL      R29 = call(R29, 0 args, 2 rets)
  0147  SELF      R30 = R5[K36('AppendInterval')] (self)
  0148  MOVE      R31 = R0
  0149  CALL      R29 = call(R29, 0 args, 2 rets)
  0150  FORLOOP   forloop R25(sBx=-7)   -> 144
  0151  JMP       (jump)   -> 152
  0152  TFORCALL  tforcall R17
  0153  TFORLOOP  tforloop R19(sBx=-40)   -> 114
  0154  TEST      if not R15 then   -> -130915
  0155  JMP       (jump)   -> 160
  0156  SELF      R18 = R5[K43('InsertCallback')] (self)
  0157  ADD       R19 = K44(0.5) add R4
  0158  CLOSURE   R20 = closure proto4
  0159  CALL      R17 = call(R17, 0 args, 3 rets)
  0160  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 78-89 np=0 va=0 ms=4 code=16 consts=7 upvals=3 protos=1
    ;   K[0]=1
    ;   K[1]=0
    ;   K[2]='DOTween'
    ;   K[3]='Sequence'
    ;   K[4]='AppendInterval'
    ;   K[5]=0.5
    ;   K[6]='AppendCallback'
    ;   upvals: count, _ENV, self
    ;   locals: sequence(9-15)
    0000  GETUPVAL  R0 = count
    0001  SUB       R0 = K0(1) sub R0
    0002  SETUPVAL  count = R0
    0003  GETUPVAL  R0 = count
    0004  LE        if R0 le K1(0)   -> -130809
    0005  JMP       (jump)   -> 15
    0006  GETTABUP  R0 = _ENV[K2('DOTween')]
    0007  GETTABLE  R0 = R0[K3('Sequence')]
    0008  CALL      R0 = call(R0, 1 args, 0 rets)
    0009  SELF      R2 = R0[K4('AppendInterval')] (self)
    0010  LOADK     R3 = K5 0.5
    0011  CALL      R1 = call(R1, 0 args, 2 rets)
    0012  SELF      R2 = R0[K6('AppendCallback')] (self)
    0013  CLOSURE   R3 = closure proto0
    0014  CALL      R1 = call(R1, 0 args, 2 rets)
    0015  RETURN    return R0..R-1
    ; ---------- proto0 [] ----------
      ; fn ?  line 84-87 np=0 va=0 ms=3 code=9 consts=4 upvals=2 protos=0
      ;   K[0]='GM'
      ;   K[1]='UIManager'
      ;   K[2]='SetEventLock'
      ;   K[3]='Close'
      ;   upvals: _ENV, self
      0000  GETTABUP  R0 = _ENV[K0('GM')]
      0001  GETTABLE  R0 = R0[K1('UIManager')]
      0002  SELF      R1 = R0[K2('SetEventLock')] (self)
      0003  LOADBOOL  R2 = false
      0004  CALL      R0 = call(R0, 0 args, 2 rets)
      0005  GETUPVAL  R0 = _ENV
      0006  SELF      R1 = R0[K3('Close')] (self)
      0007  CALL      R0 = call(R0, 0 args, 1 rets)
      0008  RETURN    return R0..R-1
  ; ---------- proto1 [] ----------
    ; fn ?  line 94-102 np=2 va=0 ms=7 code=36 consts=3 upvals=0 protos=0
    ;   K[0]='GetPosition'
    ;   K[1]='GetX'
    ;   K[2]='GetY'
    ;   locals: a(0-36), b(0-36), posA(2-36), posB(4-36)
    0000  SELF      R3 = R0[K0('GetPosition')] (self)
    0001  CALL      R2 = call(R2, 1 args, 1 rets)
    0002  SELF      R4 = R1[K0('GetPosition')] (self)
    0003  CALL      R3 = call(R3, 1 args, 1 rets)
    0004  SELF      R5 = R2[K1('GetX')] (self)
    0005  CALL      R4 = call(R4, 1 args, 1 rets)
    0006  SELF      R6 = R3[K1('GetX')] (self)
    0007  CALL      R5 = call(R5, 1 args, 1 rets)
    0008  EQ        if R1 eq R5   -> -129009
    0009  JMP       (jump)   -> 20
    0010  SELF      R5 = R2[K1('GetX')] (self)
    0011  CALL      R4 = call(R4, 1 args, 1 rets)
    0012  SELF      R6 = R3[K1('GetX')] (self)
    0013  CALL      R5 = call(R5, 1 args, 1 rets)
    0014  LT        if R1 lt R5   -> -129003
    0015  JMP       (jump)   -> 17
    0016  LOADBOOL  R4 = false
    0017  LOADBOOL  R4 = true
    0018  RETURN    return R4..R3
    0019  JMP       (jump)   -> 35
    0020  SELF      R5 = R2[K2('GetY')] (self)
    0021  CALL      R4 = call(R4, 1 args, 1 rets)
    0022  SELF      R6 = R3[K2('GetY')] (self)
    0023  CALL      R5 = call(R5, 1 args, 1 rets)
    0024  EQ        if R1 eq R5   -> -128993
    0025  JMP       (jump)   -> 35
    0026  SELF      R5 = R2[K2('GetY')] (self)
    0027  CALL      R4 = call(R4, 1 args, 1 rets)
    0028  SELF      R6 = R3[K2('GetY')] (self)
    0029  CALL      R5 = call(R5, 1 args, 1 rets)
    0030  LT        if R1 lt R5   -> -128987
    0031  JMP       (jump)   -> 33
    0032  LOADBOOL  R4 = false
    0033  LOADBOOL  R4 = true
    0034  RETURN    return R4..R3
    0035  RETURN    return R0..R-1
  ; ---------- proto2 [] ----------
    ; fn ?  line 107-142 np=0 va=0 ms=15 code=97 consts=45 upvals=5 protos=1
    ;   K[0]='m_rewardRoot'
    ;   K[1]='position'
    ;   K[2]='Object'
    ;   K[3]='Instantiate'
    ;   K[4]='m_flyingItemViewPrefab'
    ;   K[5]='Quaternion'
    ;   K[6]='identity'
    ;   K[7]='GM'
    ;   K[8]='UIManager'
    ;   K[9]='GetCanvasRoot'
    ;   K[10]='GetLuaTable'
    ;   K[11]='Init'
    ;   K[12]='GetSpriteName'
    ;   K[13]='transform'
    ;   K[14]='UIUtil'
    ;   K[15]='SetLocalScale'
    ;   K[16]=1
    ;   K[17]='PlayItemAppearAnimFromUICustom'
    ;   K[18]='spreadLightPrefab'
    ;   K[19]='m_spreadEffectPrefab'
    ;   K[20]='callback'
    ;   K[21]='z'
    ;   K[22]='DOTween'
    ;   K[23]='Sequence'
    ;   K[24]='Append'
    ;   K[25]='DOScale'
    ;   K[26]=2.2
    ;   K[27]=0.3
    ;   K[28]=0.7
    ;   K[29]=0.1
    ;   K[30]=0.15
    ;   K[31]='Join'
    ;   K[32]='DOMove'
    ;   K[33]=0.6
    ;   K[34]='SetEase'
    ;   K[35]='Ease'
    ;   K[36]='OutQuad'
    ;   K[37]='InsertCallback'
    ;   K[38]='Duration'
    ;   K[39]=0.2
    ;   K[40]='AppendCallback'
    ;   K[41]='AudioModel'
    ;   K[42]='PlayEffect'
    ;   K[43]='AudioFileConfigName'
    ;   K[44]='SfxPlaneItemDeliver'
    ;   upvals: self, _ENV, itemModel, boardView, callback
    ;   locals: startPosition(2-97), go(13-97), transform(21-97), itemView(36-97), endPosition(36-97), spreadLightCallback(36-97), finishCallback(36-97), sequenceItemView(41-97), sequenceItemViewScale(44-97)
    0000  GETTABUP  R0 = self[K0('m_rewardRoot')]
    0001  GETTABLE  R0 = R0[K1('position')]
    0002  GETTABUP  R1 = _ENV[K2('Object')]
    0003  GETTABLE  R1 = R1[K3('Instantiate')]
    0004  GETTABUP  R2 = self[K4('m_flyingItemViewPrefab')]
    0005  MOVE      R3 = R0
    0006  GETTABUP  R4 = _ENV[K5('Quaternion')]
    0007  GETTABLE  R4 = R4[K6('identity')]
    0008  GETTABUP  R5 = _ENV[K7('GM')]
    0009  GETTABLE  R5 = R5[K8('UIManager')]
    0010  SELF      R6 = R5[K9('GetCanvasRoot')] (self)
    0011  CALL      R5 = call(R5, -1 args, 1 rets)
    0012  CALL      R1 = call(R1, 1 args, -1 rets)
    0013  SELF      R3 = R1[K10('GetLuaTable')] (self)
    0014  CALL      R2 = call(R2, 1 args, 1 rets)
    0015  SELF      R3 = R2[K11('Init')] (self)
    0016  GETUPVAL  R4 = self
    0017  SELF      R5 = R4[K12('GetSpriteName')] (self)
    0018  CALL      R4 = call(R4, -1 args, 1 rets)
    0019  CALL      R2 = call(R2, 0 args, -1 rets)
    0020  GETTABLE  R2 = R1[K13('transform')]
    0021  GETTABUP  R3 = _ENV[K14('UIUtil')]
    0022  GETTABLE  R3 = R3[K15('SetLocalScale')]
    0023  MOVE      R4 = R0
    0024  LOADK     R5 = K16 1
    0025  LOADK     R6 = K16 1
    0026  CALL      R3 = call(R3, 0 args, 3 rets)
    0027  GETUPVAL  R3 = self
    0028  SELF      R4 = R3[K17('PlayItemAppearAnimFromUICustom')] (self)
    0029  GETUPVAL  R5 = self
    0030  NEWTABLE  R6 = {} (0 items)
    0031  GETTABUP  R7 = self[K19('m_spreadEffectPrefab')]
    0032  SETTABLE  R6[K18('spreadLightPrefab')] = R7
    0033  GETUPVAL  R7 = self
    0034  SETTABLE  R6[K20('callback')] = R7
    0035  CALL      R3 = call(R3, 4 args, 3 rets)
    0036  GETTABLE  R7 = R0[K21('z')]
    0037  SETTABLE  R4[K21('z')] = R7
    0038  GETTABUP  R7 = _ENV[K22('DOTween')]
    0039  GETTABLE  R7 = R7[K23('Sequence')]
    0040  CALL      R7 = call(R7, 1 args, 0 rets)
    0041  GETTABUP  R8 = _ENV[K22('DOTween')]
    0042  GETTABLE  R8 = R8[K23('Sequence')]
    0043  CALL      R8 = call(R8, 1 args, 0 rets)
    0044  SELF      R10 = R8[K24('Append')] (self)
    0045  SELF      R12 = R2[K25('DOScale')] (self)
    0046  LOADK     R13 = K26 2.2
    0047  LOADK     R14 = K27 0.3
    0048  CALL      R11 = call(R11, -1 args, 3 rets)
    0049  CALL      R9 = call(R9, 0 args, -1 rets)
    0050  SELF      R10 = R8[K24('Append')] (self)
    0051  SELF      R12 = R2[K25('DOScale')] (self)
    0052  LOADK     R13 = K16 1
    0053  LOADK     R14 = K27 0.3
    0054  CALL      R11 = call(R11, -1 args, 3 rets)
    0055  CALL      R9 = call(R9, 0 args, -1 rets)
    0056  SELF      R10 = R8[K24('Append')] (self)
    0057  SELF      R12 = R2[K25('DOScale')] (self)
    0058  LOADK     R13 = K28 0.7
    0059  LOADK     R14 = K29 0.1
    0060  CALL      R11 = call(R11, -1 args, 3 rets)
    0061  CALL      R9 = call(R9, 0 args, -1 rets)
    0062  SELF      R10 = R8[K24('Append')] (self)
    0063  SELF      R12 = R2[K25('DOScale')] (self)
    0064  LOADK     R13 = K16 1
    0065  LOADK     R14 = K30 0.15
    0066  CALL      R11 = call(R11, -1 args, 3 rets)
    0067  CALL      R9 = call(R9, 0 args, -1 rets)
    0068  SELF      R10 = R7[K24('Append')] (self)
    0069  MOVE      R11 = R0
    0070  CALL      R9 = call(R9, 0 args, 2 rets)
    0071  SELF      R10 = R7[K31('Join')] (self)
    0072  SELF      R12 = R2[K32('DOMove')] (self)
    0073  MOVE      R13 = R0
    0074  LOADK     R14 = K33 0.6
    0075  CALL      R11 = call(R11, 1 args, 3 rets)
    0076  SELF      R12 = R11[K34('SetEase')] (self)
    0077  GETTABUP  R13 = _ENV[K35('Ease')]
    0078  GETTABLE  R13 = R13[K36('OutQuad')]
    0079  CALL      R11 = call(R11, -1 args, 2 rets)
    0080  CALL      R9 = call(R9, 0 args, -1 rets)
    0081  SELF      R10 = R7[K37('InsertCallback')] (self)
    0082  SELF      R12 = R7[K38('Duration')] (self)
    0083  CALL      R11 = call(R11, 1 args, 1 rets)
    0084  SUB       R11 = K39(0.2) sub R11
    0085  MOVE      R12 = R0
    0086  CALL      R9 = call(R9, 0 args, 3 rets)
    0087  SELF      R10 = R7[K40('AppendCallback')] (self)
    0088  CLOSURE   R11 = closure proto0
    0089  CALL      R9 = call(R9, 0 args, 2 rets)
    0090  GETTABUP  R9 = _ENV[K7('GM')]
    0091  GETTABLE  R9 = R9[K41('AudioModel')]
    0092  SELF      R10 = R9[K42('PlayEffect')] (self)
    0093  GETTABUP  R11 = _ENV[K43('AudioFileConfigName')]
    0094  GETTABLE  R11 = R11[K44('SfxPlaneItemDeliver')]
    0095  CALL      R9 = call(R9, 0 args, 2 rets)
    0096  RETURN    return R0..R-1
    ; ---------- proto0 [] ----------
      ; fn ?  line 134-139 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 170-178 np=0 va=0 ms=5 code=21 consts=15 upvals=3 protos=0
    ;   K[0]='m_rewardRoot'
    ;   K[1]='position'
    ;   K[2]='RewardApi'
    ;   K[3]='AcquireRewardsInView'
    ;   K[4]='arrWorldPos'
    ;   K[5]='eventLock'
    ;   K[6]=true
    ;   K[7]='bNoFilterReward'
    ;   K[8]='ERewardScene'
    ;   K[9]='Other'
    ;   K[10]='GM'
    ;   K[11]='AudioModel'
    ;   K[12]='PlayEffect'
    ;   K[13]='AudioFileConfigName'
    ;   K[14]='SfxPlaneItemDeliver'
    ;   upvals: self, _ENV, tempReward
    ;   locals: arrWorldPos(4-21)
    0000  NEWTABLE  R0 = {} (1 items)
    0001  GETTABUP  R1 = self[K0('m_rewardRoot')]
    0002  GETTABLE  R1 = R1[K1('position')]
    0003  SETLIST   setlist R0[B=1,C=1]
    0004  GETTABUP  R1 = _ENV[K2('RewardApi')]
    0005  GETTABLE  R1 = R1[K3('AcquireRewardsInView')]
    0006  GETUPVAL  R2 = self
    0007  NEWTABLE  R3 = {} (0 items)
    0008  SETTABLE  R3[K4('arrWorldPos')] = R0
    0009  SETTABLE  R3[K5('eventLock')] = K6(true)
    0010  SETTABLE  R3[K7('bNoFilterReward')] = K6(true)
    0011  GETTABUP  R4 = _ENV[K8('ERewardScene')]
    0012  GETTABLE  R4 = R4[K9('Other')]
    0013  CALL      R1 = call(R1, 0 args, 3 rets)
    0014  GETTABUP  R1 = _ENV[K10('GM')]
    0015  GETTABLE  R1 = R1[K11('AudioModel')]
    0016  SELF      R2 = R1[K12('PlayEffect')] (self)
    0017  GETTABUP  R3 = _ENV[K13('AudioFileConfigName')]
    0018  GETTABLE  R3 = R3[K14('SfxPlaneItemDeliver')]
    0019  CALL      R1 = call(R1, 0 args, 2 rets)
    0020  RETURN    return R0..R-1
  ; ---------- proto4 [] ----------
    ; fn ?  line 185-188 np=0 va=0 ms=3 code=9 consts=4 upvals=2 protos=0
    ;   K[0]='GM'
    ;   K[1]='UIManager'
    ;   K[2]='SetEventLock'
    ;   K[3]='Close'
    ;   upvals: _ENV, self
    0000  GETTABUP  R0 = _ENV[K0('GM')]
    0001  GETTABLE  R0 = R0[K1('UIManager')]
    0002  SELF      R1 = R0[K2('SetEventLock')] (self)
    0003  LOADBOOL  R2 = false
    0004  CALL      R0 = call(R0, 0 args, 2 rets)
    0005  GETUPVAL  R0 = _ENV
    0006  SELF      R1 = R0[K3('Close')] (self)
    0007  CALL      R0 = call(R0, 0 args, 1 rets)
    0008  RETURN    return R0..R-1
