# UI_Window_Board_LevelDownDescWindow_620.luac
; fn @LevelDownDescWindow.lua  line 0-0 np=0 va=1 ms=3 code=16 consts=8 upvals=1 protos=2
;   K[0]='LevelDownDescWindow'
;   K[1]='setmetatable'
;   K[2]='canClickWindowMask'
;   K[3]=true
;   K[4]='BaseWindow'
;   K[5]='__index'
;   K[6]='Init'
;   K[7]='OnClickAddScissors'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  SETTABLE  R1[K2('canClickWindowMask')] = K3(true)
0003  GETTABUP  R2 = _ENV[K4('BaseWindow')]
0004  CALL      R0 = call(R0, 1 args, 2 rets)
0005  SETTABUP  _ENV[K0('LevelDownDescWindow')] = R0
0006  GETTABUP  R0 = _ENV[K0('LevelDownDescWindow')]
0007  GETTABUP  R1 = _ENV[K0('LevelDownDescWindow')]
0008  SETTABLE  R0[K5('__index')] = R1
0009  GETTABUP  R0 = _ENV[K0('LevelDownDescWindow')]
0010  CLOSURE   R1 = closure proto0
0011  SETTABLE  R0[K6('Init')] = R1
0012  GETTABUP  R0 = _ENV[K0('LevelDownDescWindow')]
0013  CLOSURE   R1 = closure proto1
0014  SETTABLE  R0[K7('OnClickAddScissors')] = R1
0015  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 6-26 np=3 va=0 ms=9 code=65 consts=18 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='ItemDataModel'
  ;   K[2]='GetModelConfig'
  ;   K[3]='pd_4_5'
  ;   K[4]='LevelDown'
  ;   K[5]=1
  ;   K[6]='m_pdGo'
  ;   K[7]='SetActive'
  ;   K[8]='UIUtil'
  ;   K[9]='AddSizeDelta'
  ;   K[10]='m_contentTrans'
  ;   K[11]=-295
  ;   K[12]='eq_2_5'
  ;   K[13]='m_eqGo'
  ;   K[14]='LogWindowAction'
  ;   K[15]='EBIType'
  ;   K[16]='UIActionType'
  ;   K[17]='Open'
  ;   upvals: _ENV
  ;   locals: self(0-65), itemType(0-65), refer(0-65), config(5-65)
  0000  GETTABUP  R3 = _ENV[K0('GM')]
  0001  GETTABLE  R3 = R3[K1('ItemDataModel')]
  0002  SELF      R4 = R3[K2('GetModelConfig')] (self)
  0003  LOADK     R5 = K3 'pd_4_5'
  0004  CALL      R3 = call(R3, 1 args, 2 rets)
  0005  TEST      if not R3 then   -> -131065
  0006  JMP       (jump)   -> 18
  0007  GETTABLE  R4 = R3[K4('LevelDown')]
  0008  TEST      if not R4 then   -> -131062
  0009  JMP       (jump)   -> 18
  0010  GETTABLE  R4 = R3[K4('LevelDown')]
  0011  EQ        if R0 eq K5(1)   -> -128750
  0012  JMP       (jump)   -> 18
  0013  GETTABLE  R4 = R0[K6('m_pdGo')]
  0014  SELF      R5 = R4[K7('SetActive')] (self)
  0015  LOADBOOL  R6 = true
  0016  CALL      R4 = call(R4, 0 args, 2 rets)
  0017  JMP       (jump)   -> 28
  0018  GETTABLE  R4 = R0[K6('m_pdGo')]
  0019  SELF      R5 = R4[K7('SetActive')] (self)
  0020  LOADBOOL  R6 = false
  0021  CALL      R4 = call(R4, 0 args, 2 rets)
  0022  GETTABUP  R4 = _ENV[K8('UIUtil')]
  0023  GETTABLE  R4 = R4[K9('AddSizeDelta')]
  0024  GETTABLE  R5 = R0[K10('m_contentTrans')]
  0025  LOADNIL   R6..R6 = nil
  0026  LOADK     R7 = K11 -295
  0027  CALL      R4 = call(R4, 0 args, 3 rets)
  0028  GETTABUP  R4 = _ENV[K0('GM')]
  0029  GETTABLE  R4 = R4[K1('ItemDataModel')]
  0030  SELF      R5 = R4[K2('GetModelConfig')] (self)
  0031  LOADK     R6 = K12 'eq_2_5'
  0032  CALL      R4 = call(R4, 1 args, 2 rets)
  0033  MOVE      R3 = R0
  0034  TEST      if not R3 then   -> -131036
  0035  JMP       (jump)   -> 47
  0036  GETTABLE  R4 = R3[K4('LevelDown')]
  0037  TEST      if not R4 then   -> -131033
  0038  JMP       (jump)   -> 47
  0039  GETTABLE  R4 = R3[K4('LevelDown')]
  0040  EQ        if R0 eq K5(1)   -> -128721
  0041  JMP       (jump)   -> 47
  0042  GETTABLE  R4 = R0[K13('m_eqGo')]
  0043  SELF      R5 = R4[K7('SetActive')] (self)
  0044  LOADBOOL  R6 = true
  0045  CALL      R4 = call(R4, 0 args, 2 rets)
  0046  JMP       (jump)   -> 57
  0047  GETTABLE  R4 = R0[K13('m_eqGo')]
  0048  SELF      R5 = R4[K7('SetActive')] (self)
  0049  LOADBOOL  R6 = false
  0050  CALL      R4 = call(R4, 0 args, 2 rets)
  0051  GETTABUP  R4 = _ENV[K8('UIUtil')]
  0052  GETTABLE  R4 = R4[K9('AddSizeDelta')]
  0053  GETTABLE  R5 = R0[K10('m_contentTrans')]
  0054  LOADNIL   R6..R6 = nil
  0055  LOADK     R7 = K11 -295
  0056  CALL      R4 = call(R4, 0 args, 3 rets)
  0057  SELF      R5 = R0[K14('LogWindowAction')] (self)
  0058  GETTABUP  R6 = _ENV[K15('EBIType')]
  0059  GETTABLE  R6 = R6[K16('UIActionType')]
  0060  GETTABLE  R6 = R6[K17('Open')]
  0061  MOVE      R7 = R0
  0062  MOVE      R8 = R0
  0063  CALL      R4 = call(R4, 0 args, 4 rets)
  0064  RETURN    return R0..R-1
; ---------- proto1 [OnClickAddScissors] ----------
  ; fn ?  line 28-30 np=1 va=0 ms=4 code=7 consts=5 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='TestModel'
  ;   K[2]='AddItemByStr'
  ;   K[3]='ItemType'
  ;   K[4]='Scissors'
  ;   upvals: _ENV
  ;   locals: self(0-7)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('TestModel')]
  0002  SELF      R2 = R1[K2('AddItemByStr')] (self)
  0003  GETTABUP  R3 = _ENV[K3('ItemType')]
  0004  GETTABLE  R3 = R3[K4('Scissors')]
  0005  CALL      R1 = call(R1, 0 args, 2 rets)
  0006  RETURN    return R0..R-1
