# UI_Window_OrderGroup_OrderGroupFinishWindow_720.luac
; fn @OrderGroupFinishWindow.lua  line 0-0 np=0 va=1 ms=3 code=17 consts=10 upvals=1 protos=2
;   K[0]='OrderGroupFinishWindow'
;   K[1]='setmetatable'
;   K[2]='canCloseByAndroidBack'
;   K[3]=false
;   K[4]='windowMaskAlpha'
;   K[5]=0
;   K[6]='BaseWindow'
;   K[7]='__index'
;   K[8]='Init'
;   K[9]='TryAddProducerInventoryReward'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  SETTABLE  R1[K2('canCloseByAndroidBack')] = K3(false)
0003  SETTABLE  R1[K4('windowMaskAlpha')] = K5(0)
0004  GETTABUP  R2 = _ENV[K6('BaseWindow')]
0005  CALL      R0 = call(R0, 1 args, 2 rets)
0006  SETTABUP  _ENV[K0('OrderGroupFinishWindow')] = R0
0007  GETTABUP  R0 = _ENV[K0('OrderGroupFinishWindow')]
0008  GETTABUP  R1 = _ENV[K0('OrderGroupFinishWindow')]
0009  SETTABLE  R0[K7('__index')] = R1
0010  GETTABUP  R0 = _ENV[K0('OrderGroupFinishWindow')]
0011  CLOSURE   R1 = closure proto0
0012  SETTABLE  R0[K8('Init')] = R1
0013  GETTABUP  R0 = _ENV[K0('OrderGroupFinishWindow')]
0014  CLOSURE   R1 = closure proto1
0015  SETTABLE  R0[K9('TryAddProducerInventoryReward')] = R1
0016  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 7-151 np=1 va=0 ms=28 code=54 consts=20 upvals=1 protos=4
  ;   K[0]='MainBoardView'
  ;   K[1]='GetInstance'
  ;   K[2]='GetOrderArea'
  ;   K[3]='GetOrderGroupButton'
  ;   K[4]='GetBoxPosAndScale'
  ;   K[5]='GM'
  ;   K[6]='MainBoardModel'
  ;   K[7]='GetOrderModel'
  ;   K[8]='GetCurGroupDisplayReward'
  ;   K[9]='ipairs'
  ;   K[10]='RewardApi'
  ;   K[11]='IsImmediateEffectItem'
  ;   K[12]='PROPERTY_TYPE'
  ;   K[13]='claim_order_group_reward'
  ;   K[14]='UIPrefabConfigName'
  ;   K[15]='OrderDayBoxRewardWindow'
  ;   K[16]='UIManager'
  ;   K[17]='OpenView'
  ;   K[18]='ERewardScene'
  ;   K[19]='OrderGroup'
  ;   upvals: _ENV
  ;   locals: self(0-54), mainBoardView(3-54), orderArea(5-54), orderGroupButton(7-54), position(9-54), scaleX(9-54), eBoxRewardType(9-54), orderModel(13-54), rewards(15-54), hasImmediateCD(16-54), (for generator)(19-31), (for state)(19-31), (for control)(19-31), _(20-29), rew(20-29), title(32-54), prefabName(34-54), initFunc(35-54), closeFunc(36-54), claimRewardFunc(37-54)
  0000  GETTABUP  R1 = _ENV[K0('MainBoardView')]
  0001  GETTABLE  R1 = R1[K1('GetInstance')]
  0002  CALL      R1 = call(R1, 1 args, 0 rets)
  0003  SELF      R3 = R1[K2('GetOrderArea')] (self)
  0004  CALL      R2 = call(R2, 1 args, 1 rets)
  0005  SELF      R4 = R2[K3('GetOrderGroupButton')] (self)
  0006  CALL      R3 = call(R3, 1 args, 1 rets)
  0007  SELF      R5 = R3[K4('GetBoxPosAndScale')] (self)
  0008  CALL      R4 = call(R4, 3 args, 1 rets)
  0009  GETTABUP  R7 = _ENV[K5('GM')]
  0010  GETTABLE  R7 = R7[K6('MainBoardModel')]
  0011  SELF      R8 = R7[K7('GetOrderModel')] (self)
  0012  CALL      R7 = call(R7, 1 args, 1 rets)
  0013  SELF      R9 = R7[K8('GetCurGroupDisplayReward')] (self)
  0014  CALL      R8 = call(R8, 1 args, 1 rets)
  0015  LOADBOOL  R9 = false
  0016  GETTABUP  R10 = _ENV[K9('ipairs')]
  0017  MOVE      R11 = R0
  0018  CALL      R10 = call(R10, 3 args, 1 rets)
  0019  JMP       (jump)   -> 29
  0020  GETTABUP  R15 = _ENV[K10('RewardApi')]
  0021  GETTABLE  R15 = R15[K11('IsImmediateEffectItem')]
  0022  GETTABUP  R16 = _ENV[K12('PROPERTY_TYPE')]
  0023  GETTABLE  R16 = R14[R16]
  0024  CALL      R15 = call(R15, 1 args, 1 rets)
  0025  TEST      if not R15 then   -> -131045
  0026  JMP       (jump)   -> 29
  0027  LOADBOOL  R9 = true
  0028  JMP       (jump)   -> 31
  0029  TFORCALL  tforcall R10
  0030  TFORLOOP  tforloop R12(sBx=-11)   -> 20
  0031  LOADK     R10 = K13 'claim_order_group_reward'
  0032  GETTABUP  R11 = _ENV[K14('UIPrefabConfigName')]
  0033  GETTABLE  R11 = R11[K15('OrderDayBoxRewardWindow')]
  0034  CLOSURE   R12 = closure proto0
  0035  CLOSURE   R13 = closure proto1
  0036  CLOSURE   R14 = closure proto2
  0037  GETTABUP  R15 = _ENV[K5('GM')]
  0038  GETTABLE  R15 = R15[K16('UIManager')]
  0039  SELF      R16 = R15[K17('OpenView')] (self)
  0040  MOVE      R17 = R0
  0041  MOVE      R18 = R0
  0042  MOVE      R19 = R0
  0043  MOVE      R20 = R0
  0044  MOVE      R21 = R0
  0045  MOVE      R22 = R0
  0046  LOADBOOL  R23 = true
  0047  GETTABUP  R24 = _ENV[K18('ERewardScene')]
  0048  GETTABLE  R24 = R24[K19('OrderGroup')]
  0049  MOVE      R25 = R0
  0050  CLOSURE   R26 = closure proto3
  0051  MOVE      R27 = R0
  0052  CALL      R15 = call(R15, 0 args, 12 rets)
  0053  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 27-62 np=1 va=0 ms=8 code=82 consts=30 upvals=3 protos=1
    ;   K[0]='m_desc'
    ;   K[1]='GetCurOrderDay'
    ;   K[2]=1
    ;   K[3]='text'
    ;   K[4]='GM'
    ;   K[5]='GameTextModel'
    ;   K[6]='GetText'
    ;   K[7]='order_day_finish_desc'
    ;   K[8]='order_day_finish_desc1'
    ;   K[9]='m_ribbonSpine'
    ;   K[10]='Init'
    ;   K[11]='PlayAnimation'
    ;   K[12]='appear'
    ;   K[13]='m_rainbowSpine'
    ;   K[14]='gameObject'
    ;   K[15]='SetActive'
    ;   K[16]='DelayExecuteFuncInView'
    ;   K[17]=0.3
    ;   K[18]='ScreenFitter'
    ;   K[19]='IsWideScreen'
    ;   K[20]=5
    ;   K[21]='UIUtil'
    ;   K[22]='AddAnchoredPosition'
    ;   K[23]='m_rewardContent'
    ;   K[24]='transform'
    ;   K[25]=0
    ;   K[26]=-85
    ;   K[27]='m_boxRoot'
    ;   K[28]='m_topTrans'
    ;   K[29]=120
    ;   upvals: orderModel, _ENV, rewards
    ;   locals: win(0-82), curDay(6-81)
    0000  GETTABLE  R1 = R0[K0('m_desc')]
    0001  TEST      if not R1 then   -> -131069
    0002  JMP       (jump)   -> 81
    0003  GETUPVAL  R1 = orderModel
    0004  SELF      R2 = R1[K1('GetCurOrderDay')] (self)
    0005  CALL      R1 = call(R1, 1 args, 1 rets)
    0006  EQ        if R0 eq K2(1)   -> -130294
    0007  JMP       (jump)   -> 17
    0008  GETTABLE  R2 = R0[K0('m_desc')]
    0009  GETTABUP  R3 = _ENV[K4('GM')]
    0010  GETTABLE  R3 = R3[K5('GameTextModel')]
    0011  SELF      R4 = R3[K6('GetText')] (self)
    0012  LOADK     R5 = K7 'order_day_finish_desc'
    0013  MOVE      R6 = R0
    0014  CALL      R3 = call(R3, 1 args, 3 rets)
    0015  SETTABLE  R2[K3('text')] = R3
    0016  JMP       (jump)   -> 25
    0017  GETTABLE  R2 = R0[K0('m_desc')]
    0018  GETTABUP  R3 = _ENV[K4('GM')]
    0019  GETTABLE  R3 = R3[K5('GameTextModel')]
    0020  SELF      R4 = R3[K6('GetText')] (self)
    0021  LOADK     R5 = K8 'order_day_finish_desc1'
    0022  MOVE      R6 = R0
    0023  CALL      R3 = call(R3, 1 args, 3 rets)
    0024  SETTABLE  R2[K3('text')] = R3
    0025  GETTABLE  R2 = R0[K9('m_ribbonSpine')]
    0026  SELF      R3 = R2[K10('Init')] (self)
    0027  CALL      R2 = call(R2, 0 args, 1 rets)
    0028  GETTABLE  R2 = R0[K9('m_ribbonSpine')]
    0029  SELF      R3 = R2[K11('PlayAnimation')] (self)
    0030  LOADK     R4 = K12 'appear'
    0031  LOADNIL   R5..R5 = nil
    0032  LOADBOOL  R6 = false
    0033  LOADBOOL  R7 = true
    0034  CALL      R2 = call(R2, 0 args, 5 rets)
    0035  GETTABLE  R2 = R0[K13('m_rainbowSpine')]
    0036  SELF      R3 = R2[K10('Init')] (self)
    0037  CALL      R2 = call(R2, 0 args, 1 rets)
    0038  GETTABLE  R2 = R0[K13('m_rainbowSpine')]
    0039  GETTABLE  R2 = R2[K14('gameObject')]
    0040  SELF      R3 = R2[K15('SetActive')] (self)
    0041  LOADBOOL  R4 = false
    0042  CALL      R2 = call(R2, 0 args, 2 rets)
    0043  GETTABUP  R2 = _ENV[K16('DelayExecuteFuncInView')]
    0044  CLOSURE   R3 = closure proto0
    0045  LOADK     R4 = K17 0.3
    0046  MOVE      R5 = R0
    0047  CALL      R2 = call(R2, 0 args, 3 rets)
    0048  GETTABUP  R2 = _ENV[K18('ScreenFitter')]
    0049  GETTABLE  R2 = R2[K19('IsWideScreen')]
    0050  CALL      R2 = call(R2, 1 args, 0 rets)
    0051  TEST      if not R2 then   -> -131018
    0052  JMP       (jump)   -> 57
    0053  GETUPVAL  R2 = orderModel
    0054  LEN       R2 = len R0
    0055  LE        if R0 le R2   -> 10299
    0056  JMP       (jump)   -> 70
    0057  GETTABUP  R2 = _ENV[K21('UIUtil')]
    0058  GETTABLE  R2 = R2[K22('AddAnchoredPosition')]
    0059  GETTABLE  R3 = R0[K23('m_rewardContent')]
    0060  GETTABLE  R3 = R3[K24('transform')]
    0061  LOADK     R4 = K25 0
    0062  LOADK     R5 = K26 -85
    0063  CALL      R2 = call(R2, 0 args, 3 rets)
    0064  GETTABUP  R2 = _ENV[K21('UIUtil')]
    0065  GETTABLE  R2 = R2[K22('AddAnchoredPosition')]
    0066  GETTABLE  R3 = R0[K27('m_boxRoot')]
    0067  LOADK     R4 = K25 0
    0068  LOADK     R5 = K26 -85
    0069  CALL      R2 = call(R2, 0 args, 3 rets)
    0070  GETTABUP  R2 = _ENV[K18('ScreenFitter')]
    0071  GETTABLE  R2 = R2[K19('IsWideScreen')]
    0072  CALL      R2 = call(R2, 1 args, 0 rets)
    0073  TEST      if not R2 then   -> -130997
    0074  JMP       (jump)   -> 81
    0075  GETTABUP  R2 = _ENV[K21('UIUtil')]
    0076  GETTABLE  R2 = R2[K22('AddAnchoredPosition')]
    0077  GETTABLE  R3 = R0[K28('m_topTrans')]
    0078  LOADK     R4 = K25 0
    0079  LOADK     R5 = K29 120
    0080  CALL      R2 = call(R2, 0 args, 3 rets)
    0081  RETURN    return R0..R-1
    ; ---------- proto0 [] ----------
      ; fn ?  line 42-51 np=0 va=0 ms=6 code=18 consts=7 upvals=2 protos=2
      ;   K[0]='m_rainbowSpine'
      ;   K[1]='gameObject'
      ;   K[2]='SetActive'
      ;   K[3]='PlayAnimation'
      ;   K[4]='appear'
      ;   K[5]='DelayExecuteFuncInView'
      ;   K[6]=1.9
      ;   upvals: win, _ENV
      0000  GETTABUP  R0 = win[K0('m_rainbowSpine')]
      0001  GETTABLE  R0 = R0[K1('gameObject')]
      0002  SELF      R1 = R0[K2('SetActive')] (self)
      0003  LOADBOOL  R2 = true
      0004  CALL      R0 = call(R0, 0 args, 2 rets)
      0005  GETTABUP  R0 = win[K0('m_rainbowSpine')]
      0006  SELF      R1 = R0[K3('PlayAnimation')] (self)
      0007  LOADK     R2 = K4 'appear'
      0008  CLOSURE   R3 = closure proto0
      0009  LOADBOOL  R4 = false
      0010  LOADBOOL  R5 = true
      0011  CALL      R0 = call(R0, 0 args, 5 rets)
      0012  GETTABUP  R0 = _ENV[K5('DelayExecuteFuncInView')]
      0013  CLOSURE   R1 = closure proto1
      0014  LOADK     R2 = K6 1.9
      0015  GETUPVAL  R3 = win
      0016  CALL      R0 = call(R0, 0 args, 3 rets)
      0017  RETURN    return R0..R-1
      ; ---------- proto0 [] ----------
        ; fn ?  line 44-46 np=0 va=0 ms=5 code=7 consts=3 upvals=1 protos=0
        ;   K[0]='m_rainbowSpine'
        ;   K[1]='PlayAnimation'
        ;   K[2]='idle'
        ;   upvals: win
        0000  GETTABUP  R0 = win[K0('m_rainbowSpine')]
        0001  SELF      R1 = R0[K1('PlayAnimation')] (self)
        0002  LOADK     R2 = K2 'idle'
        0003  LOADNIL   R3..R3 = nil
        0004  LOADBOOL  R4 = true
        0005  CALL      R0 = call(R0, 0 args, 4 rets)
        0006  RETURN    return R0..R-1
      ; ---------- proto1 [] ----------
        ; fn ?  line 48-50 np=0 va=0 ms=2 code=3 consts=3 upvals=1 protos=0
        ;   K[0]='m_rainbowMask'
        ;   K[1]='enabled'
        ;   K[2]=false
        ;   upvals: win
        0000  GETTABUP  R0 = win[K0('m_rainbowMask')]
        0001  SETTABLE  R0[K1('enabled')] = K2(false)
        0002  RETURN    return R0..R-1
  ; ---------- proto1 [] ----------
    ; fn ?  line 64-125 np=0 va=0 ms=16 code=163 consts=53 upvals=3 protos=0
    ;   K[0]='HasNextGroup'
    ;   K[1]='eViewType'
    ;   K[2]='EViewType'
    ;   K[3]='Other'
    ;   K[4]='Close'
    ;   K[5]='GM'
    ;   K[6]='UIManager'
    ;   K[7]='OpenView'
    ;   K[8]='UIPrefabConfigName'
    ;   K[9]='OrderDayRefreshWindow'
    ;   K[10]='EventDispatcher'
    ;   K[11]='DispatchEvent'
    ;   K[12]='EEventType'
    ;   K[13]='UpdateOrderGroupButton'
    ;   K[14]='GetOrdersCount'
    ;   K[15]=0
    ;   K[16]='UpdateOrderEmpty'
    ;   K[17]='ActivityManager'
    ;   K[18]='GetModel'
    ;   K[19]='ActivityType'
    ;   K[20]='BakeOut'
    ;   K[21]=nil
    ;   K[22]='OnReadyStart'
    ;   K[23]='IsAutoRun'
    ;   K[24]='MainBoardModel'
    ;   K[25]='GetAllItemCookCmp'
    ;   K[26]='ipairs'
    ;   K[27]='TryRevertCook'
    ;   K[28]='OnTap'
    ;   K[29]='GetCurMaterialsArray'
    ;   K[30]='PutBackMaterial'
    ;   K[31]='V3Zero'
    ;   K[32]='GetCurOrderDay'
    ;   K[33]='TestAutoRunModel'
    ;   K[34]='stopDay'
    ;   K[35]='StopAutoRun'
    ;   K[36]='GeneralMsgWindow'
    ;   K[37]='Tip'
    ;   K[38]='已自动跑完第'
    ;   K[39]='天'
    ;   K[40]='OK'
    ;   K[41]='finishCurrent'
    ;   K[42]='ItemDataModel'
    ;   K[43]='GetStoredItemCount'
    ;   K[44]=1
    ;   K[45]='GetStoredItem'
    ;   K[46]='GetType'
    ;   K[47]='StringUtil'
    ;   K[48]='StartWith'
    ;   K[49]='pd_'
    ;   K[50]='eq_'
    ;   K[51]='RetrieveStoredItem'
    ;   K[52]='当前订单组已自动跑完成'
    ;   upvals: orderModel, self, _ENV
    ;   locals: bakeOutModel(42-46), cookCmps(56-162), (for generator)(59-78), (for state)(59-78), (for control)(59-78), _(60-76), cookCmp(60-76), arrItemCodes(66-76), (for generator)(69-76), (for state)(69-76), (for control)(69-76), _(70-74), code(70-74), curDay(81-162), itemDataModel(114-162), mainBoardModel(116-162), storedCount(120-162), index(121-162), item(126-152), itemType(128-152)
    0000  GETUPVAL  R0 = orderModel
    0001  SELF      R1 = R0[K0('HasNextGroup')] (self)
    0002  CALL      R0 = call(R0, 1 args, 1 rets)
    0003  TEST      if not R0 then   -> -131067
    0004  JMP       (jump)   -> 18
    0005  GETTABUP  R0 = _ENV[K2('EViewType')]
    0006  GETTABLE  R0 = R0[K3('Other')]
    0007  SETTABUP  self[K1('eViewType')] = R0
    0008  GETUPVAL  R0 = orderModel
    0009  SELF      R1 = R0[K4('Close')] (self)
    0010  CALL      R0 = call(R0, 0 args, 1 rets)
    0011  GETTABUP  R0 = _ENV[K5('GM')]
    0012  GETTABLE  R0 = R0[K6('UIManager')]
    0013  SELF      R1 = R0[K7('OpenView')] (self)
    0014  GETTABUP  R2 = _ENV[K8('UIPrefabConfigName')]
    0015  GETTABLE  R2 = R2[K9('OrderDayRefreshWindow')]
    0016  CALL      R0 = call(R0, 0 args, 2 rets)
    0017  JMP       (jump)   -> 46
    0018  GETUPVAL  R0 = orderModel
    0019  SELF      R1 = R0[K4('Close')] (self)
    0020  CALL      R0 = call(R0, 0 args, 1 rets)
    0021  GETTABUP  R0 = _ENV[K10('EventDispatcher')]
    0022  GETTABLE  R0 = R0[K11('DispatchEvent')]
    0023  GETTABUP  R1 = _ENV[K12('EEventType')]
    0024  GETTABLE  R1 = R1[K13('UpdateOrderGroupButton')]
    0025  CALL      R0 = call(R0, 0 args, 1 rets)
    0026  GETUPVAL  R0 = orderModel
    0027  SELF      R1 = R0[K14('GetOrdersCount')] (self)
    0028  CALL      R0 = call(R0, 1 args, 1 rets)
    0029  EQ        if R0 eq K15(0)   -> -130770
    0030  JMP       (jump)   -> 46
    0031  GETTABUP  R0 = _ENV[K10('EventDispatcher')]
    0032  GETTABLE  R0 = R0[K11('DispatchEvent')]
    0033  GETTABUP  R1 = _ENV[K12('EEventType')]
    0034  GETTABLE  R1 = R1[K16('UpdateOrderEmpty')]
    0035  CALL      R0 = call(R0, 0 args, 1 rets)
    0036  GETTABUP  R0 = _ENV[K5('GM')]
    0037  GETTABLE  R0 = R0[K17('ActivityManager')]
    0038  SELF      R1 = R0[K18('GetModel')] (self)
    0039  GETTABUP  R2 = _ENV[K19('ActivityType')]
    0040  GETTABLE  R2 = R2[K20('BakeOut')]
    0041  CALL      R0 = call(R0, 1 args, 2 rets)
    0042  EQ        if R1 eq K21(nil)   -> -130751
    0043  JMP       (jump)   -> 46
    0044  SELF      R2 = R0[K22('OnReadyStart')] (self)
    0045  CALL      R1 = call(R1, 0 args, 1 rets)
    0046  GETTABUP  R0 = _ENV[K23('IsAutoRun')]
    0047  CALL      R0 = call(R0, 1 args, 0 rets)
    0048  TEST      if not R0 then   -> -131022
    0049  JMP       (jump)   -> 162
    0050  GETTABUP  R0 = _ENV[K5('GM')]
    0051  GETTABLE  R0 = R0[K24('MainBoardModel')]
    0052  SELF      R1 = R0[K25('GetAllItemCookCmp')] (self)
    0053  LOADBOOL  R2 = true
    0054  LOADBOOL  R3 = false
    0055  CALL      R0 = call(R0, 1 args, 3 rets)
    0056  GETTABUP  R1 = _ENV[K26('ipairs')]
    0057  MOVE      R2 = R0
    0058  CALL      R1 = call(R1, 3 args, 1 rets)
    0059  JMP       (jump)   -> 76
    0060  SELF      R7 = R5[K27('TryRevertCook')] (self)
    0061  CALL      R6 = call(R6, 0 args, 1 rets)
    0062  SELF      R7 = R5[K28('OnTap')] (self)
    0063  CALL      R6 = call(R6, 0 args, 1 rets)
    0064  SELF      R7 = R5[K29('GetCurMaterialsArray')] (self)
    0065  CALL      R6 = call(R6, 1 args, 1 rets)
    0066  GETTABUP  R7 = _ENV[K26('ipairs')]
    0067  MOVE      R8 = R0
    0068  CALL      R7 = call(R7, 3 args, 1 rets)
    0069  JMP       (jump)   -> 74
    0070  SELF      R13 = R5[K30('PutBackMaterial')] (self)
    0071  MOVE      R14 = R0
    0072  GETTABUP  R15 = _ENV[K31('V3Zero')]
    0073  CALL      R12 = call(R12, 0 args, 3 rets)
    0074  TFORCALL  tforcall R7
    0075  TFORLOOP  tforloop R9(sBx=-6)   -> 70
    0076  TFORCALL  tforcall R1
    0077  TFORLOOP  tforloop R3(sBx=-18)   -> 60
    0078  GETUPVAL  R1 = orderModel
    0079  SELF      R2 = R1[K32('GetCurOrderDay')] (self)
    0080  CALL      R1 = call(R1, 1 args, 1 rets)
    0081  GETTABUP  R2 = _ENV[K5('GM')]
    0082  GETTABLE  R2 = R2[K33('TestAutoRunModel')]
    0083  GETTABLE  R2 = R2[K34('stopDay')]
    0084  EQ        if R0 eq R1   -> -129961
    0085  JMP       (jump)   -> 103
    0086  GETTABUP  R2 = _ENV[K5('GM')]
    0087  GETTABLE  R2 = R2[K33('TestAutoRunModel')]
    0088  SELF      R3 = R2[K35('StopAutoRun')] (self)
    0089  CALL      R2 = call(R2, 0 args, 1 rets)
    0090  GETTABUP  R2 = _ENV[K5('GM')]
    0091  GETTABLE  R2 = R2[K6('UIManager')]
    0092  SELF      R3 = R2[K7('OpenView')] (self)
    0093  GETTABUP  R4 = _ENV[K8('UIPrefabConfigName')]
    0094  GETTABLE  R4 = R4[K36('GeneralMsgWindow')]
    0095  LOADK     R5 = K37 'Tip'
    0096  LOADK     R6 = K38 '已自动跑完第'
    0097  MOVE      R7 = R0
    0098  LOADK     R8 = K39 '天'
    0099  CONCAT    R6 = concat(R6..R6)
    0100  LOADK     R7 = K40 'OK'
    0101  CALL      R2 = call(R2, 0 args, 5 rets)
    0102  JMP       (jump)   -> 162
    0103  GETTABUP  R2 = _ENV[K5('GM')]
    0104  GETTABLE  R2 = R2[K33('TestAutoRunModel')]
    0105  GETTABLE  R2 = R2[K41('finishCurrent')]
    0106  TEST      if not R2 then   -> -130964
    0107  JMP       (jump)   -> 162
    0108  GETTABUP  R2 = _ENV[K5('GM')]
    0109  GETTABLE  R2 = R2[K33('TestAutoRunModel')]
    0110  SELF      R3 = R2[K35('StopAutoRun')] (self)
    0111  CALL      R2 = call(R2, 0 args, 1 rets)
    0112  GETTABUP  R2 = _ENV[K5('GM')]
    0113  GETTABLE  R2 = R2[K42('ItemDataModel')]
    0114  GETTABUP  R3 = _ENV[K5('GM')]
    0115  GETTABLE  R3 = R3[K24('MainBoardModel')]
    0116  GETTABUP  R4 = _ENV[K5('GM')]
    0117  GETTABLE  R4 = R4[K24('MainBoardModel')]
    0118  SELF      R5 = R4[K43('GetStoredItemCount')] (self)
    0119  CALL      R4 = call(R4, 1 args, 1 rets)
    0120  LOADK     R5 = K44 1
    0121  LE        if R0 le R4   -> -128385
    0122  JMP       (jump)   -> 153
    0123  SELF      R7 = R3[K45('GetStoredItem')] (self)
    0124  MOVE      R8 = R0
    0125  CALL      R6 = call(R6, 1 args, 2 rets)
    0126  SELF      R8 = R6[K46('GetType')] (self)
    0127  CALL      R7 = call(R7, 1 args, 1 rets)
    0128  GETTABUP  R8 = _ENV[K47('StringUtil')]
    0129  GETTABLE  R8 = R8[K48('StartWith')]
    0130  MOVE      R9 = R0
    0131  LOADK     R10 = K49 'pd_'
    0132  CALL      R8 = call(R8, 1 args, 2 rets)
    0133  TEST      if not R8 then   -> -130936
    0134  JMP       (jump)   -> 151
    0135  GETTABUP  R8 = _ENV[K47('StringUtil')]
    0136  GETTABLE  R8 = R8[K48('StartWith')]
    0137  MOVE      R9 = R0
    0138  LOADK     R10 = K50 'eq_'
    0139  CALL      R8 = call(R8, 1 args, 2 rets)
    0140  TEST      if not R8 then   -> -130929
    0141  JMP       (jump)   -> 151
    0142  SELF      R9 = R3[K51('RetrieveStoredItem')] (self)
    0143  MOVE      R10 = R0
    0144  CALL      R8 = call(R8, 1 args, 2 rets)
    0145  TEST      if not R8 then   -> -130925
    0146  JMP       (jump)   -> 153
    0147  SUB       R4 = K44(1) sub R4
    0148  JMP       (jump)   -> 121
    0149  JMP       (jump)   -> 153
    0150  JMP       (jump)   -> 121
    0151  ADD       R5 = K44(1) add R5
    0152  JMP       (jump)   -> 121
    0153  GETTABUP  R6 = _ENV[K5('GM')]
    0154  GETTABLE  R6 = R6[K6('UIManager')]
    0155  SELF      R7 = R6[K7('OpenView')] (self)
    0156  GETTABUP  R8 = _ENV[K8('UIPrefabConfigName')]
    0157  GETTABLE  R8 = R8[K36('GeneralMsgWindow')]
    0158  LOADK     R9 = K37 'Tip'
    0159  LOADK     R10 = K52 '当前订单组已自动跑完成'
    0160  LOADK     R11 = K40 'OK'
    0161  CALL      R6 = call(R6, 0 args, 5 rets)
    0162  RETURN    return R0..R-1
  ; ---------- proto2 [] ----------
    ; fn ?  line 127-129 np=0 va=0 ms=2 code=4 consts=1 upvals=1 protos=0
    ;   K[0]='ClaimGroupReward'
    ;   upvals: orderModel
    0000  GETUPVAL  R0 = orderModel
    0001  SELF      R1 = R0[K0('ClaimGroupReward')] (self)
    0002  CALL      R0 = call(R0, 0 args, 1 rets)
    0003  RETURN    return R0..R-1
  ; ---------- proto3 [] ----------
    ; fn ?  line 131-150 np=1 va=0 ms=7 code=56 consts=18 upvals=5 protos=0
    ;   K[0]='m_ribbonSpine'
    ;   K[1]='PlayAnimation'
    ;   K[2]='disappear'
    ;   K[3]='m_rainbowSpine'
    ;   K[4]='ThrowCallback'
    ;   K[5]=0
    ;   K[6]='HasNextGroup'
    ;   K[7]='eViewType'
    ;   K[8]='EViewType'
    ;   K[9]='Other'
    ;   K[10]=0.6
    ;   K[11]='ItemSpeeder'
    ;   K[12]='effectedItems'
    ;   K[13]=nil
    ;   K[14]='next'
    ;   K[15]=3
    ;   K[16]=4.4
    ;   K[17]='DelayExecuteFuncInView'
    ;   upvals: orderModel, hasImmediateCD, _ENV, closeFunc, self
    ;   locals: rewardWindow(0-56), delay(21-56)
    0000  GETTABLE  R1 = R0[K0('m_ribbonSpine')]
    0001  TEST      if not R1 then   -> -131069
    0002  JMP       (jump)   -> 20
    0003  GETTABLE  R1 = R0[K0('m_ribbonSpine')]
    0004  SELF      R2 = R1[K1('PlayAnimation')] (self)
    0005  LOADK     R3 = K2 'disappear'
    0006  LOADNIL   R4..R4 = nil
    0007  LOADBOOL  R5 = false
    0008  LOADBOOL  R6 = true
    0009  CALL      R1 = call(R1, 0 args, 5 rets)
    0010  GETTABLE  R1 = R0[K3('m_rainbowSpine')]
    0011  SELF      R2 = R1[K4('ThrowCallback')] (self)
    0012  CALL      R1 = call(R1, 0 args, 1 rets)
    0013  GETTABLE  R1 = R0[K3('m_rainbowSpine')]
    0014  SELF      R2 = R1[K1('PlayAnimation')] (self)
    0015  LOADK     R3 = K2 'disappear'
    0016  LOADNIL   R4..R4 = nil
    0017  LOADBOOL  R5 = false
    0018  LOADBOOL  R6 = true
    0019  CALL      R1 = call(R1, 0 args, 5 rets)
    0020  LOADK     R1 = K5 0
    0021  GETUPVAL  R2 = orderModel
    0022  SELF      R3 = R2[K6('HasNextGroup')] (self)
    0023  CALL      R2 = call(R2, 1 args, 1 rets)
    0024  TEST      if not R2 then   -> -131046
    0025  JMP       (jump)   -> 34
    0026  GETUPVAL  R2 = orderModel
    0027  TEST      if not R2 then   -> -131042
    0028  JMP       (jump)   -> 34
    0029  GETTABUP  R2 = _ENV[K8('EViewType')]
    0030  GETTABLE  R2 = R2[K9('Other')]
    0031  SETTABLE  R0[K7('eViewType')] = R2
    0032  LOADK     R1 = K10 0.6
    0033  JMP       (jump)   -> 50
    0034  GETUPVAL  R2 = orderModel
    0035  TEST      if not R2 then   -> -131035
    0036  JMP       (jump)   -> 50
    0037  GETTABUP  R2 = _ENV[K11('ItemSpeeder')]
    0038  GETTABLE  R2 = R2[K12('effectedItems')]
    0039  EQ        if R1 eq K13(nil)   -> -129738
    0040  JMP       (jump)   -> 47
    0041  GETTABUP  R2 = _ENV[K14('next')]
    0042  GETTABUP  R3 = _ENV[K11('ItemSpeeder')]
    0043  GETTABLE  R3 = R3[K12('effectedItems')]
    0044  CALL      R2 = call(R2, 1 args, 1 rets)
    0045  EQ        if R0 eq K13(nil)   -> -129732
    0046  JMP       (jump)   -> 49
    0047  LOADK     R1 = K15 3
    0048  JMP       (jump)   -> 50
    0049  LOADK     R1 = K16 4.4
    0050  GETTABUP  R2 = _ENV[K17('DelayExecuteFuncInView')]
    0051  GETUPVAL  R3 = orderModel
    0052  MOVE      R4 = R0
    0053  GETUPVAL  R5 = orderModel
    0054  CALL      R2 = call(R2, 0 args, 3 rets)
    0055  RETURN    return R0..R-1
