# UI_SceneView_SyncStateView_424.luac
; fn @SyncStateView.lua  line 0-0 np=0 va=1 ms=2 code=21 consts=7 upvals=1 protos=5
;   K[0]='SyncStateView'
;   K[1]='__index'
;   K[2]='Awake'
;   K[3]='OnDestroy'
;   K[4]='_UpdateView'
;   K[5]='_OnChangeGameMode'
;   K[6]='OnClick'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('SyncStateView')] = R0
0002  GETTABUP  R0 = _ENV[K0('SyncStateView')]
0003  GETTABUP  R1 = _ENV[K0('SyncStateView')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  GETTABUP  R0 = _ENV[K0('SyncStateView')]
0006  CLOSURE   R1 = closure proto0
0007  SETTABLE  R0[K2('Awake')] = R1
0008  GETTABUP  R0 = _ENV[K0('SyncStateView')]
0009  CLOSURE   R1 = closure proto1
0010  SETTABLE  R0[K3('OnDestroy')] = R1
0011  GETTABUP  R0 = _ENV[K0('SyncStateView')]
0012  CLOSURE   R1 = closure proto2
0013  SETTABLE  R0[K4('_UpdateView')] = R1
0014  GETTABUP  R0 = _ENV[K0('SyncStateView')]
0015  CLOSURE   R1 = closure proto3
0016  SETTABLE  R0[K5('_OnChangeGameMode')] = R1
0017  GETTABUP  R0 = _ENV[K0('SyncStateView')]
0018  CLOSURE   R1 = closure proto4
0019  SETTABLE  R0[K6('OnClick')] = R1
0020  RETURN    return R0..R-1
; ---------- proto0 [Awake] ----------
  ; fn ?  line 4-9 np=1 va=0 ms=5 code=19 consts=7 upvals=1 protos=0
  ;   K[0]='_UpdateView'
  ;   K[1]='_OnChangeGameMode'
  ;   K[2]='EventDispatcher'
  ;   K[3]='AddListener'
  ;   K[4]='EEventType'
  ;   K[5]='SyncStateChanged'
  ;   K[6]='ChangeGameMode'
  ;   upvals: _ENV
  ;   locals: self(0-19)
  0000  SELF      R2 = R0[K0('_UpdateView')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  SELF      R2 = R0[K1('_OnChangeGameMode')] (self)
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  GETTABUP  R1 = _ENV[K2('EventDispatcher')]
  0005  GETTABLE  R1 = R1[K3('AddListener')]
  0006  GETTABUP  R2 = _ENV[K4('EEventType')]
  0007  GETTABLE  R2 = R2[K5('SyncStateChanged')]
  0008  MOVE      R3 = R0
  0009  GETTABLE  R4 = R0[K0('_UpdateView')]
  0010  CALL      R1 = call(R1, 0 args, 3 rets)
  0011  GETTABUP  R1 = _ENV[K2('EventDispatcher')]
  0012  GETTABLE  R1 = R1[K3('AddListener')]
  0013  GETTABUP  R2 = _ENV[K4('EEventType')]
  0014  GETTABLE  R2 = R2[K6('ChangeGameMode')]
  0015  MOVE      R3 = R0
  0016  GETTABLE  R4 = R0[K1('_OnChangeGameMode')]
  0017  CALL      R1 = call(R1, 0 args, 3 rets)
  0018  RETURN    return R0..R-1
; ---------- proto1 [OnDestroy] ----------
  ; fn ?  line 11-13 np=1 va=0 ms=3 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='EventDispatcher'
  ;   K[1]='RemoveTarget'
  ;   upvals: _ENV
  ;   locals: self(0-5)
  0000  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0001  GETTABLE  R1 = R1[K1('RemoveTarget')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  RETURN    return R0..R-1
; ---------- proto2 [_UpdateView] ----------
  ; fn ?  line 15-25 np=1 va=0 ms=6 code=29 consts=13 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='SyncModel'
  ;   K[2]='eSyncState'
  ;   K[3]='ESyncState'
  ;   K[4]='VersionError'
  ;   K[5]='m_imgGo'
  ;   K[6]='activeSelf'
  ;   K[7]='SetActive'
  ;   K[8]='BIManager'
  ;   K[9]='LogProject'
  ;   K[10]='EBIProjectType'
  ;   K[11]='BigDataErrorMonitor'
  ;   K[12]='BigDataErrorMonitorAction'
  ;   upvals: _ENV
  ;   locals: self(0-29), active(9-29)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('SyncModel')]
  0002  GETTABLE  R1 = R1[K2('eSyncState')]
  0003  GETTABUP  R2 = _ENV[K3('ESyncState')]
  0004  GETTABLE  R2 = R2[K4('VersionError')]
  0005  EQ        if R1 eq R2   -> -130551
  0006  JMP       (jump)   -> 8
  0007  LOADBOOL  R1 = false
  0008  LOADBOOL  R1 = true
  0009  GETTABLE  R2 = R0[K5('m_imgGo')]
  0010  GETTABLE  R2 = R2[K6('activeSelf')]
  0011  EQ        if R1 eq R2   -> -130545
  0012  JMP       (jump)   -> 28
  0013  GETTABLE  R2 = R0[K5('m_imgGo')]
  0014  SELF      R3 = R2[K7('SetActive')] (self)
  0015  MOVE      R4 = R0
  0016  CALL      R2 = call(R2, 0 args, 2 rets)
  0017  TEST      if not R1 then   -> -131053
  0018  JMP       (jump)   -> 28
  0019  GETTABUP  R2 = _ENV[K0('GM')]
  0020  GETTABLE  R2 = R2[K8('BIManager')]
  0021  SELF      R3 = R2[K9('LogProject')] (self)
  0022  GETTABUP  R4 = _ENV[K10('EBIProjectType')]
  0023  GETTABLE  R4 = R4[K11('BigDataErrorMonitor')]
  0024  GETTABUP  R5 = _ENV[K10('EBIProjectType')]
  0025  GETTABLE  R5 = R5[K12('BigDataErrorMonitorAction')]
  0026  GETTABLE  R5 = R5[K4('VersionError')]
  0027  CALL      R2 = call(R2, 0 args, 3 rets)
  0028  RETURN    return R0..R-1
; ---------- proto3 [_OnChangeGameMode] ----------
  ; fn ?  line 27-30 np=1 va=0 ms=6 code=23 consts=11 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='SceneManager'
  ;   K[2]='GetGameMode'
  ;   K[3]='EGameMode'
  ;   K[4]='Main'
  ;   K[5]='UIUtil'
  ;   K[6]='SetAnchoredPosition'
  ;   K[7]='m_imgGo'
  ;   K[8]='transform'
  ;   K[9]=-31
  ;   K[10]=122
  ;   upvals: _ENV
  ;   locals: self(0-23), isMap(10-23)
  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('Main')]
  0006  EQ        if R1 eq R2   -> -130550
  0007  JMP       (jump)   -> 9
  0008  LOADBOOL  R1 = false
  0009  LOADBOOL  R1 = true
  0010  GETTABUP  R2 = _ENV[K5('UIUtil')]
  0011  GETTABLE  R2 = R2[K6('SetAnchoredPosition')]
  0012  GETTABLE  R3 = R0[K7('m_imgGo')]
  0013  GETTABLE  R3 = R3[K8('transform')]
  0014  LOADNIL   R4..R4 = nil
  0015  TEST      if not R1 then   -> -131055
  0016  JMP       (jump)   -> 20
  0017  LOADK     R5 = K9 -31
  0018  TEST      if not R5 then   -> -131051
  0019  JMP       (jump)   -> 21
  0020  LOADK     R5 = K10 122
  0021  CALL      R2 = call(R2, 0 args, 3 rets)
  0022  RETURN    return R0..R-1
; ---------- proto4 [OnClick] ----------
  ; fn ?  line 32-34 np=1 va=0 ms=6 code=11 consts=8 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='UIManager'
  ;   K[2]='OpenView'
  ;   K[3]='UIPrefabConfigName'
  ;   K[4]='AccountNoticeWindow'
  ;   K[5]='type'
  ;   K[6]='EAccountNotice'
  ;   K[7]='LowVersion'
  ;   upvals: _ENV
  ;   locals: self(0-11)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('UIManager')]
  0002  SELF      R2 = R1[K2('OpenView')] (self)
  0003  GETTABUP  R3 = _ENV[K3('UIPrefabConfigName')]
  0004  GETTABLE  R3 = R3[K4('AccountNoticeWindow')]
  0005  NEWTABLE  R4 = {} (0 items)
  0006  GETTABUP  R5 = _ENV[K6('EAccountNotice')]
  0007  GETTABLE  R5 = R5[K7('LowVersion')]
  0008  SETTABLE  R4[K5('type')] = R5
  0009  CALL      R1 = call(R1, 0 args, 3 rets)
  0010  RETURN    return R0..R-1
