rodecomp/Source/Client/Application/Launcher.h
ragnarok-clanker af01a4fcd4 Decompile fn_24371 (ReplaceClientExecutable)
Batch #8061 by Yommy: 0 byte-identical, 1 confirmed by peer review.

- fn_24371 ReplaceClientExecutable: logic confirmed by peer review

Peer-reviewed-by: eAthena, secret
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-31 13:52:51 +00:00

24 lines
663 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;
__declspec(noinline) HANDLE StartClientProcess(char* program);
#endif