decompiled agent_release
This commit is contained in:
parent
baac905ef2
commit
11a3488883
6439 changed files with 229565 additions and 1 deletions
38
decomp/Agent_Release_x64/full/functions/0x1400c8440.c
Normal file
38
decomp/Agent_Release_x64/full/functions/0x1400c8440.c
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
/* Agent_Release_x64.exe sha256 6f2be7b8eb799ba51b359d1958720aac5baee5b7ee0d1d36684d3cbd72d45469
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400c8440 FUN_1400c8440
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined8 FUN_1400c8440(uint *param_1,uint *param_2)
|
||||
|
||||
{
|
||||
int iVar1;
|
||||
undefined8 uVar2;
|
||||
|
||||
iVar1 = FUN_1400c7020((int *)param_2);
|
||||
iVar1 = iVar1 % 0x1c;
|
||||
if ((int)*param_2 < 2) {
|
||||
iVar1 = 1;
|
||||
FUN_1400cfa90(param_1,1);
|
||||
}
|
||||
else {
|
||||
uVar2 = FUN_1400c70c0(param_1,*param_2 * 0x1c + -0x1d + iVar1);
|
||||
if ((int)uVar2 != 0) {
|
||||
return uVar2;
|
||||
}
|
||||
}
|
||||
iVar1 = iVar1 + -1;
|
||||
while( true ) {
|
||||
if (0x1b < iVar1) {
|
||||
return 0;
|
||||
}
|
||||
uVar2 = FUN_1400cf9e0((int *)param_1,(int *)param_1);
|
||||
if ((int)uVar2 != 0) break;
|
||||
uVar2 = FUN_1400cd060((int *)param_1,(int *)param_2);
|
||||
if (((int)uVar2 != -1) && (uVar2 = FUN_1400cd440(param_1,param_2,param_1), (int)uVar2 != 0)) {
|
||||
return uVar2;
|
||||
}
|
||||
iVar1 = iVar1 + 1;
|
||||
}
|
||||
return uVar2;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue