// Token: 0x060008E9 RID: 2281 RVA: 0x000B6880 File Offset: 0x000B4A80 public bool OnBackButtonClick() { GUIManager guimanager = GUIManager.Instance; if (guimanager.m_WindowStack.Count != 0) { GUIWindow guiwindow = guimanager.FindMenu(guimanager.m_WindowStack[guimanager.m_WindowStack.Count - 1].m_eWindow); if (guiwindow != null && guiwindow.OnBackButtonClick()) { return(true); } this.CloseMenu(false); } else { UIBattle_Gambling uibattle_Gambling = guimanager.FindMenu(EGUIWindow.UI_Battle_Gambling) as UIBattle_Gambling; if (uibattle_Gambling != null) { uibattle_Gambling.CloseUI(); } } return(true); }