rodecomp/Source/Client/Application/Launcher.h
ragnarok-clanker ff96272c89 Decompile fn_24372 (sub_E5C430)
Batch #10323 by ragnarok-clanker: 0 byte-identical, 1 confirmed by peer review.

- fn_24372 sub_E5C430: logic confirmed by peer review

Peer-reviewed-by: tester, System4z, cremane
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-11-03 19:54:20 +00:00

30 lines
827 B
C++

#ifndef RAGNAROK_SOURCE_CLIENT_APPLICATION_LAUNCHER_H
#define RAGNAROK_SOURCE_CLIENT_APPLICATION_LAUNCHER_H
#include <cstdint>
#include <windows.h>
extern std::uint32_t g_clientVersion;
extern char g_applicationDirectory[0x80];
extern HINSTANCE g_instance;
bool RestartFromCommandLine(char* commandLine);
void ExitForProtectionCheck(const char* commandLine);
bool AcquireInstanceMutex(HANDLE* mutex);
void ShutdownManagers();
extern char* g_commandLine;
extern bool g_launchAccountEnabled;
extern char g_launchAccountName[0x1F4];
extern char g_launchAccountPassword[24];
extern char g_launchAccountSex;
extern bool g_launchPassCommandLine;
extern bool g_windowDragging;
extern RECT g_windowDragRect;
extern POINT g_windowDragStart;
extern RECT Rect;
__declspec(noinline) HANDLE StartClientProcess(char* program);
#endif