add agent manager release decomp
This commit is contained in:
parent
31ff800b2a
commit
fac6117145
7019 changed files with 254032 additions and 5 deletions
36
decomp/AgentManager_Release_x64/full/functions/0x1400e2ed0.c
Normal file
36
decomp/AgentManager_Release_x64/full/functions/0x1400e2ed0.c
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400e2ed0 FUN_1400e2ed0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined8 FUN_1400e2ed0(byte *param_1,uint param_2,uint *param_3)
|
||||
|
||||
{
|
||||
byte bVar1;
|
||||
uint uVar2;
|
||||
uint uVar3;
|
||||
byte *pbVar4;
|
||||
|
||||
if ((param_3 != (uint *)0x0) && (param_1 != (byte *)0x0)) {
|
||||
if ((1 < param_2) && ((*param_1 & 0x1f) == 2)) {
|
||||
bVar1 = param_1[1];
|
||||
uVar3 = (uint)bVar1;
|
||||
if (bVar1 + 2 <= param_2) {
|
||||
uVar2 = 0;
|
||||
if (bVar1 != 0) {
|
||||
pbVar4 = param_1 + 2;
|
||||
do {
|
||||
bVar1 = *pbVar4;
|
||||
pbVar4 = pbVar4 + 1;
|
||||
uVar2 = uVar2 << 8 | (uint)bVar1;
|
||||
uVar3 = uVar3 - 1;
|
||||
} while (uVar3 != 0);
|
||||
}
|
||||
*param_3 = uVar2;
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
return 7;
|
||||
}
|
||||
return 0x10;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue