rodecomp/Source/Client/Application/Launcher.h
ragnarok-clanker 1b49fa24e5 Decompile fn_24361 (StartClientProcess)
Batch #6337 by eAthena: 0 byte-identical, 1 confirmed by peer review.

- fn_24361 StartClientProcess: logic confirmed by peer review

Peer-reviewed-by: alisonrag, KWDev, SapitoSucio
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-30 22:04:36 +00:00

24 lines
642 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];
bool RestartFromCommandLine(char* commandLine);
void ExitForProtectionCheck(const char* commandLine);
bool AcquireInstanceMutex(HANDLE* mutex);
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;
HANDLE StartClientProcess(char* program);
#endif