Decompile fn_17832 (CWorld::ActiveLoginMode)

Batch #1890 by ragnarok-clanker: 1 byte-identical, 0 confirmed by peer review.

- fn_17832 CWorld::ActiveLoginMode: byte-identical

Merged automatically: every function is byte-identical to the original.
This commit is contained in:
ragnarok-clanker 2026-10-28 23:15:57 +00:00
commit 0cffe990b0
2 changed files with 7 additions and 0 deletions

View file

@ -10,6 +10,12 @@ CMode* CWorld::ActiveGameMode() {
return this->state == 1 ? this->gameMode : nullptr; return this->state == 1 ? this->gameMode : nullptr;
} }
// OFFSET: 0x00AD6460
// FUNCTION: fn_17832
CMode* CWorld::ActiveLoginMode() {
return this->state == 0 ? this->gameMode : nullptr;
}
// OFFSET: 0x00AD66D0 // OFFSET: 0x00AD66D0
// FUNCTION: fn_17835 // FUNCTION: fn_17835
void CMode::Slot7(int) { void CMode::Slot7(int) {

View file

@ -12,6 +12,7 @@ struct CWorld {
/* 005C */ int nextState; /* 005C */ int nextState;
CMode* ActiveGameMode(); CMode* ActiveGameMode();
CMode* ActiveLoginMode();
void Quit(); void Quit();
void Switch(int mode, const char* name); void Switch(int mode, const char* name);
}; };