decompiled agent_release
This commit is contained in:
parent
baac905ef2
commit
11a3488883
6439 changed files with 229565 additions and 1 deletions
72
decomp/Agent_Release_x64/full/functions/0x14001b850.c
Normal file
72
decomp/Agent_Release_x64/full/functions/0x14001b850.c
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
/* Agent_Release_x64.exe sha256 6f2be7b8eb799ba51b359d1958720aac5baee5b7ee0d1d36684d3cbd72d45469
|
||||
* Ghidra 12.1.2 decompiler output for 0x14001b850 FUN_14001b850
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_14001b850(longlong *param_1,short *param_2)
|
||||
|
||||
{
|
||||
int iVar1;
|
||||
int iVar2;
|
||||
int iVar3;
|
||||
int iVar4;
|
||||
int iVar5;
|
||||
undefined *puVar6;
|
||||
|
||||
if (param_2 != (short *)0x0) {
|
||||
iVar2 = FUN_140030080(param_2);
|
||||
puVar6 = (undefined *)*param_1;
|
||||
iVar5 = 0;
|
||||
if ((puVar6 != (undefined *)0x0) && (iVar5 = 0, puVar6 != PTR_DAT_140155010)) {
|
||||
iVar5 = *(int *)(puVar6 + -8);
|
||||
}
|
||||
iVar1 = iVar5 + iVar2;
|
||||
iVar3 = 0;
|
||||
if ((puVar6 != (undefined *)0x0) && (iVar3 = 0, puVar6 != PTR_DAT_140155010)) {
|
||||
iVar3 = *(int *)(puVar6 + -8);
|
||||
}
|
||||
iVar4 = iVar1;
|
||||
if (((iVar1 <= iVar3) && (iVar4 = 0, puVar6 != (undefined *)0x0)) &&
|
||||
(puVar6 != PTR_DAT_140155010)) {
|
||||
iVar4 = *(int *)(puVar6 + -8);
|
||||
}
|
||||
iVar3 = 1;
|
||||
if (1 < iVar4) {
|
||||
iVar3 = iVar4;
|
||||
}
|
||||
iVar4 = 0;
|
||||
if ((puVar6 != (undefined *)0x0) && (puVar6 != PTR_DAT_140155010)) {
|
||||
iVar4 = *(int *)(puVar6 + -8);
|
||||
}
|
||||
if (iVar4 < iVar3) {
|
||||
FUN_140002dc0(param_1,iVar3);
|
||||
}
|
||||
FUN_140002ea0(param_1);
|
||||
puVar6 = (undefined *)*param_1;
|
||||
if ((undefined *)*param_1 == (undefined *)0x0) {
|
||||
puVar6 = PTR_DAT_140155010;
|
||||
}
|
||||
FUN_1400300b0(puVar6 + (longlong)iVar5 * 2,param_2,iVar2);
|
||||
puVar6 = (undefined *)*param_1;
|
||||
iVar5 = 0;
|
||||
iVar2 = 0;
|
||||
if (0 < iVar1) {
|
||||
iVar2 = iVar1;
|
||||
}
|
||||
if ((puVar6 != (undefined *)0x0) && (puVar6 != PTR_DAT_140155010)) {
|
||||
iVar5 = *(int *)(puVar6 + -8);
|
||||
}
|
||||
if ((iVar5 <= iVar2) && (iVar2 = 0, puVar6 != (undefined *)0x0)) {
|
||||
if (puVar6 == PTR_DAT_140155010) {
|
||||
return;
|
||||
}
|
||||
iVar2 = *(int *)(puVar6 + -8);
|
||||
}
|
||||
if (((puVar6 != PTR_DAT_140155010) && (puVar6 != (undefined *)0x0)) &&
|
||||
((int *)(puVar6 + -8) != (int *)0x0)) {
|
||||
*(int *)(puVar6 + -8) = iVar2;
|
||||
*(undefined2 *)(puVar6 + (longlong)iVar2 * 2) = 0;
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue