add agent manager release decomp
This commit is contained in:
parent
31ff800b2a
commit
fac6117145
7019 changed files with 254032 additions and 5 deletions
41
decomp/AgentManager_Release_x64/full/functions/0x140020b70.c
Normal file
41
decomp/AgentManager_Release_x64/full/functions/0x140020b70.c
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186
|
||||
* Ghidra 12.1.2 decompiler output for 0x140020b70 FUN_140020b70
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined8 * FUN_140020b70(longlong param_1)
|
||||
|
||||
{
|
||||
char cVar1;
|
||||
undefined8 *puVar2;
|
||||
ulonglong uVar3;
|
||||
char *pcVar4;
|
||||
char *pcVar5;
|
||||
|
||||
puVar2 = operator_new(0x58);
|
||||
if (puVar2 == (undefined8 *)0x0) {
|
||||
return (undefined8 *)0x0;
|
||||
}
|
||||
puVar2[1] = 0xffffffffffffffff;
|
||||
uVar3 = 0xffffffffffffffff;
|
||||
puVar2[2] = 0;
|
||||
puVar2[7] = &DAT_14017ce88;
|
||||
puVar2[3] = 0;
|
||||
puVar2[5] = 0;
|
||||
puVar2[6] = 0;
|
||||
puVar2[9] = 0;
|
||||
puVar2[10] = 0;
|
||||
*(undefined4 *)(puVar2 + 4) = 3;
|
||||
*puVar2 = TiXmlUnknown::vftable;
|
||||
pcVar4 = (char *)(*(longlong *)(param_1 + 0x38) + 0x10);
|
||||
pcVar5 = pcVar4;
|
||||
do {
|
||||
if (uVar3 == 0) break;
|
||||
uVar3 = uVar3 - 1;
|
||||
cVar1 = *pcVar5;
|
||||
pcVar5 = pcVar5 + 1;
|
||||
} while (cVar1 != '\0');
|
||||
FUN_14001e2c0(puVar2 + 7,pcVar4,~uVar3 - 1);
|
||||
puVar2[2] = *(undefined8 *)(param_1 + 0x10);
|
||||
return puVar2;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue