# BakeOut_View_BakeOutInSettlementWindow_872.luac
; fn @BakeOutInSettlementWindow.lua  line 0-0 np=0 va=1 ms=3 code=12 consts=5 upvals=1 protos=1
;   K[0]='BakeOutInSettlementWindow'
;   K[1]='setmetatable'
;   K[2]='BaseWindow'
;   K[3]='__index'
;   K[4]='Init'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  GETTABUP  R2 = _ENV[K2('BaseWindow')]
0003  CALL      R0 = call(R0, 1 args, 2 rets)
0004  SETTABUP  _ENV[K0('BakeOutInSettlementWindow')] = R0
0005  GETTABUP  R0 = _ENV[K0('BakeOutInSettlementWindow')]
0006  GETTABUP  R1 = _ENV[K0('BakeOutInSettlementWindow')]
0007  SETTABLE  R0[K3('__index')] = R1
0008  GETTABUP  R0 = _ENV[K0('BakeOutInSettlementWindow')]
0009  CLOSURE   R1 = closure proto0
0010  SETTABLE  R0[K4('Init')] = R1
0011  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 6-16 np=2 va=0 ms=5 code=23 consts=9 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='SceneManager'
  ;   K[2]='GetGameMode'
  ;   K[3]='EGameMode'
  ;   K[4]='Main'
  ;   K[5]='ChangeGameMode'
  ;   K[6]='m_role'
  ;   K[7]='Init'
  ;   K[8]='PlayEnterAnimation'
  ;   upvals: _ENV
  ;   locals: self(0-23), userClick(0-23)
  0000  GETTABUP  R2 = _ENV[K0('GM')]
  0001  GETTABLE  R2 = R2[K1('SceneManager')]
  0002  SELF      R3 = R2[K2('GetGameMode')] (self)
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  GETTABUP  R3 = _ENV[K3('EGameMode')]
  0005  GETTABLE  R3 = R3[K4('Main')]
  0006  EQ        if R1 eq R3   -> -130037
  0007  JMP       (jump)   -> 16
  0008  TEST      if not R1 then   -> -131061
  0009  JMP       (jump)   -> 16
  0010  GETTABUP  R2 = _ENV[K0('GM')]
  0011  GETTABLE  R2 = R2[K1('SceneManager')]
  0012  SELF      R3 = R2[K5('ChangeGameMode')] (self)
  0013  GETTABUP  R4 = _ENV[K3('EGameMode')]
  0014  GETTABLE  R4 = R4[K4('Main')]
  0015  CALL      R2 = call(R2, 0 args, 2 rets)
  0016  GETTABLE  R2 = R0[K6('m_role')]
  0017  SELF      R3 = R2[K7('Init')] (self)
  0018  CALL      R2 = call(R2, 0 args, 1 rets)
  0019  GETTABLE  R2 = R0[K6('m_role')]
  0020  SELF      R3 = R2[K8('PlayEnterAnimation')] (self)
  0021  CALL      R2 = call(R2, 0 args, 1 rets)
  0022  RETURN    return R0..R-1
