decompiled agent_release
This commit is contained in:
parent
baac905ef2
commit
11a3488883
6439 changed files with 229565 additions and 1 deletions
42
decomp/Agent_Release_x64/full/functions/0x1400cef60.c
Normal file
42
decomp/Agent_Release_x64/full/functions/0x1400cef60.c
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
/* Agent_Release_x64.exe sha256 6f2be7b8eb799ba51b359d1958720aac5baee5b7ee0d1d36684d3cbd72d45469
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400cef60 FUN_1400cef60
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_1400cef60(int *param_1,int param_2)
|
||||
|
||||
{
|
||||
int iVar1;
|
||||
undefined4 *puVar2;
|
||||
undefined4 *puVar3;
|
||||
undefined4 *puVar4;
|
||||
|
||||
if (0 < param_2) {
|
||||
if (*param_1 <= param_2) {
|
||||
FUN_1400cd030(param_1);
|
||||
return;
|
||||
}
|
||||
puVar3 = *(undefined4 **)(param_1 + 4);
|
||||
iVar1 = 0;
|
||||
puVar4 = puVar3 + param_2;
|
||||
puVar2 = puVar3;
|
||||
if (0 < *param_1 - param_2) {
|
||||
do {
|
||||
iVar1 = iVar1 + 1;
|
||||
puVar3 = puVar2 + 1;
|
||||
*puVar2 = *puVar4;
|
||||
puVar4 = puVar4 + 1;
|
||||
puVar2 = puVar3;
|
||||
} while (iVar1 < *param_1 - param_2);
|
||||
}
|
||||
if (iVar1 < *param_1) {
|
||||
do {
|
||||
*puVar3 = 0;
|
||||
iVar1 = iVar1 + 1;
|
||||
puVar3 = puVar3 + 1;
|
||||
} while (iVar1 < *param_1);
|
||||
}
|
||||
*param_1 = *param_1 - param_2;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue