decompiled agent_release
This commit is contained in:
parent
baac905ef2
commit
11a3488883
6439 changed files with 229565 additions and 1 deletions
49
decomp/Agent_Release_x64/full/functions/0x1400c7240.c
Normal file
49
decomp/Agent_Release_x64/full/functions/0x1400c7240.c
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
/* Agent_Release_x64.exe sha256 6f2be7b8eb799ba51b359d1958720aac5baee5b7ee0d1d36684d3cbd72d45469
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400c7240 FUN_1400c7240
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
ulonglong FUN_1400c7240(uint *param_1,undefined2 *param_2,uint param_3)
|
||||
|
||||
{
|
||||
undefined2 *puVar1;
|
||||
ulonglong uVar2;
|
||||
int iVar3;
|
||||
uint local_res18 [4];
|
||||
uint local_38 [2];
|
||||
int local_30;
|
||||
|
||||
if (0x3e < param_3 - 2) {
|
||||
return 0xfffffffd;
|
||||
}
|
||||
if (*param_1 != 0) {
|
||||
uVar2 = FUN_1400cd290(local_38,param_1);
|
||||
if ((int)uVar2 == 0) {
|
||||
iVar3 = 0;
|
||||
puVar1 = param_2;
|
||||
if (local_30 == 1) {
|
||||
puVar1 = (undefined2 *)((longlong)param_2 + 1);
|
||||
*(undefined1 *)param_2 = 0x2d;
|
||||
local_30 = 0;
|
||||
param_2 = puVar1;
|
||||
}
|
||||
while (local_38[0] != 0) {
|
||||
uVar2 = FUN_1400cd110(local_38,param_3,local_38,local_res18);
|
||||
if ((int)uVar2 != 0) {
|
||||
FUN_1400c6dd0((int *)local_38);
|
||||
return uVar2 & 0xffffffff;
|
||||
}
|
||||
iVar3 = iVar3 + 1;
|
||||
*(undefined *)puVar1 = PTR_s_0123456789ABCDEFGHIJKLMNOPQRSTUV_140157330[local_res18[0]];
|
||||
puVar1 = (undefined2 *)((longlong)puVar1 + 1);
|
||||
}
|
||||
FUN_1400cd0c0((undefined1 *)param_2,iVar3);
|
||||
*(undefined1 *)puVar1 = 0;
|
||||
FUN_1400c6dd0((int *)local_38);
|
||||
uVar2 = 0;
|
||||
}
|
||||
return uVar2;
|
||||
}
|
||||
*param_2 = 0x30;
|
||||
return 0;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue