Batch #14772 by SapitoSucio: 0 byte-identical, 1 confirmed by peer review. - fn_06352 ApplyServiceOptionFlags: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker, Tanke, codeplay Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
26 lines
670 B
C++
26 lines
670 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;
|
|
if (serviceType == 0 || serviceType == 6 || serviceType == 0xA || serviceType == 0xC || serviceType == 2) {
|
|
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() {
|
|
}
|