add agent manager release decomp
This commit is contained in:
parent
31ff800b2a
commit
fac6117145
7019 changed files with 254032 additions and 5 deletions
33
decomp/AgentManager_Release_x64/full/functions/0x1400c2180.c
Normal file
33
decomp/AgentManager_Release_x64/full/functions/0x1400c2180.c
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400c2180 FUN_1400c2180
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined8 *
|
||||
FUN_1400c2180(longlong *param_1,undefined4 *param_2,undefined8 param_3,undefined8 param_4)
|
||||
|
||||
{
|
||||
longlong *plVar1;
|
||||
undefined8 *puVar2;
|
||||
|
||||
plVar1 = (longlong *)*param_1;
|
||||
if (plVar1 == (longlong *)0x0) {
|
||||
puVar2 = (undefined8 *)FUN_14003e840(0x58);
|
||||
}
|
||||
else {
|
||||
puVar2 = (undefined8 *)
|
||||
(**(code **)(*plVar1 + 8))(plVar1,0x58,param_3,param_4,0xfffffffffffffffe);
|
||||
}
|
||||
if (puVar2 != (undefined8 *)0x0) {
|
||||
FUN_140074fe0((undefined4 *)(puVar2 + 2),param_2);
|
||||
*(undefined4 *)(puVar2 + 7) = param_2[10];
|
||||
puVar2[8] = Proud::AddrPort::vftable;
|
||||
*(undefined4 *)(puVar2 + 9) = param_2[0xe];
|
||||
*(undefined2 *)((longlong)puVar2 + 0x4c) = *(undefined2 *)(param_2 + 0xf);
|
||||
*(undefined1 *)(puVar2 + 10) = *(undefined1 *)(param_2 + 0x10);
|
||||
}
|
||||
puVar2[1] = param_3;
|
||||
*puVar2 = param_4;
|
||||
param_1[3] = param_1[3] + 1;
|
||||
return puVar2;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue