#include "classes.h" // 0085b050 void LobbySettings::reset() { std_string *passwordData; std_string *seedData; void *local_10; uint8_t *puStack_c; uint32_t local_8; MenuManager *menuManager; puStack_c = &LAB_00b03826; local_10 = ExceptionList; ExceptionList = &local_10; (this->_seed)._buf[0] = '\0'; (this->_seed)._buf[1] = '\0'; (this->_seed)._buf[2] = '\0'; (this->_seed)._buf[3] = '\0'; (this->_seed)._size = 0; (this->_seed)._capacity = 0xf; (this->_seed)._buf[0] = '\0'; (this->_password)._buf[0] = '\0'; (this->_password)._buf[1] = '\0'; (this->_password)._buf[2] = '\0'; (this->_password)._buf[3] = '\0'; (this->_password)._size = 0; (this->_password)._capacity = 0xf; (this->_password)._buf[0] = '\0'; *GHIDRA_CAST((this + 1)) = 0; *GHIDRA_CAST(&(*GHIDRA_CAST((GHIDRA_CAST(&(this[1])) + 0x4)))) = 0; this[1]._challenge = 0; local_8 = 2; seedData = &this->_seed; *GHIDRA_CAST(this) = 0; *GHIDRA_CAST(&(*GHIDRA_CAST((GHIDRA_CAST((this)) + 0x4)))) = 0; this->_challenge = 0; this->_maxPlayers = 4; (*GHIDRA_CAST((GHIDRA_CAST((this)) + 0x10))) = 1; *GHIDRA_CAST(&(*GHIDRA_CAST((GHIDRA_CAST((this)) + 0x14)))) = 0; if (0xf < (this->_seed)._capacity) { seedData = *GHIDRA_CAST((this->_seed)._buf); } (this->_seed)._size = 0; passwordData = &this->_password; seedData->_buf[0] = '\0'; if (0xf < (this->_password)._capacity) { passwordData = *GHIDRA_CAST((this->_password)._buf); } (this->_password)._size = 0; passwordData->_buf[0] = '\0'; menuManager = g_menuManager; *GHIDRA_CAST(&(*GHIDRA_CAST((GHIDRA_CAST(&(this[1])) + 0x4)))) = *GHIDRA_CAST((this + 1)); if ((menuManager != GHIDRA_CAST(0x0)) && (this == &g_manager->_lobbySettings)) { (GHIDRA_CAST((&(*GHIDRA_CAST((GHIDRA_CAST((menuManager)) + 0xdce8))))))->Menu_OnlineLobby::init_lobby_view(); } ExceptionList = local_10; return; }