decompiled agent_release
This commit is contained in:
parent
baac905ef2
commit
11a3488883
6439 changed files with 229565 additions and 1 deletions
41
decomp/Agent_Release_x64/full/functions/0x1400cefe0.c
Normal file
41
decomp/Agent_Release_x64/full/functions/0x1400cefe0.c
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
/* Agent_Release_x64.exe sha256 6f2be7b8eb799ba51b359d1958720aac5baee5b7ee0d1d36684d3cbd72d45469
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400cefe0 FUN_1400cefe0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined8 FUN_1400cefe0(int *param_1,uint param_2)
|
||||
|
||||
{
|
||||
int iVar1;
|
||||
undefined4 uVar2;
|
||||
undefined8 uVar3;
|
||||
ulonglong uVar4;
|
||||
undefined4 *puVar5;
|
||||
undefined4 *puVar6;
|
||||
|
||||
if (0 < (int)param_2) {
|
||||
if ((param_1[1] < (int)(*param_1 + param_2)) &&
|
||||
(uVar3 = FUN_1400cce50((longlong)param_1,*param_1 + param_2), (int)uVar3 != 0)) {
|
||||
return uVar3;
|
||||
}
|
||||
*param_1 = *param_1 + param_2;
|
||||
iVar1 = *param_1;
|
||||
puVar6 = (undefined4 *)
|
||||
(*(longlong *)(param_1 + 4) + -4 + ((longlong)iVar1 - (longlong)(int)param_2) * 4);
|
||||
if ((int)param_2 <= iVar1 + -1) {
|
||||
uVar4 = (ulonglong)(((iVar1 + -1) - param_2) + 1);
|
||||
puVar5 = (undefined4 *)(*(longlong *)(param_1 + 4) + -4 + (longlong)iVar1 * 4);
|
||||
do {
|
||||
uVar2 = *puVar6;
|
||||
puVar6 = puVar6 + -1;
|
||||
uVar4 = uVar4 - 1;
|
||||
*puVar5 = uVar2;
|
||||
puVar5 = puVar5 + -1;
|
||||
} while (uVar4 != 0);
|
||||
}
|
||||
if (0 < (int)param_2) {
|
||||
memset(*(void **)(param_1 + 4),0,(ulonglong)param_2 << 2);
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue