add agent manager release decomp
This commit is contained in:
parent
31ff800b2a
commit
fac6117145
7019 changed files with 254032 additions and 5 deletions
42
decomp/AgentManager_Release_x64/full/functions/0x1400dfc70.c
Normal file
42
decomp/AgentManager_Release_x64/full/functions/0x1400dfc70.c
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400dfc70 FUN_1400dfc70
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_1400dfc70(int *param_1,int param_2)
|
||||
|
||||
{
|
||||
int iVar1;
|
||||
undefined4 *puVar2;
|
||||
undefined4 *puVar3;
|
||||
undefined4 *puVar4;
|
||||
|
||||
if (0 < param_2) {
|
||||
if (*param_1 <= param_2) {
|
||||
FUN_1400ddd40(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