decompiled agent_release
This commit is contained in:
parent
baac905ef2
commit
11a3488883
6439 changed files with 229565 additions and 1 deletions
41
decomp/Agent_Release_x64/full/functions/0x1400cd060.c
Normal file
41
decomp/Agent_Release_x64/full/functions/0x1400cd060.c
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
/* Agent_Release_x64.exe sha256 6f2be7b8eb799ba51b359d1958720aac5baee5b7ee0d1d36684d3cbd72d45469
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400cd060 FUN_1400cd060
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined8 FUN_1400cd060(int *param_1,int *param_2)
|
||||
|
||||
{
|
||||
int iVar1;
|
||||
uint uVar2;
|
||||
uint uVar3;
|
||||
int iVar4;
|
||||
uint *puVar5;
|
||||
longlong lVar6;
|
||||
|
||||
iVar1 = *param_1;
|
||||
if (*param_2 < iVar1) {
|
||||
return 1;
|
||||
}
|
||||
if (iVar1 < *param_2) {
|
||||
return 0xffffffff;
|
||||
}
|
||||
puVar5 = (uint *)(*(longlong *)(param_1 + 4) + (longlong)(iVar1 + -1) * 4);
|
||||
iVar4 = 0;
|
||||
if (0 < iVar1) {
|
||||
lVar6 = (*(longlong *)(param_2 + 4) + (longlong)(iVar1 + -1) * 4) - (longlong)puVar5;
|
||||
do {
|
||||
uVar2 = *puVar5;
|
||||
uVar3 = *(uint *)(lVar6 + (longlong)puVar5);
|
||||
if (uVar2 >= uVar3 && uVar2 != uVar3) {
|
||||
return 1;
|
||||
}
|
||||
if (uVar2 < uVar3) {
|
||||
return 0xffffffff;
|
||||
}
|
||||
iVar4 = iVar4 + 1;
|
||||
puVar5 = puVar5 + -1;
|
||||
} while (iVar4 < iVar1);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue