add agent manager release decomp
This commit is contained in:
parent
31ff800b2a
commit
fac6117145
7019 changed files with 254032 additions and 5 deletions
38
decomp/AgentManager_Release_x64/full/functions/0x1400c9030.c
Normal file
38
decomp/AgentManager_Release_x64/full/functions/0x1400c9030.c
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400c9030 FUN_1400c9030
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
longlong FUN_1400c9030(undefined8 param_1,longlong param_2)
|
||||
|
||||
{
|
||||
uint uVar1;
|
||||
undefined4 extraout_var;
|
||||
uint7 uVar2;
|
||||
longlong lVar3;
|
||||
int iVar4;
|
||||
undefined *puVar5;
|
||||
|
||||
lVar3 = 0;
|
||||
puVar5 = *(undefined **)(param_2 + 0x2488);
|
||||
iVar4 = 0;
|
||||
if ((puVar5 != (undefined *)0x0) && (puVar5 != PTR_DAT_14016f008)) {
|
||||
iVar4 = *(int *)(puVar5 + -8);
|
||||
}
|
||||
*(undefined1 *)(param_2 + 0x24c0) = 1;
|
||||
puVar5 = *(undefined **)(param_2 + 0x2488);
|
||||
if (*(undefined **)(param_2 + 0x2488) == (undefined *)0x0) {
|
||||
puVar5 = PTR_DAT_14016f008;
|
||||
}
|
||||
if (*(longlong **)(param_2 + 0x2480) != (longlong *)0x0) {
|
||||
lVar3 = **(longlong **)(param_2 + 0x2480);
|
||||
}
|
||||
uVar1 = FUN_140044bb0(lVar3,(undefined8 *)(puVar5 + *(int *)(param_2 + 0x2504)),
|
||||
(undefined **)(ulonglong)((iVar4 - *(int *)(param_2 + 0x2504)) + 1),puVar5);
|
||||
uVar2 = (uint7)(CONCAT44(extraout_var,uVar1) >> 8);
|
||||
if (uVar1 != 0) {
|
||||
*(undefined1 *)(param_2 + 0x24c0) = 0;
|
||||
return (ulonglong)uVar2 << 8;
|
||||
}
|
||||
return CONCAT71(uVar2,1);
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue