add agent manager release decomp
This commit is contained in:
parent
31ff800b2a
commit
fac6117145
7019 changed files with 254032 additions and 5 deletions
33
decomp/AgentManager_Release_x64/full/functions/0x1400c8600.c
Normal file
33
decomp/AgentManager_Release_x64/full/functions/0x1400c8600.c
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400c8600 FUN_1400c8600
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined8 FUN_1400c8600(longlong param_1,wchar_t *param_2)
|
||||
|
||||
{
|
||||
errno_t eVar1;
|
||||
size_t sVar2;
|
||||
|
||||
sVar2 = wcsnlen(param_2,0x101);
|
||||
if (0x100 < (uint)sVar2) {
|
||||
return 0;
|
||||
}
|
||||
eVar1 = wcsncpy_s((wchar_t *)(param_1 + 0x42),0x101,param_2,sVar2 & 0xffffffff);
|
||||
if (eVar1 != 0) {
|
||||
if (eVar1 == 0xc) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_1400050d0(0x8007000e);
|
||||
}
|
||||
if ((eVar1 == 0x16) || (eVar1 == 0x22)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_1400050d0(0x80070057);
|
||||
}
|
||||
if (eVar1 != 0x50) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_1400050d0(0x80004005);
|
||||
}
|
||||
}
|
||||
*(uint *)(param_1 + 0x2458) = (uint)sVar2;
|
||||
return 1;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue