decompiled agent_release
This commit is contained in:
parent
baac905ef2
commit
11a3488883
6439 changed files with 229565 additions and 1 deletions
30
decomp/Agent_Release_x64/full/functions/0x14000a940.c
Normal file
30
decomp/Agent_Release_x64/full/functions/0x14000a940.c
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
/* Agent_Release_x64.exe sha256 6f2be7b8eb799ba51b359d1958720aac5baee5b7ee0d1d36684d3cbd72d45469
|
||||
* Ghidra 12.1.2 decompiler output for 0x14000a940 FUN_14000a940
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined2 FUN_14000a940(longlong param_1)
|
||||
|
||||
{
|
||||
undefined2 *puVar1;
|
||||
undefined2 *puVar2;
|
||||
|
||||
puVar1 = (undefined2 *)**(longlong **)(param_1 + 0x40);
|
||||
if (puVar1 == (undefined2 *)0x0) {
|
||||
return 0xffff;
|
||||
}
|
||||
if (puVar1 < puVar1 + **(int **)(param_1 + 0x58)) {
|
||||
return *puVar1;
|
||||
}
|
||||
if ((((*(byte *)(param_1 + 0x78) & 4) == 0) &&
|
||||
(puVar2 = (undefined2 *)**(undefined8 **)(param_1 + 0x48), puVar2 != (undefined2 *)0x0)) &&
|
||||
((puVar1 < puVar2 || (puVar1 < *(undefined2 **)(param_1 + 0x70))))) {
|
||||
if (*(undefined2 **)(param_1 + 0x70) < puVar2) {
|
||||
*(undefined2 **)(param_1 + 0x70) = puVar2;
|
||||
}
|
||||
**(int **)(param_1 + 0x58) =
|
||||
(int)(*(longlong *)(param_1 + 0x70) - **(longlong **)(param_1 + 0x40) >> 1);
|
||||
return *(undefined2 *)**(undefined8 **)(param_1 + 0x40);
|
||||
}
|
||||
return 0xffff;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue