add agent manager release decomp
This commit is contained in:
parent
31ff800b2a
commit
fac6117145
7019 changed files with 254032 additions and 5 deletions
34
decomp/AgentManager_Release_x64/full/functions/0x14004f000.c
Normal file
34
decomp/AgentManager_Release_x64/full/functions/0x14004f000.c
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186
|
||||
* Ghidra 12.1.2 decompiler output for 0x14004f000 FUN_14004f000
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
longlong FUN_14004f000(longlong param_1,uint param_2)
|
||||
|
||||
{
|
||||
longlong lVar1;
|
||||
ulonglong uVar2;
|
||||
uint *puVar3;
|
||||
|
||||
uVar2 = (ulonglong)param_2 % (ulonglong)*(uint *)(param_1 + 0xca0);
|
||||
if ((*(longlong *)(param_1 + 0xc80) != 0) &&
|
||||
(puVar3 = *(uint **)(*(longlong *)(param_1 + 0xc80) + uVar2 * 8), puVar3 != (uint *)0x0)) {
|
||||
while ((uint)uVar2 == puVar3[8] % *(uint *)(param_1 + 0xca0)) {
|
||||
if (*puVar3 == param_2) {
|
||||
lVar1 = *(longlong *)(puVar3 + 2);
|
||||
if (lVar1 == 0) {
|
||||
return 0;
|
||||
}
|
||||
if (*(longlong *)(lVar1 + 0x228) != 0) {
|
||||
return 0;
|
||||
}
|
||||
return lVar1;
|
||||
}
|
||||
puVar3 = *(uint **)(puVar3 + 4);
|
||||
if (puVar3 == (uint *)0x0) {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue