# UI_Window_Board_LevelDownConfirmWindow_618.luac
; fn @LevelDownConfirmWindow.lua  line 0-0 np=0 va=1 ms=3 code=34 consts=14 upvals=1 protos=8
;   K[0]='LevelDownConfirmWindow'
;   K[1]='setmetatable'
;   K[2]='disableEffectWhenCloseView'
;   K[3]=true
;   K[4]='TwoButtonWindow'
;   K[5]='__index'
;   K[6]='Init'
;   K[7]='_LoadPdEnergyEffect'
;   K[8]='_LoadEnergyEffect'
;   K[9]='_LoadCookingSpine'
;   K[10]='_OnLoadItemSpine'
;   K[11]='_ToggleItemSpine'
;   K[12]='OnGreenClick'
;   K[13]='OnCloseView'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  SETTABLE  R1[K2('disableEffectWhenCloseView')] = K3(true)
0003  GETTABUP  R2 = _ENV[K4('TwoButtonWindow')]
0004  CALL      R0 = call(R0, 1 args, 2 rets)
0005  SETTABUP  _ENV[K0('LevelDownConfirmWindow')] = R0
0006  GETTABUP  R0 = _ENV[K0('LevelDownConfirmWindow')]
0007  GETTABUP  R1 = _ENV[K0('LevelDownConfirmWindow')]
0008  SETTABLE  R0[K5('__index')] = R1
0009  GETTABUP  R0 = _ENV[K0('LevelDownConfirmWindow')]
0010  CLOSURE   R1 = closure proto0
0011  SETTABLE  R0[K6('Init')] = R1
0012  GETTABUP  R0 = _ENV[K0('LevelDownConfirmWindow')]
0013  CLOSURE   R1 = closure proto1
0014  SETTABLE  R0[K7('_LoadPdEnergyEffect')] = R1
0015  GETTABUP  R0 = _ENV[K0('LevelDownConfirmWindow')]
0016  CLOSURE   R1 = closure proto2
0017  SETTABLE  R0[K8('_LoadEnergyEffect')] = R1
0018  GETTABUP  R0 = _ENV[K0('LevelDownConfirmWindow')]
0019  CLOSURE   R1 = closure proto3
0020  SETTABLE  R0[K9('_LoadCookingSpine')] = R1
0021  GETTABUP  R0 = _ENV[K0('LevelDownConfirmWindow')]
0022  CLOSURE   R1 = closure proto4
0023  SETTABLE  R0[K10('_OnLoadItemSpine')] = R1
0024  GETTABUP  R0 = _ENV[K0('LevelDownConfirmWindow')]
0025  CLOSURE   R1 = closure proto5
0026  SETTABLE  R0[K11('_ToggleItemSpine')] = R1
0027  GETTABUP  R0 = _ENV[K0('LevelDownConfirmWindow')]
0028  CLOSURE   R1 = closure proto6
0029  SETTABLE  R0[K12('OnGreenClick')] = R1
0030  GETTABUP  R0 = _ENV[K0('LevelDownConfirmWindow')]
0031  CLOSURE   R1 = closure proto7
0032  SETTABLE  R0[K13('OnCloseView')] = R1
0033  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 6-81 np=4 va=0 ms=14 code=259 consts=52 upvals=1 protos=0
  ;   K[0]='GetType'
  ;   K[1]='GM'
  ;   K[2]='ItemDataModel'
  ;   K[3]='GetSpriteName'
  ;   K[4]='SpriteUtil'
  ;   K[5]='SetImage'
  ;   K[6]='m_beforeImg1'
  ;   K[7]='m_beforeImg2'
  ;   K[8]='m_afterImg1'
  ;   K[9]='m_afterImg2'
  ;   K[10]='m_greenButtonCallback'
  ;   K[11]='SetCloseBtnActive'
  ;   K[12]='m_itemBeforeGray'
  ;   K[13]='SetActive'
  ;   K[14]='m_boost1'
  ;   K[15]='m_boost2'
  ;   K[16]='m_addCooking'
  ;   K[17]='m_cookingBar1'
  ;   K[18]='m_cookingBar2'
  ;   K[19]='m_cookHourglass1'
  ;   K[20]='m_cookHourglass2'
  ;   K[21]='m_cookHourglass3'
  ;   K[22]='m_cooked1'
  ;   K[23]='m_cooked2'
  ;   K[24]='m_cookTip1'
  ;   K[25]='m_cookTip2'
  ;   K[26]='m_cookedBg'
  ;   K[27]='IsTransformItem'
  ;   K[28]='GetComponent'
  ;   K[29]='ItemSpread'
  ;   K[30]=nil
  ;   K[31]='_LoadPdEnergyEffect'
  ;   K[32]='ShowCountDown'
  ;   K[33]='m_itemBeforeNormal'
  ;   K[34]='GetAddItemCount'
  ;   K[35]=0
  ;   K[36]='m_boostNum1'
  ;   K[37]='text'
  ;   K[38]='m_boostNum2'
  ;   K[39]='IsDisposableInstrument'
  ;   K[40]='ItemCook'
  ;   K[41]='GetState'
  ;   K[42]='EItemCookState'
  ;   K[43]='Cooked'
  ;   K[44]='Prepare'
  ;   K[45]='CanCook'
  ;   K[46]='Cooking'
  ;   K[47]='_LoadCookingSpine'
  ;   K[48]='m_addNormal'
  ;   K[49]='m_bgGreen'
  ;   K[50]='m_bgRed'
  ;   K[51]='m_bgBlue'
  ;   upvals: _ENV
  ;   locals: self(0-259), beforeItem(0-259), afterItemCode(0-259), confirmCallback(0-259), beforeItemCode(2-259), spriteName(7-259), itemSpread(110-259), boostCount(129-143), itemCook(156-259), curState(160-235)
  0000  SELF      R5 = R1[K0('GetType')] (self)
  0001  CALL      R4 = call(R4, 1 args, 1 rets)
  0002  GETTABUP  R5 = _ENV[K1('GM')]
  0003  GETTABLE  R5 = R5[K2('ItemDataModel')]
  0004  SELF      R6 = R5[K3('GetSpriteName')] (self)
  0005  MOVE      R7 = R0
  0006  CALL      R5 = call(R5, 1 args, 2 rets)
  0007  GETTABUP  R6 = _ENV[K4('SpriteUtil')]
  0008  GETTABLE  R6 = R6[K5('SetImage')]
  0009  GETTABLE  R7 = R0[K6('m_beforeImg1')]
  0010  MOVE      R8 = R0
  0011  LOADBOOL  R9 = true
  0012  CALL      R6 = call(R6, 0 args, 3 rets)
  0013  GETTABUP  R6 = _ENV[K4('SpriteUtil')]
  0014  GETTABLE  R6 = R6[K5('SetImage')]
  0015  GETTABLE  R7 = R0[K7('m_beforeImg2')]
  0016  MOVE      R8 = R0
  0017  LOADBOOL  R9 = true
  0018  CALL      R6 = call(R6, 0 args, 3 rets)
  0019  GETTABUP  R6 = _ENV[K1('GM')]
  0020  GETTABLE  R6 = R6[K2('ItemDataModel')]
  0021  SELF      R7 = R6[K3('GetSpriteName')] (self)
  0022  MOVE      R8 = R0
  0023  CALL      R6 = call(R6, 1 args, 2 rets)
  0024  MOVE      R5 = R0
  0025  GETTABUP  R6 = _ENV[K4('SpriteUtil')]
  0026  GETTABLE  R6 = R6[K5('SetImage')]
  0027  GETTABLE  R7 = R0[K8('m_afterImg1')]
  0028  MOVE      R8 = R0
  0029  LOADBOOL  R9 = true
  0030  CALL      R6 = call(R6, 0 args, 3 rets)
  0031  GETTABUP  R6 = _ENV[K4('SpriteUtil')]
  0032  GETTABLE  R6 = R6[K5('SetImage')]
  0033  GETTABLE  R7 = R0[K9('m_afterImg2')]
  0034  MOVE      R8 = R0
  0035  LOADBOOL  R9 = true
  0036  CALL      R6 = call(R6, 0 args, 3 rets)
  0037  SETTABLE  R0[K10('m_greenButtonCallback')] = R3
  0038  SELF      R7 = R0[K11('SetCloseBtnActive')] (self)
  0039  LOADBOOL  R8 = true
  0040  CALL      R6 = call(R6, 0 args, 2 rets)
  0041  GETTABLE  R6 = R0[K12('m_itemBeforeGray')]
  0042  SELF      R7 = R6[K13('SetActive')] (self)
  0043  LOADBOOL  R8 = false
  0044  CALL      R6 = call(R6, 0 args, 2 rets)
  0045  GETTABLE  R6 = R0[K14('m_boost1')]
  0046  SELF      R7 = R6[K13('SetActive')] (self)
  0047  LOADBOOL  R8 = false
  0048  CALL      R6 = call(R6, 0 args, 2 rets)
  0049  GETTABLE  R6 = R0[K15('m_boost2')]
  0050  SELF      R7 = R6[K13('SetActive')] (self)
  0051  LOADBOOL  R8 = false
  0052  CALL      R6 = call(R6, 0 args, 2 rets)
  0053  GETTABLE  R6 = R0[K16('m_addCooking')]
  0054  SELF      R7 = R6[K13('SetActive')] (self)
  0055  LOADBOOL  R8 = false
  0056  CALL      R6 = call(R6, 0 args, 2 rets)
  0057  GETTABLE  R6 = R0[K17('m_cookingBar1')]
  0058  SELF      R7 = R6[K13('SetActive')] (self)
  0059  LOADBOOL  R8 = false
  0060  CALL      R6 = call(R6, 0 args, 2 rets)
  0061  GETTABLE  R6 = R0[K18('m_cookingBar2')]
  0062  SELF      R7 = R6[K13('SetActive')] (self)
  0063  LOADBOOL  R8 = false
  0064  CALL      R6 = call(R6, 0 args, 2 rets)
  0065  GETTABLE  R6 = R0[K19('m_cookHourglass1')]
  0066  SELF      R7 = R6[K13('SetActive')] (self)
  0067  LOADBOOL  R8 = false
  0068  CALL      R6 = call(R6, 0 args, 2 rets)
  0069  GETTABLE  R6 = R0[K20('m_cookHourglass2')]
  0070  SELF      R7 = R6[K13('SetActive')] (self)
  0071  LOADBOOL  R8 = false
  0072  CALL      R6 = call(R6, 0 args, 2 rets)
  0073  GETTABLE  R6 = R0[K21('m_cookHourglass3')]
  0074  SELF      R7 = R6[K13('SetActive')] (self)
  0075  LOADBOOL  R8 = false
  0076  CALL      R6 = call(R6, 0 args, 2 rets)
  0077  GETTABLE  R6 = R0[K22('m_cooked1')]
  0078  SELF      R7 = R6[K13('SetActive')] (self)
  0079  LOADBOOL  R8 = false
  0080  CALL      R6 = call(R6, 0 args, 2 rets)
  0081  GETTABLE  R6 = R0[K23('m_cooked2')]
  0082  SELF      R7 = R6[K13('SetActive')] (self)
  0083  LOADBOOL  R8 = false
  0084  CALL      R6 = call(R6, 0 args, 2 rets)
  0085  GETTABLE  R6 = R0[K24('m_cookTip1')]
  0086  SELF      R7 = R6[K13('SetActive')] (self)
  0087  LOADBOOL  R8 = false
  0088  CALL      R6 = call(R6, 0 args, 2 rets)
  0089  GETTABLE  R6 = R0[K25('m_cookTip2')]
  0090  SELF      R7 = R6[K13('SetActive')] (self)
  0091  LOADBOOL  R8 = false
  0092  CALL      R6 = call(R6, 0 args, 2 rets)
  0093  GETTABLE  R6 = R0[K26('m_cookedBg')]
  0094  SELF      R7 = R6[K13('SetActive')] (self)
  0095  LOADBOOL  R8 = false
  0096  CALL      R6 = call(R6, 0 args, 2 rets)
  0097  GETTABUP  R6 = _ENV[K1('GM')]
  0098  GETTABLE  R6 = R6[K2('ItemDataModel')]
  0099  SELF      R7 = R6[K27('IsTransformItem')] (self)
  0100  MOVE      R8 = R0
  0101  CALL      R6 = call(R6, 1 args, 2 rets)
  0102  TEST      if not R6 then   -> -130967
  0103  JMP       (jump)   -> 109
  0104  SELF      R7 = R1[K28('GetComponent')] (self)
  0105  GETTABUP  R8 = _ENV[K29('ItemSpread')]
  0106  CALL      R6 = call(R6, 1 args, 2 rets)
  0107  TEST      if not R6 then   -> -130962
  0108  JMP       (jump)   -> 110
  0109  LOADNIL   R6..R6 = nil
  0110  EQ        if R1 eq K30(nil)   -> -127602
  0111  JMP       (jump)   -> 143
  0112  SELF      R8 = R0[K31('_LoadPdEnergyEffect')] (self)
  0113  MOVE      R9 = R0
  0114  CALL      R7 = call(R7, 0 args, 2 rets)
  0115  SELF      R8 = R6[K32('ShowCountDown')] (self)
  0116  CALL      R7 = call(R7, 1 args, 1 rets)
  0117  TEST      if not R7 then   -> -130953
  0118  JMP       (jump)   -> 127
  0119  GETTABLE  R7 = R0[K12('m_itemBeforeGray')]
  0120  SELF      R8 = R7[K13('SetActive')] (self)
  0121  LOADBOOL  R9 = true
  0122  CALL      R7 = call(R7, 0 args, 2 rets)
  0123  GETTABLE  R7 = R0[K33('m_itemBeforeNormal')]
  0124  SELF      R8 = R7[K13('SetActive')] (self)
  0125  LOADBOOL  R9 = false
  0126  CALL      R7 = call(R7, 0 args, 2 rets)
  0127  SELF      R8 = R6[K34('GetAddItemCount')] (self)
  0128  CALL      R7 = call(R7, 1 args, 1 rets)
  0129  LT        if R0 lt R7   -> 18058
  0130  JMP       (jump)   -> 143
  0131  GETTABLE  R8 = R0[K14('m_boost1')]
  0132  SELF      R9 = R8[K13('SetActive')] (self)
  0133  LOADBOOL  R10 = true
  0134  CALL      R8 = call(R8, 0 args, 2 rets)
  0135  GETTABLE  R8 = R0[K15('m_boost2')]
  0136  SELF      R9 = R8[K13('SetActive')] (self)
  0137  LOADBOOL  R10 = true
  0138  CALL      R8 = call(R8, 0 args, 2 rets)
  0139  GETTABLE  R8 = R0[K36('m_boostNum1')]
  0140  SETTABLE  R8[K37('text')] = R7
  0141  GETTABLE  R8 = R0[K38('m_boostNum2')]
  0142  SETTABLE  R8[K37('text')] = R7
  0143  GETTABUP  R7 = _ENV[K1('GM')]
  0144  GETTABLE  R7 = R7[K2('ItemDataModel')]
  0145  SELF      R8 = R7[K39('IsDisposableInstrument')] (self)
  0146  MOVE      R9 = R0
  0147  CALL      R7 = call(R7, 1 args, 2 rets)
  0148  TEST      if not R7 then   -> -130921
  0149  JMP       (jump)   -> 155
  0150  SELF      R8 = R1[K28('GetComponent')] (self)
  0151  GETTABUP  R9 = _ENV[K40('ItemCook')]
  0152  CALL      R7 = call(R7, 1 args, 2 rets)
  0153  TEST      if not R7 then   -> -130916
  0154  JMP       (jump)   -> 156
  0155  LOADNIL   R7..R7 = nil
  0156  EQ        if R1 eq K30(nil)   -> -127044
  0157  JMP       (jump)   -> 235
  0158  SELF      R9 = R7[K41('GetState')] (self)
  0159  CALL      R8 = call(R8, 1 args, 1 rets)
  0160  GETTABUP  R9 = _ENV[K42('EItemCookState')]
  0161  GETTABLE  R9 = R9[K43('Cooked')]
  0162  EQ        if R0 eq R9   -> -126803
  0163  JMP       (jump)   -> 181
  0164  GETTABLE  R9 = R0[K22('m_cooked1')]
  0165  SELF      R10 = R9[K13('SetActive')] (self)
  0166  LOADBOOL  R11 = true
  0167  CALL      R9 = call(R9, 0 args, 2 rets)
  0168  GETTABLE  R9 = R0[K23('m_cooked2')]
  0169  SELF      R10 = R9[K13('SetActive')] (self)
  0170  LOADBOOL  R11 = true
  0171  CALL      R9 = call(R9, 0 args, 2 rets)
  0172  GETTABLE  R9 = R0[K21('m_cookHourglass3')]
  0173  SELF      R10 = R9[K13('SetActive')] (self)
  0174  LOADBOOL  R11 = true
  0175  CALL      R9 = call(R9, 0 args, 2 rets)
  0176  GETTABLE  R9 = R0[K26('m_cookedBg')]
  0177  SELF      R10 = R9[K13('SetActive')] (self)
  0178  LOADBOOL  R11 = true
  0179  CALL      R9 = call(R9, 0 args, 2 rets)
  0180  JMP       (jump)   -> 193
  0181  GETTABLE  R9 = R0[K19('m_cookHourglass1')]
  0182  SELF      R10 = R9[K13('SetActive')] (self)
  0183  LOADBOOL  R11 = true
  0184  CALL      R9 = call(R9, 0 args, 2 rets)
  0185  GETTABLE  R9 = R0[K20('m_cookHourglass2')]
  0186  SELF      R10 = R9[K13('SetActive')] (self)
  0187  LOADBOOL  R11 = true
  0188  CALL      R9 = call(R9, 0 args, 2 rets)
  0189  GETTABLE  R9 = R0[K21('m_cookHourglass3')]
  0190  SELF      R10 = R9[K13('SetActive')] (self)
  0191  LOADBOOL  R11 = true
  0192  CALL      R9 = call(R9, 0 args, 2 rets)
  0193  GETTABUP  R9 = _ENV[K42('EItemCookState')]
  0194  GETTABLE  R9 = R9[K44('Prepare')]
  0195  EQ        if R1 eq R9   -> -126770
  0196  JMP       (jump)   -> 201
  0197  GETTABUP  R9 = _ENV[K42('EItemCookState')]
  0198  GETTABLE  R9 = R9[K45('CanCook')]
  0199  EQ        if R0 eq R9   -> -126766
  0200  JMP       (jump)   -> 210
  0201  GETTABLE  R9 = R0[K24('m_cookTip1')]
  0202  SELF      R10 = R9[K13('SetActive')] (self)
  0203  LOADBOOL  R11 = true
  0204  CALL      R9 = call(R9, 0 args, 2 rets)
  0205  GETTABLE  R9 = R0[K25('m_cookTip2')]
  0206  SELF      R10 = R9[K13('SetActive')] (self)
  0207  LOADBOOL  R11 = true
  0208  CALL      R9 = call(R9, 0 args, 2 rets)
  0209  JMP       (jump)   -> 235
  0210  GETTABUP  R9 = _ENV[K42('EItemCookState')]
  0211  GETTABLE  R9 = R9[K46('Cooking')]
  0212  EQ        if R0 eq R9   -> -126753
  0213  JMP       (jump)   -> 235
  0214  SELF      R10 = R0[K47('_LoadCookingSpine')] (self)
  0215  MOVE      R11 = R0
  0216  MOVE      R12 = R0
  0217  MOVE      R13 = R0
  0218  CALL      R9 = call(R9, 0 args, 4 rets)
  0219  GETTABLE  R9 = R0[K48('m_addNormal')]
  0220  SELF      R10 = R9[K13('SetActive')] (self)
  0221  LOADBOOL  R11 = false
  0222  CALL      R9 = call(R9, 0 args, 2 rets)
  0223  GETTABLE  R9 = R0[K16('m_addCooking')]
  0224  SELF      R10 = R9[K13('SetActive')] (self)
  0225  LOADBOOL  R11 = true
  0226  CALL      R9 = call(R9, 0 args, 2 rets)
  0227  GETTABLE  R9 = R0[K17('m_cookingBar1')]
  0228  SELF      R10 = R9[K13('SetActive')] (self)
  0229  LOADBOOL  R11 = true
  0230  CALL      R9 = call(R9, 0 args, 2 rets)
  0231  GETTABLE  R9 = R0[K18('m_cookingBar2')]
  0232  SELF      R10 = R9[K13('SetActive')] (self)
  0233  LOADBOOL  R11 = true
  0234  CALL      R9 = call(R9, 0 args, 2 rets)
  0235  GETTABLE  R8 = R0[K49('m_bgGreen')]
  0236  SELF      R9 = R8[K13('SetActive')] (self)
  0237  EQ        if R0 eq K30(nil)   -> -127475
  0238  JMP       (jump)   -> 240
  0239  LOADBOOL  R10 = false
  0240  LOADBOOL  R10 = true
  0241  CALL      R8 = call(R8, 0 args, 2 rets)
  0242  GETTABLE  R8 = R0[K50('m_bgRed')]
  0243  SELF      R9 = R8[K13('SetActive')] (self)
  0244  EQ        if R0 eq K30(nil)   -> -126956
  0245  JMP       (jump)   -> 247
  0246  LOADBOOL  R10 = false
  0247  LOADBOOL  R10 = true
  0248  CALL      R8 = call(R8, 0 args, 2 rets)
  0249  GETTABLE  R8 = R0[K51('m_bgBlue')]
  0250  SELF      R9 = R8[K13('SetActive')] (self)
  0251  EQ        if R0 eq K30(nil)   -> -127461
  0252  JMP       (jump)   -> 255
  0253  EQ        if R1 eq K30(nil)   -> -126947
  0254  JMP       (jump)   -> 256
  0255  LOADBOOL  R10 = false
  0256  LOADBOOL  R10 = true
  0257  CALL      R8 = call(R8, 0 args, 2 rets)
  0258  RETURN    return R0..R-1
; ---------- proto1 [_LoadPdEnergyEffect] ----------
  ; fn ?  line 83-94 np=2 va=0 ms=10 code=33 consts=10 upvals=1 protos=0
  ;   K[0]='MainBoardView'
  ;   K[1]='GetInstance'
  ;   K[2]='GetItemView'
  ;   K[3]='GetComponent'
  ;   K[4]='ItemSpreadView'
  ;   K[5]='GetHintEffectPrefab'
  ;   K[6]='_LoadEnergyEffect'
  ;   K[7]='m_energyTrans1'
  ;   K[8]='m_energyTrans2'
  ;   K[9]='m_energyTrans3'
  ;   upvals: _ENV
  ;   locals: self(0-33), beforeItem(0-33), boardView(3-33), itemView(8-33), itemSpreadView(13-33), prefab(17-33)
  0000  GETTABUP  R2 = _ENV[K0('MainBoardView')]
  0001  GETTABLE  R2 = R2[K1('GetInstance')]
  0002  CALL      R2 = call(R2, 1 args, 0 rets)
  0003  TESTSET   if R0 then R3   -> -130043
  0004  JMP       (jump)   -> 8
  0005  SELF      R4 = R2[K2('GetItemView')] (self)
  0006  MOVE      R5 = R0
  0007  CALL      R3 = call(R3, 1 args, 2 rets)
  0008  TESTSET   if R0 then R4   -> -129526
  0009  JMP       (jump)   -> 13
  0010  SELF      R5 = R3[K3('GetComponent')] (self)
  0011  GETTABUP  R6 = _ENV[K4('ItemSpreadView')]
  0012  CALL      R4 = call(R4, 1 args, 2 rets)
  0013  TESTSET   if R0 then R5   -> -129009
  0014  JMP       (jump)   -> 17
  0015  SELF      R6 = R4[K5('GetHintEffectPrefab')] (self)
  0016  CALL      R5 = call(R5, 1 args, 1 rets)
  0017  TEST      if not R5 then   -> -131052
  0018  JMP       (jump)   -> 20
  0019  RETURN    return R0..R-1
  0020  SELF      R7 = R0[K6('_LoadEnergyEffect')] (self)
  0021  MOVE      R8 = R0
  0022  GETTABLE  R9 = R0[K7('m_energyTrans1')]
  0023  CALL      R6 = call(R6, 0 args, 3 rets)
  0024  SELF      R7 = R0[K6('_LoadEnergyEffect')] (self)
  0025  MOVE      R8 = R0
  0026  GETTABLE  R9 = R0[K8('m_energyTrans2')]
  0027  CALL      R6 = call(R6, 0 args, 3 rets)
  0028  SELF      R7 = R0[K6('_LoadEnergyEffect')] (self)
  0029  MOVE      R8 = R0
  0030  GETTABLE  R9 = R0[K9('m_energyTrans3')]
  0031  CALL      R6 = call(R6, 0 args, 3 rets)
  0032  RETURN    return R0..R-1
; ---------- proto2 [_LoadEnergyEffect] ----------
  ; fn ?  line 96-102 np=3 va=0 ms=8 code=21 consts=11 upvals=1 protos=0
  ;   K[0]='Object'
  ;   K[1]='Instantiate'
  ;   K[2]='UIUtil'
  ;   K[3]='UpdateSortingOrder'
  ;   K[4]='GetSortingOrder'
  ;   K[5]=3
  ;   K[6]='LayerMask'
  ;   K[7]='NameToLayer'
  ;   K[8]='UI'
  ;   K[9]='transform'
  ;   K[10]='SetLayerRecursively'
  ;   upvals: _ENV
  ;   locals: self(0-21), effect(0-21), rootTrans(0-21), go(5-21), uiLayer(16-21)
  0000  GETTABUP  R3 = _ENV[K0('Object')]
  0001  GETTABLE  R3 = R3[K1('Instantiate')]
  0002  MOVE      R4 = R0
  0003  MOVE      R5 = R0
  0004  CALL      R3 = call(R3, 1 args, 2 rets)
  0005  GETTABUP  R4 = _ENV[K2('UIUtil')]
  0006  GETTABLE  R4 = R4[K3('UpdateSortingOrder')]
  0007  MOVE      R5 = R0
  0008  SELF      R7 = R0[K4('GetSortingOrder')] (self)
  0009  CALL      R6 = call(R6, 1 args, 1 rets)
  0010  ADD       R6 = K5(3) add R6
  0011  CALL      R4 = call(R4, 0 args, 2 rets)
  0012  GETTABUP  R4 = _ENV[K6('LayerMask')]
  0013  GETTABLE  R4 = R4[K7('NameToLayer')]
  0014  LOADK     R5 = K8 'UI'
  0015  CALL      R4 = call(R4, 1 args, 1 rets)
  0016  GETTABLE  R5 = R3[K9('transform')]
  0017  SELF      R6 = R5[K10('SetLayerRecursively')] (self)
  0018  MOVE      R7 = R0
  0019  CALL      R5 = call(R5, 0 args, 2 rets)
  0020  RETURN    return R0..R-1
; ---------- proto3 [_LoadCookingSpine] ----------
  ; fn ?  line 104-122 np=4 va=0 ms=12 code=53 consts=13 upvals=1 protos=2
  ;   K[0]='GetRecipe'
  ;   K[1]='_spine'
  ;   K[2]='GM'
  ;   K[3]='DataResource'
  ;   K[4]='ScenePrefabConfig'
  ;   K[5]='HasConfig'
  ;   K[6]='ResourceLoader'
  ;   K[7]='LoadPrefab'
  ;   K[8]='GetConfig'
  ;   K[9]='m_spineRootTrans1'
  ;   K[10]='Vector3'
  ;   K[11]='zero'
  ;   K[12]='m_spineRootTrans2'
  ;   upvals: _ENV
  ;   locals: self(0-53), itemCook(0-53), beforeItemCode(0-53), afterItemCode(0-53), recipe(2-53), spinePrefab(5-53)
  0000  SELF      R5 = R1[K0('GetRecipe')] (self)
  0001  CALL      R4 = call(R4, 1 args, 1 rets)
  0002  MOVE      R5 = R0
  0003  LOADK     R6 = K1 '_spine'
  0004  CONCAT    R5 = concat(R5..R5)
  0005  GETTABUP  R6 = _ENV[K2('GM')]
  0006  GETTABLE  R6 = R6[K3('DataResource')]
  0007  GETTABLE  R6 = R6[K4('ScenePrefabConfig')]
  0008  SELF      R7 = R6[K5('HasConfig')] (self)
  0009  MOVE      R8 = R0
  0010  CALL      R6 = call(R6, 1 args, 2 rets)
  0011  TEST      if not R6 then   -> -131059
  0012  JMP       (jump)   -> 27
  0013  GETTABUP  R6 = _ENV[K2('GM')]
  0014  GETTABLE  R6 = R6[K6('ResourceLoader')]
  0015  SELF      R7 = R6[K7('LoadPrefab')] (self)
  0016  GETTABUP  R8 = _ENV[K2('GM')]
  0017  GETTABLE  R8 = R8[K3('DataResource')]
  0018  GETTABLE  R8 = R8[K4('ScenePrefabConfig')]
  0019  SELF      R9 = R8[K8('GetConfig')] (self)
  0020  MOVE      R10 = R0
  0021  CALL      R8 = call(R8, 1 args, 2 rets)
  0022  GETTABLE  R9 = R0[K9('m_spineRootTrans1')]
  0023  GETTABUP  R10 = _ENV[K10('Vector3')]
  0024  GETTABLE  R10 = R10[K11('zero')]
  0025  CLOSURE   R11 = closure proto0
  0026  CALL      R6 = call(R6, 0 args, 5 rets)
  0027  MOVE      R6 = R0
  0028  LOADK     R7 = K1 '_spine'
  0029  CONCAT    R5 = concat(R5..R6)
  0030  GETTABUP  R6 = _ENV[K2('GM')]
  0031  GETTABLE  R6 = R6[K3('DataResource')]
  0032  GETTABLE  R6 = R6[K4('ScenePrefabConfig')]
  0033  SELF      R7 = R6[K5('HasConfig')] (self)
  0034  MOVE      R8 = R0
  0035  CALL      R6 = call(R6, 1 args, 2 rets)
  0036  TEST      if not R6 then   -> -131034
  0037  JMP       (jump)   -> 52
  0038  GETTABUP  R6 = _ENV[K2('GM')]
  0039  GETTABLE  R6 = R6[K6('ResourceLoader')]
  0040  SELF      R7 = R6[K7('LoadPrefab')] (self)
  0041  GETTABUP  R8 = _ENV[K2('GM')]
  0042  GETTABLE  R8 = R8[K3('DataResource')]
  0043  GETTABLE  R8 = R8[K4('ScenePrefabConfig')]
  0044  SELF      R9 = R8[K8('GetConfig')] (self)
  0045  MOVE      R10 = R0
  0046  CALL      R8 = call(R8, 1 args, 2 rets)
  0047  GETTABLE  R9 = R0[K12('m_spineRootTrans2')]
  0048  GETTABUP  R10 = _ENV[K10('Vector3')]
  0049  GETTABLE  R10 = R10[K11('zero')]
  0050  CLOSURE   R11 = closure proto1
  0051  CALL      R6 = call(R6, 0 args, 5 rets)
  0052  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 109-112 np=1 va=0 ms=5 code=9 consts=3 upvals=2 protos=0
    ;   K[0]='m_itemSpine1'
    ;   K[1]='GetLuaTable'
    ;   K[2]='_OnLoadItemSpine'
    ;   upvals: self, recipe
    ;   locals: go(0-9)
    0000  SELF      R2 = R0[K1('GetLuaTable')] (self)
    0001  CALL      R1 = call(R1, 1 args, 1 rets)
    0002  SETTABUP  self[K0('m_itemSpine1')] = R1
    0003  GETUPVAL  R1 = self
    0004  SELF      R2 = R1[K2('_OnLoadItemSpine')] (self)
    0005  GETTABUP  R3 = self[K0('m_itemSpine1')]
    0006  GETUPVAL  R4 = self
    0007  CALL      R1 = call(R1, 0 args, 3 rets)
    0008  RETURN    return R0..R-1
  ; ---------- proto1 [] ----------
    ; fn ?  line 117-120 np=1 va=0 ms=5 code=9 consts=3 upvals=2 protos=0
    ;   K[0]='m_itemSpine2'
    ;   K[1]='GetLuaTable'
    ;   K[2]='_OnLoadItemSpine'
    ;   upvals: self, recipe
    ;   locals: go(0-9)
    0000  SELF      R2 = R0[K1('GetLuaTable')] (self)
    0001  CALL      R1 = call(R1, 1 args, 1 rets)
    0002  SETTABUP  self[K0('m_itemSpine2')] = R1
    0003  GETUPVAL  R1 = self
    0004  SELF      R2 = R1[K2('_OnLoadItemSpine')] (self)
    0005  GETTABUP  R3 = self[K0('m_itemSpine2')]
    0006  GETUPVAL  R4 = self
    0007  CALL      R1 = call(R1, 0 args, 3 rets)
    0008  RETURN    return R0..R-1
; ---------- proto4 [_OnLoadItemSpine] ----------
  ; fn ?  line 124-140 np=3 va=0 ms=12 code=44 consts=19 upvals=1 protos=1
  ;   K[0]='Init'
  ;   K[1]='UIUtil'
  ;   K[2]='UpdateSortingOrder'
  ;   K[3]='gameObject'
  ;   K[4]='GetSortingOrder'
  ;   K[5]=1
  ;   K[6]='LayerMask'
  ;   K[7]='NameToLayer'
  ;   K[8]='UI'
  ;   K[9]='transform'
  ;   K[10]='SetLayerRecursively'
  ;   K[11]='GM'
  ;   K[12]='ItemDataModel'
  ;   K[13]='GetCookAnimationName'
  ;   K[14]='HasAnimation'
  ;   K[15]='PlayLoopAnimation'
  ;   K[16]='SetActive'
  ;   K[17]='DelayExecuteFuncInView'
  ;   K[18]=0.1
  ;   upvals: _ENV
  ;   locals: self(0-44), itemSpine(0-44), recipe(0-44), uiLayer(13-44), origin(22-44), special(22-44), animName(30-44)
  0000  SELF      R4 = R1[K0('Init')] (self)
  0001  CALL      R3 = call(R3, 0 args, 1 rets)
  0002  GETTABUP  R3 = _ENV[K1('UIUtil')]
  0003  GETTABLE  R3 = R3[K2('UpdateSortingOrder')]
  0004  GETTABLE  R4 = R1[K3('gameObject')]
  0005  SELF      R6 = R0[K4('GetSortingOrder')] (self)
  0006  CALL      R5 = call(R5, 1 args, 1 rets)
  0007  ADD       R5 = K5(1) add R5
  0008  CALL      R3 = call(R3, 0 args, 2 rets)
  0009  GETTABUP  R3 = _ENV[K6('LayerMask')]
  0010  GETTABLE  R3 = R3[K7('NameToLayer')]
  0011  LOADK     R4 = K8 'UI'
  0012  CALL      R3 = call(R3, 1 args, 1 rets)
  0013  GETTABLE  R4 = R1[K9('transform')]
  0014  SELF      R5 = R4[K10('SetLayerRecursively')] (self)
  0015  MOVE      R6 = R0
  0016  CALL      R4 = call(R4, 0 args, 2 rets)
  0017  GETTABUP  R4 = _ENV[K11('GM')]
  0018  GETTABLE  R4 = R4[K12('ItemDataModel')]
  0019  SELF      R5 = R4[K13('GetCookAnimationName')] (self)
  0020  MOVE      R6 = R0
  0021  CALL      R4 = call(R4, 2 args, 2 rets)
  0022  SELF      R7 = R1[K14('HasAnimation')] (self)
  0023  MOVE      R8 = R0
  0024  CALL      R6 = call(R6, 1 args, 2 rets)
  0025  TEST      if not R6 then   -> -131045
  0026  JMP       (jump)   -> 29
  0027  TESTSET   if R1 then R6   -> -128482
  0028  JMP       (jump)   -> 30
  0029  MOVE      R6 = R0
  0030  SELF      R8 = R1[K15('PlayLoopAnimation')] (self)
  0031  MOVE      R9 = R0
  0032  CALL      R7 = call(R7, 0 args, 2 rets)
  0033  GETTABLE  R7 = R1[K3('gameObject')]
  0034  SELF      R8 = R7[K16('SetActive')] (self)
  0035  LOADBOOL  R9 = false
  0036  CALL      R7 = call(R7, 0 args, 2 rets)
  0037  GETTABUP  R7 = _ENV[K17('DelayExecuteFuncInView')]
  0038  CLOSURE   R8 = closure proto0
  0039  LOADK     R9 = K18 0.1
  0040  MOVE      R10 = R0
  0041  LOADBOOL  R11 = false
  0042  CALL      R7 = call(R7, 0 args, 4 rets)
  0043  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 137-139 np=0 va=0 ms=3 code=5 consts=1 upvals=1 protos=0
    ;   K[0]='_ToggleItemSpine'
    ;   upvals: self
    0000  GETUPVAL  R0 = self
    0001  SELF      R1 = R0[K0('_ToggleItemSpine')] (self)
    0002  LOADBOOL  R2 = true
    0003  CALL      R0 = call(R0, 0 args, 2 rets)
    0004  RETURN    return R0..R-1
; ---------- proto5 [_ToggleItemSpine] ----------
  ; fn ?  line 142-152 np=2 va=0 ms=5 code=23 consts=7 upvals=0 protos=0
  ;   K[0]='m_itemSpine1'
  ;   K[1]='gameObject'
  ;   K[2]='SetActive'
  ;   K[3]='m_beforeImg1'
  ;   K[4]='enabled'
  ;   K[5]='m_itemSpine2'
  ;   K[6]='m_afterImg1'
  ;   locals: self(0-23), visible(0-23)
  0000  GETTABLE  R2 = R0[K0('m_itemSpine1')]
  0001  TEST      if not R2 then   -> -131069
  0002  JMP       (jump)   -> 11
  0003  GETTABLE  R2 = R0[K0('m_itemSpine1')]
  0004  GETTABLE  R2 = R2[K1('gameObject')]
  0005  SELF      R3 = R2[K2('SetActive')] (self)
  0006  MOVE      R4 = R0
  0007  CALL      R2 = call(R2, 0 args, 2 rets)
  0008  GETTABLE  R2 = R0[K3('m_beforeImg1')]
  0009  NOT       R3 = not R0
  0010  SETTABLE  R2[K4('enabled')] = R3
  0011  GETTABLE  R2 = R0[K5('m_itemSpine2')]
  0012  TEST      if not R2 then   -> -131058
  0013  JMP       (jump)   -> 22
  0014  GETTABLE  R2 = R0[K5('m_itemSpine2')]
  0015  GETTABLE  R2 = R2[K1('gameObject')]
  0016  SELF      R3 = R2[K2('SetActive')] (self)
  0017  MOVE      R4 = R0
  0018  CALL      R2 = call(R2, 0 args, 2 rets)
  0019  GETTABLE  R2 = R0[K6('m_afterImg1')]
  0020  NOT       R3 = not R0
  0021  SETTABLE  R2[K4('enabled')] = R3
  0022  RETURN    return R0..R-1
; ---------- proto6 [OnGreenClick] ----------
  ; fn ?  line 154-159 np=1 va=0 ms=3 code=8 consts=2 upvals=0 protos=0
  ;   K[0]='m_greenButtonCallback'
  ;   K[1]='Close'
  ;   locals: self(0-8)
  0000  GETTABLE  R1 = R0[K0('m_greenButtonCallback')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 5
  0003  GETTABLE  R1 = R0[K0('m_greenButtonCallback')]
  0004  CALL      R1 = call(R1, 0 args, 0 rets)
  0005  SELF      R2 = R0[K1('Close')] (self)
  0006  CALL      R1 = call(R1, 0 args, 1 rets)
  0007  RETURN    return R0..R-1
; ---------- proto7 [OnCloseView] ----------
  ; fn ?  line 161-165 np=1 va=0 ms=4 code=8 consts=3 upvals=1 protos=0
  ;   K[0]='_ToggleItemSpine'
  ;   K[1]='TwoButtonWindow'
  ;   K[2]='OnCloseView'
  ;   upvals: _ENV
  ;   locals: self(0-8)
  0000  SELF      R2 = R0[K0('_ToggleItemSpine')] (self)
  0001  LOADBOOL  R3 = false
  0002  CALL      R1 = call(R1, 0 args, 2 rets)
  0003  GETTABUP  R1 = _ENV[K1('TwoButtonWindow')]
  0004  GETTABLE  R1 = R1[K2('OnCloseView')]
  0005  MOVE      R2 = R0
  0006  CALL      R1 = call(R1, 0 args, 1 rets)
  0007  RETURN    return R0..R-1