; ---------- proto1 [TryAddProducerInventoryReward] ----------
  ; fn ?  line 153-170 np=1 va=0 ms=12 code=41 consts=16 upvals=1 protos=0
  ;   K[0]='Table'
  ;   K[1]='ShallowCopy'
  ;   K[2]='GM'
  ;   K[3]='MainBoardModel'
  ;   K[4]='GetCurOrderDay'
  ;   K[5]='GetProducerInventoryConfig'
  ;   K[6]=1
  ;   K[7]='day'
  ;   K[8]='PROPERTY_TYPE'
  ;   K[9]='ProducerInventoryRewardPrefix'
  ;   K[10]='type'
  ;   K[11]='PROPERTY_COUNT'
  ;   K[12]='RewardApi'
  ;   K[13]='CryptOneReward'
  ;   K[14]='table'
  ;   K[15]='insert'
  ;   upvals: _ENV
  ;   locals: rewards(0-41), rewards(4-41), day(8-41), InventoryProducerConfig(12-41), (for index)(15-39), (for limit)(15-39), (for step)(15-39), i(16-38), customData(29-38)
  0000  GETTABUP  R1 = _ENV[K0('Table')]
  0001  GETTABLE  R1 = R1[K1('ShallowCopy')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  GETTABUP  R2 = _ENV[K2('GM')]
  0005  GETTABLE  R2 = R2[K3('MainBoardModel')]
  0006  SELF      R3 = R2[K4('GetCurOrderDay')] (self)
  0007  CALL      R2 = call(R2, 1 args, 1 rets)
  0008  GETTABUP  R3 = _ENV[K2('GM')]
  0009  GETTABLE  R3 = R3[K3('MainBoardModel')]
  0010  SELF      R4 = R3[K5('GetProducerInventoryConfig')] (self)
  0011  CALL      R3 = call(R3, 1 args, 1 rets)
  0012  LOADK     R4 = K6 1
  0013  LEN       R5 = len R0
  0014  LOADK     R6 = K6 1
  0015  FORPREP   forprep R4(sBx=22)   -> 38
  0016  GETTABLE  R8 = R3[R7]
  0017  GETTABLE  R8 = R8[K7('day')]
  0018  EQ        if R0 eq R8   -> -130020
  0019  JMP       (jump)   -> 38
  0020  NEWTABLE  R8 = {} (0 items)
  0021  GETTABUP  R9 = _ENV[K8('PROPERTY_TYPE')]
  0022  GETTABUP  R10 = _ENV[K9('ProducerInventoryRewardPrefix')]
  0023  GETTABLE  R11 = R3[R7]
  0024  GETTABLE  R11 = R11[K10('type')]
  0025  CONCAT    R10 = concat(R10..R10)
  0026  SETTABLE  R8[R9] = R10
  0027  GETTABUP  R9 = _ENV[K11('PROPERTY_COUNT')]
  0028  SETTABLE  R8[R9] = K6(1)
  0029  GETTABUP  R9 = _ENV[K12('RewardApi')]
  0030  GETTABLE  R9 = R9[K13('CryptOneReward')]
  0031  MOVE      R10 = R0
  0032  CALL      R9 = call(R9, 0 args, 1 rets)
  0033  GETTABUP  R9 = _ENV[K14('table')]
  0034  GETTABLE  R9 = R9[K15('insert')]
  0035  MOVE      R10 = R0
  0036  MOVE      R11 = R0
  0037  CALL      R9 = call(R9, 0 args, 2 rets)
  0038  FORLOOP   forloop R4(sBx=-23)   -> 16
  0039  RETURN    return R1..R0
  0040  RETURN    return R0..R-1
