rodecomp/Source/Client/Mode/ModeMgr.h
ragnarok-clanker 4de9bc8cb4 Decompile fn_17846 (CModeMgr::Run)
Batch #6533 by kyoshi: 0 byte-identical, 1 confirmed by peer review.

- fn_17846 CModeMgr::Run: logic confirmed by peer review

Peer-reviewed-by: alisonrag, gordaoprogramas, willerthal
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-31 01:13:47 +00:00

23 lines
510 B
C

#ifndef RAGNAROK_SOURCE_CLIENT_MODE_MODEMGR_H
#define RAGNAROK_SOURCE_CLIENT_MODE_MODEMGR_H
#include "Client/Mode/CMode.h"
struct CModeMgr {
/* 0000 */ int running;
/* 0004 */ CMode* gameMode;
/* 0008 */ char modeName[0x28];
/* 0030 */ char nextModeName[0x28];
/* 0058 */ int state;
/* 005C */ int nextState;
CMode* GetGameMode();
CMode* GetLoginMode();
void Quit();
void Run(int mode, const char* name);
void Switch(int mode, const char* name);
};
extern CModeMgr g_modeMgr;
#endif