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/0x140003070.c
Normal file
40
decomp/Agent_Release_x64/full/functions/0x140003070.c
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
/* Agent_Release_x64.exe sha256 6f2be7b8eb799ba51b359d1958720aac5baee5b7ee0d1d36684d3cbd72d45469
|
||||
* Ghidra 12.1.2 decompiler output for 0x140003070 FUN_140003070
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_140003070(longlong *param_1)
|
||||
|
||||
{
|
||||
undefined *puVar1;
|
||||
int iVar2;
|
||||
int iVar3;
|
||||
short *psVar4;
|
||||
|
||||
psVar4 = (short *)*param_1;
|
||||
if ((short *)*param_1 == (short *)0x0) {
|
||||
psVar4 = (short *)PTR_DAT_140155010;
|
||||
}
|
||||
iVar2 = FUN_140030080(psVar4);
|
||||
iVar3 = 0;
|
||||
if (0 < iVar2) {
|
||||
iVar3 = iVar2;
|
||||
}
|
||||
puVar1 = (undefined *)*param_1;
|
||||
iVar2 = 0;
|
||||
if ((puVar1 != (undefined *)0x0) && (iVar2 = 0, puVar1 != PTR_DAT_140155010)) {
|
||||
iVar2 = *(int *)(puVar1 + -8);
|
||||
}
|
||||
if ((iVar2 <= iVar3) && (iVar3 = 0, puVar1 != (undefined *)0x0)) {
|
||||
if (puVar1 == PTR_DAT_140155010) {
|
||||
return;
|
||||
}
|
||||
iVar3 = *(int *)(puVar1 + -8);
|
||||
}
|
||||
if (((puVar1 != PTR_DAT_140155010) && (puVar1 != (undefined *)0x0)) &&
|
||||
((int *)(puVar1 + -8) != (int *)0x0)) {
|
||||
*(int *)(puVar1 + -8) = iVar3;
|
||||
*(undefined2 *)(puVar1 + (longlong)iVar3 * 2) = 0;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue