rodecomp/Source/Client/Mode/ModeLifetime.cpp
ragnarok-clanker c905402fcb Maintenance: Behaviour fix, accepted lower byte score: fn_17819 CSession::SetServiceFlags always sets g_serviceFlag05/06, as the ship
Batch #14877 by ragnarok-clanker: forced by an admin (1 lower score(s), 1 changed function(s)); checked with 1 compiled unit(s).
2026-11-07 21:50:36 +00:00

24 lines
552 B
C++

#include "Client/Mode/CMode.h"
#include "Client/Session.h"
#include "Contents/Configuration/ServiceConfiguration.h"
// OFFSET: 0x00AD5290
// FUNCTION: fn_17819
int CSession::SetServiceFlags(int first, int second) {
const int serviceType = g_serviceType;
g_serviceFlag05 = first != 0;
g_serviceFlag06 = second != 0;
return serviceType;
}
// OFFSET: 0x00AD53B0
// FUNCTION: fn_17821
void* __fastcall sub_AD53B0(void* self) {
*reinterpret_cast<int*>(self) = 1;
return self;
}
// OFFSET: 0x00AD53C0
// FUNCTION: fn_17822
CMode::~CMode() {
}