add agent manager release decomp
This commit is contained in:
parent
31ff800b2a
commit
fac6117145
7019 changed files with 254032 additions and 5 deletions
26
decomp/AgentManager_Release_x64/0x14001d850.pseudo.c
Normal file
26
decomp/AgentManager_Release_x64/0x14001d850.pseudo.c
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
|
||||
undefined4 FUN_14001d850(undefined8 *param_1)
|
||||
|
||||
{
|
||||
DWORD DVar1;
|
||||
uint extraout_EAX;
|
||||
HANDLE pvVar2;
|
||||
wchar_t *_Format;
|
||||
|
||||
pvVar2 = CreateMutexW((LPSECURITY_ATTRIBUTES)0x0,1,L"Global\\RustyHearts_AgentManager");
|
||||
*param_1 = pvVar2;
|
||||
DVar1 = GetLastError();
|
||||
if (DVar1 == 5) {
|
||||
_Format = L"ERROR_ACCESS_DENIED!!! %s \n";
|
||||
}
|
||||
else {
|
||||
if (DVar1 != 0xb7) {
|
||||
return CONCAT31((int3)(DVar1 >> 8),1);
|
||||
}
|
||||
_Format = L"ERROR_ALREADY_EXISTS!!! %s \n";
|
||||
}
|
||||
wprintf(_Format);
|
||||
Sleep(3000);
|
||||
return extraout_EAX & 0xffffff00;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue