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