decompiled agent_release
This commit is contained in:
parent
baac905ef2
commit
11a3488883
6439 changed files with 229565 additions and 1 deletions
40
decomp/Agent_Release_x64/full/functions/0x1400bcef0.c
Normal file
40
decomp/Agent_Release_x64/full/functions/0x1400bcef0.c
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
/* Agent_Release_x64.exe sha256 6f2be7b8eb799ba51b359d1958720aac5baee5b7ee0d1d36684d3cbd72d45469
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400bcef0 FUN_1400bcef0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
int FUN_1400bcef0(undefined8 *param_1)
|
||||
|
||||
{
|
||||
undefined4 *puVar1;
|
||||
undefined8 uVar2;
|
||||
int *piVar3;
|
||||
int iVar4;
|
||||
int iVar5;
|
||||
|
||||
if (param_1 == (undefined8 *)0x0) {
|
||||
return 0x10;
|
||||
}
|
||||
iVar5 = 1;
|
||||
puVar1 = calloc(1,0x18);
|
||||
*param_1 = puVar1;
|
||||
if (puVar1 == (undefined4 *)0x0) {
|
||||
return 0xd;
|
||||
}
|
||||
uVar2 = FUN_1400c6d70(puVar1);
|
||||
iVar4 = 0;
|
||||
piVar3 = &DAT_1401108b0;
|
||||
do {
|
||||
if ((int)uVar2 == *piVar3) {
|
||||
iVar5 = *(int *)(&DAT_1401108b4 + (longlong)iVar4 * 8);
|
||||
if (iVar5 == 0) {
|
||||
return 0;
|
||||
}
|
||||
break;
|
||||
}
|
||||
piVar3 = piVar3 + 2;
|
||||
iVar4 = iVar4 + 1;
|
||||
} while ((longlong)piVar3 < 0x1401108c8);
|
||||
free((void *)*param_1);
|
||||
return iVar5;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue