add agent manager release decomp
This commit is contained in:
parent
31ff800b2a
commit
fac6117145
7019 changed files with 254032 additions and 5 deletions
57
decomp/AgentManager_Release_x64/full/functions/0x14003a250.c
Normal file
57
decomp/AgentManager_Release_x64/full/functions/0x14003a250.c
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186
|
||||
* Ghidra 12.1.2 decompiler output for 0x14003a250 FUN_14003a250
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
ulonglong FUN_14003a250(longlong param_1,wchar_t *param_2)
|
||||
|
||||
{
|
||||
undefined8 *puVar1;
|
||||
int iVar2;
|
||||
undefined8 *in_RAX;
|
||||
undefined4 extraout_var;
|
||||
wchar_t *_Str1;
|
||||
undefined8 *local_18;
|
||||
undefined8 *local_10;
|
||||
|
||||
if (*(longlong *)(param_1 + 0x58) == 0) {
|
||||
local_18 = (undefined8 *)0x0;
|
||||
}
|
||||
else {
|
||||
local_18 = *(undefined8 **)(param_1 + 0x68);
|
||||
in_RAX = (undefined8 *)0x0;
|
||||
if (local_18 != (undefined8 *)0x0) {
|
||||
in_RAX = (undefined8 *)*local_18;
|
||||
puVar1 = in_RAX;
|
||||
goto joined_r0x00014003a2a0;
|
||||
}
|
||||
}
|
||||
local_10 = (undefined8 *)0x0;
|
||||
puVar1 = local_10;
|
||||
joined_r0x00014003a2a0:
|
||||
do {
|
||||
if (puVar1 == (undefined8 *)0x0) {
|
||||
return (ulonglong)in_RAX & 0xffffffffffffff00;
|
||||
}
|
||||
in_RAX = (undefined8 *)puVar1[2];
|
||||
if ((in_RAX != (undefined8 *)0x0) && (*(char *)((longlong)in_RAX + 0xc) == '\r')) {
|
||||
_Str1 = (wchar_t *)((longlong)in_RAX + 0x28);
|
||||
if (7 < *(ulonglong *)((longlong)in_RAX + 0x40)) {
|
||||
_Str1 = *(wchar_t **)_Str1;
|
||||
}
|
||||
iVar2 = _wcsicmp(_Str1,param_2);
|
||||
in_RAX = (undefined8 *)CONCAT44(extraout_var,iVar2);
|
||||
if (iVar2 == 0) {
|
||||
return CONCAT71((int7)((ulonglong)in_RAX >> 8),1);
|
||||
}
|
||||
}
|
||||
for (puVar1 = (undefined8 *)*puVar1; puVar1 == (undefined8 *)0x0; puVar1 = (undefined8 *)*puVar1
|
||||
) {
|
||||
puVar1 = local_18 + 1;
|
||||
local_18 = local_18 + 1;
|
||||
}
|
||||
if (local_18 == puVar1) {
|
||||
puVar1 = (undefined8 *)0x0;
|
||||
}
|
||||
} while( true );
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue