decompiled agent_release
This commit is contained in:
parent
baac905ef2
commit
11a3488883
6439 changed files with 229565 additions and 1 deletions
33
decomp/Agent_Release_x64/full/functions/0x1400acb60.c
Normal file
33
decomp/Agent_Release_x64/full/functions/0x1400acb60.c
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
/* Agent_Release_x64.exe sha256 6f2be7b8eb799ba51b359d1958720aac5baee5b7ee0d1d36684d3cbd72d45469
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400acb60 FUN_1400acb60
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined8 FUN_1400acb60(longlong param_1,wchar_t *param_2)
|
||||
|
||||
{
|
||||
errno_t eVar1;
|
||||
size_t sVar2;
|
||||
|
||||
sVar2 = wcsnlen(param_2,0x81);
|
||||
if (0x80 < (uint)sVar2) {
|
||||
return 0;
|
||||
}
|
||||
eVar1 = wcsncpy_s((wchar_t *)(param_1 + 0x244),0x81,param_2,sVar2 & 0xffffffff);
|
||||
if (eVar1 != 0) {
|
||||
if (eVar1 == 0xc) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14000b450(0x8007000e);
|
||||
}
|
||||
if ((eVar1 == 0x16) || (eVar1 == 0x22)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14000b450(0x80070057);
|
||||
}
|
||||
if (eVar1 != 0x50) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14000b450(0x80004005);
|
||||
}
|
||||
}
|
||||
*(uint *)(param_1 + 0x245c) = (uint)sVar2;
|
||||
return 1;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue