# Model_Tutorial_Executer_TutorialExecuterProducerInventory_2196.luac
; fn @TutorialExecuterProducerInventory.lua  line 0-0 np=0 va=1 ms=5 code=37 consts=18 upvals=1 protos=10
;   K[0]='ItemStore'
;   K[1]='ClickInventory'
;   K[2]='ClickProducer'
;   K[3]='pd_inventory_tutorial_1'
;   K[4]='pd_inventory_tutorial_2'
;   K[5]='pd_inventory_tutorial_3'
;   K[6]='setmetatable'
;   K[7]='TutorialExecuter'
;   K[8]='__index'
;   K[9]='OnStart'
;   K[10]='TryStartTutorial'
;   K[11]='GetTargetItem'
;   K[12]='_StartStepItemStore'
;   K[13]='_StartStepClickInventory'
;   K[14]='_StartStepClickProducer'
;   K[15]='_OnOpenView'
;   K[16]='_ItemStored'
;   K[17]='_OnTabChanged'
;   upvals: _ENV
;   locals: Step(4-37), EStep2TextKey(11-37), Executer(15-37)
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABLE  R0[K0('ItemStore')] = K0('ItemStore')
0002  SETTABLE  R0[K1('ClickInventory')] = K1('ClickInventory')
0003  SETTABLE  R0[K2('ClickProducer')] = K2('ClickProducer')
0004  NEWTABLE  R1 = {} (0 items)
0005  GETTABLE  R2 = R0[K0('ItemStore')]
0006  SETTABLE  R1[R2] = K3('pd_inventory_tutorial_1')
0007  GETTABLE  R2 = R0[K1('ClickInventory')]
0008  SETTABLE  R1[R2] = K4('pd_inventory_tutorial_2')
0009  GETTABLE  R2 = R0[K2('ClickProducer')]
0010  SETTABLE  R1[R2] = K5('pd_inventory_tutorial_3')
0011  GETTABUP  R2 = _ENV[K6('setmetatable')]
0012  NEWTABLE  R3 = {} (0 items)
0013  GETTABUP  R4 = _ENV[K7('TutorialExecuter')]
0014  CALL      R2 = call(R2, 1 args, 2 rets)
0015  SETTABLE  R2[K8('__index')] = R2
0016  CLOSURE   R3 = closure proto0
0017  SETTABLE  R2[K9('OnStart')] = R3
0018  CLOSURE   R3 = closure proto1
0019  SETTABLE  R2[K10('TryStartTutorial')] = R3
0020  CLOSURE   R3 = closure proto2
0021  SETTABLE  R2[K11('GetTargetItem')] = R3
0022  CLOSURE   R3 = closure proto3
0023  SETTABLE  R2[K12('_StartStepItemStore')] = R3
0024  CLOSURE   R3 = closure proto4
0025  SETTABLE  R2[K13('_StartStepClickInventory')] = R3
0026  CLOSURE   R3 = closure proto5
0027  SETTABLE  R2[K14('_StartStepClickProducer')] = R3
0028  CLOSURE   R3 = closure proto6
0029  SETTABLE  R2[K15('_OnOpenView')] = R3
0030  CLOSURE   R3 = closure proto7
0031  SETTABLE  R2[K16('_ItemStored')] = R3
0032  CLOSURE   R3 = closure proto8
0033  SETTABLE  R2[K17('_OnTabChanged')] = R3
0034  CLOSURE   R3 = closure proto9
0035  RETURN    return R3..R2
0036  RETURN    return R0..R-1
; ---------- proto0 [OnStart] ----------
  ; fn ?  line 30-34 np=1 va=0 ms=5 code=22 consts=9 upvals=1 protos=0
  ;   K[0]='EventDispatcher'
  ;   K[1]='AddListener'
  ;   K[2]='EEventType'
  ;   K[3]='OpenView'
  ;   K[4]='_OnOpenView'
  ;   K[5]='ItemStored'
  ;   K[6]='_ItemStored'
  ;   K[7]='InventoryChangeTab'
  ;   K[8]='_OnTabChanged'
  ;   upvals: _ENV
  ;   locals: self(0-22)
  0000  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0001  GETTABLE  R1 = R1[K1('AddListener')]
  0002  GETTABUP  R2 = _ENV[K2('EEventType')]
  0003  GETTABLE  R2 = R2[K3('OpenView')]
  0004  MOVE      R3 = R0
  0005  GETTABLE  R4 = R0[K4('_OnOpenView')]
  0006  CALL      R1 = call(R1, 0 args, 3 rets)
  0007  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0008  GETTABLE  R1 = R1[K1('AddListener')]
  0009  GETTABUP  R2 = _ENV[K2('EEventType')]
  0010  GETTABLE  R2 = R2[K5('ItemStored')]
  0011  MOVE      R3 = R0
  0012  GETTABLE  R4 = R0[K6('_ItemStored')]
  0013  CALL      R1 = call(R1, 0 args, 3 rets)
  0014  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0015  GETTABLE  R1 = R1[K1('AddListener')]
  0016  GETTABUP  R2 = _ENV[K2('EEventType')]
  0017  GETTABLE  R2 = R2[K7('InventoryChangeTab')]
  0018  MOVE      R3 = R0
  0019  GETTABLE  R4 = R0[K8('_OnTabChanged')]
  0020  CALL      R1 = call(R1, 0 args, 3 rets)
  0021  RETURN    return R0..R-1
; ---------- proto1 [TryStartTutorial] ----------
  ; fn ?  line 36-58 np=1 va=0 ms=6 code=50 consts=14 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='SceneManager'
  ;   K[2]='GetGameMode'
  ;   K[3]='EGameMode'
  ;   K[4]='Board'
  ;   K[5]='MainBoardModel'
  ;   K[6]='IsProducerInventoryOpen'
  ;   K[7]='GetTargetItem'
  ;   K[8]=nil
  ;   K[9]='m_model'
  ;   K[10]='SetTutorialFinished'
  ;   K[11]='GetTutorialId'
  ;   K[12]='_StartStepItemStore'
  ;   K[13]='_StartStepClickInventory'
  ;   upvals: _ENV
  ;   locals: self(0-50), item(19-50)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('SceneManager')]
  0002  SELF      R2 = R1[K2('GetGameMode')] (self)
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  GETTABUP  R2 = _ENV[K3('EGameMode')]
  0005  GETTABLE  R2 = R2[K4('Board')]
  0006  EQ        if R0 eq R2   -> -130550
  0007  JMP       (jump)   -> 14
  0008  GETTABUP  R1 = _ENV[K0('GM')]
  0009  GETTABLE  R1 = R1[K5('MainBoardModel')]
  0010  SELF      R2 = R1[K6('IsProducerInventoryOpen')] (self)
  0011  CALL      R1 = call(R1, 1 args, 1 rets)
  0012  TEST      if not R1 then   -> -131057
  0013  JMP       (jump)   -> 16
  0014  LOADBOOL  R1 = false
  0015  RETURN    return R1..R0
  0016  SELF      R2 = R0[K7('GetTargetItem')] (self)
  0017  LOADBOOL  R3 = false
  0018  CALL      R1 = call(R1, 1 args, 2 rets)
  0019  EQ        if R1 eq K8(nil)   -> -130275
  0020  JMP       (jump)   -> 31
  0021  GETTABLE  R2 = R0[K9('m_model')]
  0022  SELF      R3 = R2[K10('SetTutorialFinished')] (self)
  0023  SELF      R5 = R0[K11('GetTutorialId')] (self)
  0024  CALL      R4 = call(R4, -1 args, 1 rets)
  0025  CALL      R2 = call(R2, 0 args, -1 rets)
  0026  SELF      R3 = R0[K12('_StartStepItemStore')] (self)
  0027  MOVE      R4 = R0
  0028  CALL      R2 = call(R2, 0 args, 2 rets)
  0029  LOADBOOL  R2 = true
  0030  RETURN    return R2..R1
  0031  SELF      R3 = R0[K7('GetTargetItem')] (self)
  0032  LOADBOOL  R4 = true
  0033  CALL      R2 = call(R2, 1 args, 2 rets)
  0034  MOVE      R1 = R0
  0035  EQ        if R1 eq K8(nil)   -> -130259
  0036  JMP       (jump)   -> 47
  0037  GETTABLE  R2 = R0[K9('m_model')]
  0038  SELF      R3 = R2[K10('SetTutorialFinished')] (self)
  0039  SELF      R5 = R0[K11('GetTutorialId')] (self)
  0040  CALL      R4 = call(R4, -1 args, 1 rets)
  0041  CALL      R2 = call(R2, 0 args, -1 rets)
  0042  SELF      R3 = R0[K13('_StartStepClickInventory')] (self)
  0043  LOADBOOL  R4 = true
  0044  CALL      R2 = call(R2, 0 args, 2 rets)
  0045  LOADBOOL  R2 = true
  0046  RETURN    return R2..R1
  0047  LOADBOOL  R2 = false
  0048  RETURN    return R2..R1
  0049  RETURN    return R0..R-1
; ---------- proto2 [GetTargetItem] ----------
  ; fn ?  line 60-79 np=2 va=0 ms=12 code=39 consts=8 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='MainBoardModel'
  ;   K[2]='GetUnlockedPDInventoryConfig'
  ;   K[3]='ipairs'
  ;   K[4]='GetOneBoardItemByType'
  ;   K[5]='type'
  ;   K[6]=nil
  ;   K[7]='GetOneStoredItemByType'
  ;   upvals: _ENV
  ;   locals: self(0-39), bInventory(0-39), arrUnlockedPDConfig(4-39), itemModel(5-39), (for generator)(10-22), (for state)(10-22), (for control)(10-22), _(11-20), producerConfig(11-20), (for generator)(26-38), (for state)(26-38), (for control)(26-38), _(27-36), producerConfig(27-36)
  0000  GETTABUP  R2 = _ENV[K0('GM')]
  0001  GETTABLE  R2 = R2[K1('MainBoardModel')]
  0002  SELF      R3 = R2[K2('GetUnlockedPDInventoryConfig')] (self)
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  LOADNIL   R3..R3 = nil
  0005  TEST      if not R1 then   -> -131064
  0006  JMP       (jump)   -> 23
  0007  GETTABUP  R4 = _ENV[K3('ipairs')]
  0008  MOVE      R5 = R0
  0009  CALL      R4 = call(R4, 3 args, 1 rets)
  0010  JMP       (jump)   -> 20
  0011  GETTABUP  R9 = _ENV[K0('GM')]
  0012  GETTABLE  R9 = R9[K1('MainBoardModel')]
  0013  SELF      R10 = R9[K4('GetOneBoardItemByType')] (self)
  0014  GETTABLE  R11 = R8[K5('type')]
  0015  CALL      R9 = call(R9, 1 args, 2 rets)
  0016  MOVE      R3 = R0
  0017  EQ        if R1 eq K6(nil)   -> -129255
  0018  JMP       (jump)   -> 20
  0019  RETURN    return R3..R2
  0020  TFORCALL  tforcall R4
  0021  TFORLOOP  tforloop R6(sBx=-11)   -> 11
  0022  JMP       (jump)   -> 38
  0023  GETTABUP  R4 = _ENV[K3('ipairs')]
  0024  MOVE      R5 = R0
  0025  CALL      R4 = call(R4, 3 args, 1 rets)
  0026  JMP       (jump)   -> 36
  0027  GETTABUP  R9 = _ENV[K0('GM')]
  0028  GETTABLE  R9 = R9[K1('MainBoardModel')]
  0029  SELF      R10 = R9[K7('GetOneStoredItemByType')] (self)
  0030  GETTABLE  R11 = R8[K5('type')]
  0031  CALL      R9 = call(R9, 1 args, 2 rets)
  0032  MOVE      R3 = R0
  0033  EQ        if R1 eq K6(nil)   -> -129239
  0034  JMP       (jump)   -> 36
  0035  RETURN    return R3..R2
  0036  TFORCALL  tforcall R4
  0037  TFORLOOP  tforloop R6(sBx=-11)   -> 27
  0038  RETURN    return R0..R-1
; ---------- proto3 [_StartStepItemStore] ----------
  ; fn ?  line 81-99 np=2 va=0 ms=9 code=50 consts=23 upvals=3 protos=0
  ;   K[0]='SetStrongTutorial'
  ;   K[1]='m_strOngoingDatas'
  ;   K[2]='ItemStore'
  ;   K[3]='m_item'
  ;   K[4]='GetPosition'
  ;   K[5]='m_gesture'
  ;   K[6]='TutorialHelper'
  ;   K[7]='MaskDragToInventory'
  ;   K[8]='GM'
  ;   K[9]='GameTextModel'
  ;   K[10]='GetText'
  ;   K[11]='UpdateSortingOrder'
  ;   K[12]='ESpecialViewSortingOrder'
  ;   K[13]='TutorialHighlight'
  ;   K[14]=1
  ;   K[15]='GetHudButton'
  ;   K[16]='ESceneViewHudButtonKey'
  ;   K[17]='Inventory'
  ;   K[18]='SetClickEnabled'
  ;   K[19]='GetBoardInfoTipButton'
  ;   K[20]=nil
  ;   K[21]='SetEnabled'
  ;   K[22]='Map'
  ;   upvals: Step, _ENV, EStep2TextKey
  ;   locals: self(0-50), item(0-50), itemPos(8-50), inventoryButton(30-50), itemTipButton(36-50), toMapBtn(46-50)
  0000  SELF      R3 = R0[K0('SetStrongTutorial')] (self)
  0001  LOADBOOL  R4 = true
  0002  CALL      R2 = call(R2, 0 args, 2 rets)
  0003  GETTABUP  R2 = Step[K2('ItemStore')]
  0004  SETTABLE  R0[K1('m_strOngoingDatas')] = R2
  0005  SETTABLE  R0[K3('m_item')] = R1
  0006  SELF      R3 = R1[K4('GetPosition')] (self)
  0007  CALL      R2 = call(R2, 1 args, 1 rets)
  0008  GETTABUP  R3 = _ENV[K6('TutorialHelper')]
  0009  GETTABLE  R3 = R3[K7('MaskDragToInventory')]
  0010  MOVE      R4 = R0
  0011  GETTABUP  R5 = _ENV[K8('GM')]
  0012  GETTABLE  R5 = R5[K9('GameTextModel')]
  0013  SELF      R6 = R5[K10('GetText')] (self)
  0014  GETTABLE  R7 = R0[K1('m_strOngoingDatas')]
  0015  GETTABUP  R7 = EStep2TextKey[R7]
  0016  CALL      R5 = call(R5, -1 args, 2 rets)
  0017  CALL      R3 = call(R3, 1 args, -1 rets)
  0018  SETTABLE  R0[K5('m_gesture')] = R3
  0019  GETTABLE  R3 = R0[K5('m_gesture')]
  0020  SELF      R4 = R3[K11('UpdateSortingOrder')] (self)
  0021  GETTABUP  R5 = _ENV[K12('ESpecialViewSortingOrder')]
  0022  GETTABLE  R5 = R5[K13('TutorialHighlight')]
  0023  ADD       R5 = K14(1) add R5
  0024  CALL      R3 = call(R3, 0 args, 2 rets)
  0025  GETTABUP  R3 = _ENV[K6('TutorialHelper')]
  0026  GETTABLE  R3 = R3[K15('GetHudButton')]
  0027  GETTABUP  R4 = _ENV[K16('ESceneViewHudButtonKey')]
  0028  GETTABLE  R4 = R4[K17('Inventory')]
  0029  CALL      R3 = call(R3, 1 args, 1 rets)
  0030  SELF      R5 = R3[K18('SetClickEnabled')] (self)
  0031  LOADBOOL  R6 = false
  0032  CALL      R4 = call(R4, 0 args, 2 rets)
  0033  GETTABUP  R4 = _ENV[K6('TutorialHelper')]
  0034  GETTABLE  R4 = R4[K19('GetBoardInfoTipButton')]
  0035  CALL      R4 = call(R4, 1 args, 0 rets)
  0036  EQ        if R1 eq K20(nil)   -> -128710
  0037  JMP       (jump)   -> 41
  0038  SELF      R6 = R4[K21('SetEnabled')] (self)
  0039  LOADBOOL  R7 = false
  0040  CALL      R5 = call(R5, 0 args, 2 rets)
  0041  GETTABUP  R5 = _ENV[K6('TutorialHelper')]
  0042  GETTABLE  R5 = R5[K15('GetHudButton')]
  0043  GETTABUP  R6 = _ENV[K16('ESceneViewHudButtonKey')]
  0044  GETTABLE  R6 = R6[K22('Map')]
  0045  CALL      R5 = call(R5, 1 args, 1 rets)
  0046  SELF      R7 = R5[K21('SetEnabled')] (self)
  0047  LOADBOOL  R8 = false
  0048  CALL      R6 = call(R6, 0 args, 2 rets)
  0049  RETURN    return R0..R-1
; ---------- proto4 [_StartStepClickInventory] ----------
  ; fn ?  line 101-129 np=2 va=0 ms=9 code=73 consts=31 upvals=3 protos=0
  ;   K[0]='SetStrongTutorial'
  ;   K[1]='m_strOngoingDatas'
  ;   K[2]='ClickInventory'
  ;   K[3]='TutorialHelper'
  ;   K[4]='HideTutorialLayer'
  ;   K[5]='m_gesture'
  ;   K[6]=nil
  ;   K[7]='GM'
  ;   K[8]='TutorialModel'
  ;   K[9]='ClearTempDatas'
  ;   K[10]='GetHudButton'
  ;   K[11]='ESceneViewHudButtonKey'
  ;   K[12]='Inventory'
  ;   K[13]='SetClickEnabled'
  ;   K[14]='SetPlayTutorialAnim'
  ;   K[15]='GetBoardInfoTipButton'
  ;   K[16]='SetEnabled'
  ;   K[17]='Map'
  ;   K[18]='m_bPlayTutorialAnim'
  ;   K[19]='WholeMask'
  ;   K[20]='ShowDialog'
  ;   K[21]='GameTextModel'
  ;   K[22]='GetText'
  ;   K[23]=60
  ;   K[24]='HighlightHudButton'
  ;   K[25]='m_arrow'
  ;   K[26]='AddArrow2HudButton'
  ;   K[27]='UpdateSortingOrder'
  ;   K[28]='ESpecialViewSortingOrder'
  ;   K[29]='TutorialHighlight'
  ;   K[30]=1
  ;   upvals: Step, _ENV, EStep2TextKey
  ;   locals: self(0-73), bPlayTutorialAnim(0-73), inventoryButton(19-73), itemTipButton(28-73), toMapBtn(38-73)
  0000  SELF      R3 = R0[K0('SetStrongTutorial')] (self)
  0001  LOADBOOL  R4 = true
  0002  CALL      R2 = call(R2, 0 args, 2 rets)
  0003  GETTABUP  R2 = Step[K2('ClickInventory')]
  0004  SETTABLE  R0[K1('m_strOngoingDatas')] = R2
  0005  GETTABUP  R2 = _ENV[K3('TutorialHelper')]
  0006  GETTABLE  R2 = R2[K4('HideTutorialLayer')]
  0007  GETTABLE  R3 = R0[K5('m_gesture')]
  0008  CALL      R2 = call(R2, 0 args, 1 rets)
  0009  SETTABLE  R0[K5('m_gesture')] = K6(nil)
  0010  GETTABUP  R2 = _ENV[K7('GM')]
  0011  GETTABLE  R2 = R2[K8('TutorialModel')]
  0012  SELF      R3 = R2[K9('ClearTempDatas')] (self)
  0013  CALL      R2 = call(R2, 0 args, 1 rets)
  0014  GETTABUP  R2 = _ENV[K3('TutorialHelper')]
  0015  GETTABLE  R2 = R2[K10('GetHudButton')]
  0016  GETTABUP  R3 = _ENV[K11('ESceneViewHudButtonKey')]
  0017  GETTABLE  R3 = R3[K12('Inventory')]
  0018  CALL      R2 = call(R2, 1 args, 1 rets)
  0019  SELF      R4 = R2[K13('SetClickEnabled')] (self)
  0020  LOADBOOL  R5 = true
  0021  CALL      R3 = call(R3, 0 args, 2 rets)
  0022  SELF      R4 = R2[K14('SetPlayTutorialAnim')] (self)
  0023  MOVE      R5 = R0
  0024  CALL      R3 = call(R3, 0 args, 2 rets)
  0025  GETTABUP  R3 = _ENV[K3('TutorialHelper')]
  0026  GETTABLE  R3 = R3[K15('GetBoardInfoTipButton')]
  0027  CALL      R3 = call(R3, 1 args, 0 rets)
  0028  EQ        if R1 eq K6(nil)   -> -129244
  0029  JMP       (jump)   -> 33
  0030  SELF      R5 = R3[K16('SetEnabled')] (self)
  0031  LOADBOOL  R6 = true
  0032  CALL      R4 = call(R4, 0 args, 2 rets)
  0033  GETTABUP  R4 = _ENV[K3('TutorialHelper')]
  0034  GETTABLE  R4 = R4[K10('GetHudButton')]
  0035  GETTABUP  R5 = _ENV[K11('ESceneViewHudButtonKey')]
  0036  GETTABLE  R5 = R5[K17('Map')]
  0037  CALL      R4 = call(R4, 1 args, 1 rets)
  0038  SELF      R6 = R4[K16('SetEnabled')] (self)
  0039  LOADBOOL  R7 = true
  0040  CALL      R5 = call(R5, 0 args, 2 rets)
  0041  SETTABLE  R0[K18('m_bPlayTutorialAnim')] = R1
  0042  GETTABUP  R5 = _ENV[K3('TutorialHelper')]
  0043  GETTABLE  R5 = R5[K19('WholeMask')]
  0044  CALL      R5 = call(R5, 0 args, 0 rets)
  0045  GETTABUP  R5 = _ENV[K3('TutorialHelper')]
  0046  GETTABLE  R5 = R5[K20('ShowDialog')]
  0047  GETTABUP  R6 = _ENV[K7('GM')]
  0048  GETTABLE  R6 = R6[K21('GameTextModel')]
  0049  SELF      R7 = R6[K22('GetText')] (self)
  0050  GETTABLE  R8 = R0[K1('m_strOngoingDatas')]
  0051  GETTABUP  R8 = EStep2TextKey[R8]
  0052  CALL      R6 = call(R6, 1 args, 2 rets)
  0053  LOADK     R7 = K23 60
  0054  CALL      R5 = call(R5, 0 args, 2 rets)
  0055  GETTABUP  R5 = _ENV[K3('TutorialHelper')]
  0056  GETTABLE  R5 = R5[K24('HighlightHudButton')]
  0057  GETTABUP  R6 = _ENV[K11('ESceneViewHudButtonKey')]
  0058  GETTABLE  R6 = R6[K12('Inventory')]
  0059  CALL      R5 = call(R5, 0 args, 1 rets)
  0060  GETTABUP  R5 = _ENV[K3('TutorialHelper')]
  0061  GETTABLE  R5 = R5[K26('AddArrow2HudButton')]
  0062  GETTABUP  R6 = _ENV[K11('ESceneViewHudButtonKey')]
  0063  GETTABLE  R6 = R6[K12('Inventory')]
  0064  CALL      R5 = call(R5, 1 args, 1 rets)
  0065  SETTABLE  R0[K25('m_arrow')] = R5
  0066  GETTABLE  R5 = R0[K25('m_arrow')]
  0067  SELF      R6 = R5[K27('UpdateSortingOrder')] (self)
  0068  GETTABUP  R7 = _ENV[K28('ESpecialViewSortingOrder')]
  0069  GETTABLE  R7 = R7[K29('TutorialHighlight')]
  0070  ADD       R7 = K30(1) add R7
  0071  CALL      R5 = call(R5, 0 args, 2 rets)
  0072  RETURN    return R0..R-1
; ---------- proto5 [_StartStepClickProducer] ----------
  ; fn ?  line 131-147 np=1 va=0 ms=7 code=55 consts=27 upvals=3 protos=0
  ;   K[0]='m_strOngoingDatas'
  ;   K[1]='ClickProducer'
  ;   K[2]='GM'
  ;   K[3]='UIManager'
  ;   K[4]='GetOpenedViewByName'
  ;   K[5]='UIPrefabConfigName'
  ;   K[6]='InventoryWindow'
  ;   K[7]=nil
  ;   K[8]='gameObject'
  ;   K[9]='IsNull'
  ;   K[10]='Finish'
  ;   K[11]='m_gesture'
  ;   K[12]='m_arrow'
  ;   K[13]='GetProducerTabButtonTrans'
  ;   K[14]='TutorialHelper'
  ;   K[15]='WholeMask'
  ;   K[16]='HighlightForUI'
  ;   K[17]='TapOnCustomRectTrans'
  ;   K[18]='UpdateSortingOrder'
  ;   K[19]='ESpecialViewSortingOrder'
  ;   K[20]='TutorialHighlight'
  ;   K[21]=1
  ;   K[22]='m_tabTrans'
  ;   K[23]='ShowDialog'
  ;   K[24]='GameTextModel'
  ;   K[25]='GetText'
  ;   K[26]=50
  ;   upvals: Step, _ENV, EStep2TextKey
  ;   locals: self(0-55), window(8-55), tabTrans(25-55)
  0000  GETTABUP  R1 = Step[K1('ClickProducer')]
  0001  SETTABLE  R0[K0('m_strOngoingDatas')] = R1
  0002  GETTABUP  R1 = _ENV[K2('GM')]
  0003  GETTABLE  R1 = R1[K3('UIManager')]
  0004  SELF      R2 = R1[K4('GetOpenedViewByName')] (self)
  0005  GETTABUP  R3 = _ENV[K5('UIPrefabConfigName')]
  0006  GETTABLE  R3 = R3[K6('InventoryWindow')]
  0007  CALL      R1 = call(R1, 1 args, 2 rets)
  0008  EQ        if R1 eq K7(nil)   -> -130287
  0009  JMP       (jump)   -> 18
  0010  GETTABLE  R2 = R1[K8('gameObject')]
  0011  EQ        if R1 eq K7(nil)   -> -129772
  0012  JMP       (jump)   -> 18
  0013  GETTABLE  R2 = R1[K8('gameObject')]
  0014  SELF      R3 = R2[K9('IsNull')] (self)
  0015  CALL      R2 = call(R2, 1 args, 1 rets)
  0016  TEST      if not R2 then   -> -131054
  0017  JMP       (jump)   -> 23
  0018  SELF      R3 = R0[K10('Finish')] (self)
  0019  GETTABLE  R4 = R0[K11('m_gesture')]
  0020  GETTABLE  R5 = R0[K12('m_arrow')]
  0021  CALL      R2 = call(R2, 0 args, 3 rets)
  0022  RETURN    return R0..R-1
  0023  SELF      R3 = R1[K13('GetProducerTabButtonTrans')] (self)
  0024  CALL      R2 = call(R2, 1 args, 1 rets)
  0025  GETTABUP  R3 = _ENV[K14('TutorialHelper')]
  0026  GETTABLE  R3 = R3[K15('WholeMask')]
  0027  CALL      R3 = call(R3, 0 args, 0 rets)
  0028  GETTABUP  R3 = _ENV[K14('TutorialHelper')]
  0029  GETTABLE  R3 = R3[K16('HighlightForUI')]
  0030  MOVE      R4 = R0
  0031  CALL      R3 = call(R3, 0 args, 1 rets)
  0032  GETTABUP  R3 = _ENV[K14('TutorialHelper')]
  0033  GETTABLE  R3 = R3[K17('TapOnCustomRectTrans')]
  0034  MOVE      R4 = R0
  0035  CALL      R3 = call(R3, 1 args, 1 rets)
  0036  SETTABLE  R0[K11('m_gesture')] = R3
  0037  GETTABLE  R3 = R0[K11('m_gesture')]
  0038  SELF      R4 = R3[K18('UpdateSortingOrder')] (self)
  0039  GETTABUP  R5 = _ENV[K19('ESpecialViewSortingOrder')]
  0040  GETTABLE  R5 = R5[K20('TutorialHighlight')]
  0041  ADD       R5 = K21(1) add R5
  0042  CALL      R3 = call(R3, 0 args, 2 rets)
  0043  SETTABLE  R0[K22('m_tabTrans')] = R2
  0044  GETTABUP  R3 = _ENV[K14('TutorialHelper')]
  0045  GETTABLE  R3 = R3[K23('ShowDialog')]
  0046  GETTABUP  R4 = _ENV[K2('GM')]
  0047  GETTABLE  R4 = R4[K24('GameTextModel')]
  0048  SELF      R5 = R4[K25('GetText')] (self)
  0049  GETTABLE  R6 = R0[K0('m_strOngoingDatas')]
  0050  GETTABUP  R6 = EStep2TextKey[R6]
  0051  CALL      R4 = call(R4, 1 args, 2 rets)
  0052  LOADK     R5 = K26 50
  0053  CALL      R3 = call(R3, 0 args, 2 rets)
  0054  RETURN    return R0..R-1
; ---------- proto6 [_OnOpenView] ----------
  ; fn ?  line 149-165 np=2 va=0 ms=6 code=42 consts=21 upvals=2 protos=1
  ;   K[0]='name'
  ;   K[1]='UIPrefabConfigName'
  ;   K[2]='InventoryWindow'
  ;   K[3]='m_strOngoingDatas'
  ;   K[4]='ClickInventory'
  ;   K[5]='TutorialHelper'
  ;   K[6]='HideMask'
  ;   K[7]='HideDialog'
  ;   K[8]='HideArrow'
  ;   K[9]='m_arrow'
  ;   K[10]='DehighlightHudButton'
  ;   K[11]='ESceneViewHudButtonKey'
  ;   K[12]='Inventory'
  ;   K[13]=nil
  ;   K[14]='m_bPlayTutorialAnim'
  ;   K[15]=2
  ;   K[16]=0.5
  ;   K[17]='GM'
  ;   K[18]='UIManager'
  ;   K[19]='SetEventLock'
  ;   K[20]='DelayExecuteFunc'
  ;   upvals: _ENV, Step
  ;   locals: self(0-42), msg(0-42), delay(32-41)
  0000  GETTABLE  R2 = R1[K0('name')]
  0001  GETTABUP  R3 = _ENV[K1('UIPrefabConfigName')]
  0002  GETTABLE  R3 = R3[K2('InventoryWindow')]
  0003  EQ        if R0 eq R3   -> -130040
  0004  JMP       (jump)   -> 41
  0005  GETTABLE  R2 = R0[K3('m_strOngoingDatas')]
  0006  GETTABUP  R3 = Step[K4('ClickInventory')]
  0007  EQ        if R0 eq R3   -> -130036
  0008  JMP       (jump)   -> 41
  0009  GETTABUP  R2 = _ENV[K5('TutorialHelper')]
  0010  GETTABLE  R2 = R2[K6('HideMask')]
  0011  CALL      R2 = call(R2, 0 args, 0 rets)
  0012  GETTABUP  R2 = _ENV[K5('TutorialHelper')]
  0013  GETTABLE  R2 = R2[K7('HideDialog')]
  0014  CALL      R2 = call(R2, 0 args, 0 rets)
  0015  GETTABUP  R2 = _ENV[K5('TutorialHelper')]
  0016  GETTABLE  R2 = R2[K8('HideArrow')]
  0017  GETTABLE  R3 = R0[K9('m_arrow')]
  0018  CALL      R2 = call(R2, 0 args, 1 rets)
  0019  GETTABUP  R2 = _ENV[K5('TutorialHelper')]
  0020  GETTABLE  R2 = R2[K10('DehighlightHudButton')]
  0021  GETTABUP  R3 = _ENV[K11('ESceneViewHudButtonKey')]
  0022  GETTABLE  R3 = R3[K12('Inventory')]
  0023  CALL      R2 = call(R2, 0 args, 1 rets)
  0024  SETTABLE  R0[K9('m_arrow')] = K13(nil)
  0025  GETTABLE  R2 = R0[K14('m_bPlayTutorialAnim')]
  0026  TEST      if not R2 then   -> -131044
  0027  JMP       (jump)   -> 31
  0028  LOADK     R2 = K15 2
  0029  TEST      if not R2 then   -> -131040
  0030  JMP       (jump)   -> 32
  0031  LOADK     R2 = K16 0.5
  0032  GETTABUP  R3 = _ENV[K17('GM')]
  0033  GETTABLE  R3 = R3[K18('UIManager')]
  0034  SELF      R4 = R3[K19('SetEventLock')] (self)
  0035  LOADBOOL  R5 = true
  0036  CALL      R3 = call(R3, 0 args, 2 rets)
  0037  GETTABUP  R3 = _ENV[K20('DelayExecuteFunc')]
  0038  CLOSURE   R4 = closure proto0
  0039  MOVE      R5 = R0
  0040  CALL      R3 = call(R3, 0 args, 2 rets)
  0041  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 160-163 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]='_StartStepClickProducer'
    ;   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('_StartStepClickProducer')] (self)
    0007  CALL      R0 = call(R0, 0 args, 1 rets)
    0008  RETURN    return R0..R-1
; ---------- proto7 [_ItemStored] ----------
  ; fn ?  line 167-173 np=1 va=0 ms=4 code=9 consts=3 upvals=1 protos=0
  ;   K[0]='m_strOngoingDatas'
  ;   K[1]='ItemStore'
  ;   K[2]='_StartStepClickInventory'
  ;   upvals: Step
  ;   locals: self(0-9)
  0000  GETTABLE  R1 = R0[K0('m_strOngoingDatas')]
  0001  GETTABUP  R2 = Step[K1('ItemStore')]
  0002  EQ        if R1 eq R2   -> -130554
  0003  JMP       (jump)   -> 5
  0004  RETURN    return R0..R-1
  0005  SELF      R2 = R0[K2('_StartStepClickInventory')] (self)
  0006  LOADBOOL  R3 = false
  0007  CALL      R1 = call(R1, 0 args, 2 rets)
  0008  RETURN    return R0..R-1
; ---------- proto8 [_OnTabChanged] ----------
  ; fn ?  line 175-186 np=1 va=0 ms=5 code=18 consts=9 upvals=2 protos=0
  ;   K[0]='m_strOngoingDatas'
  ;   K[1]='ClickProducer'
  ;   K[2]='m_tabTrans'
  ;   K[3]=nil
  ;   K[4]='TutorialHelper'
  ;   K[5]='DehighlightForUI'
  ;   K[6]='Finish'
  ;   K[7]='m_gesture'
  ;   K[8]='m_arrow'
  ;   upvals: Step, _ENV
  ;   locals: self(0-18)
  0000  GETTABLE  R1 = R0[K0('m_strOngoingDatas')]
  0001  GETTABUP  R2 = Step[K1('ClickProducer')]
  0002  EQ        if R1 eq R2   -> -130554
  0003  JMP       (jump)   -> 5
  0004  RETURN    return R0..R-1
  0005  GETTABLE  R1 = R0[K2('m_tabTrans')]
  0006  EQ        if R1 eq K3(nil)   -> -130293
  0007  JMP       (jump)   -> 13
  0008  GETTABUP  R1 = _ENV[K4('TutorialHelper')]
  0009  GETTABLE  R1 = R1[K5('DehighlightForUI')]
  0010  GETTABLE  R2 = R0[K2('m_tabTrans')]
  0011  CALL      R1 = call(R1, 0 args, 1 rets)
  0012  SETTABLE  R0[K2('m_tabTrans')] = K3(nil)
  0013  SELF      R2 = R0[K6('Finish')] (self)
  0014  GETTABLE  R3 = R0[K7('m_gesture')]
  0015  GETTABLE  R4 = R0[K8('m_arrow')]
  0016  CALL      R1 = call(R1, 0 args, 3 rets)
  0017  RETURN    return R0..R-1
; ---------- proto9 [] ----------
  ; fn ?  line 188-190 np=2 va=0 ms=6 code=8 consts=2 upvals=2 protos=0
  ;   K[0]='TutorialExecuter'
  ;   K[1]='CreateExecuter'
  ;   upvals: _ENV, Executer
  ;   locals: tutorialId(0-8), strDatas(0-8)
  0000  GETTABUP  R2 = _ENV[K0('TutorialExecuter')]
  0001  GETTABLE  R2 = R2[K1('CreateExecuter')]
  0002  GETUPVAL  R3 = _ENV
  0003  MOVE      R4 = R0
  0004  MOVE      R5 = R0
  0005  TAILCALL  tailcall(R2, 0)
  0006  RETURN    return R2..R1
  0007  RETURN    return R0..R-1
