add agent manager release decomp
This commit is contained in:
parent
31ff800b2a
commit
fac6117145
7019 changed files with 254032 additions and 5 deletions
30
decomp/AgentManager_Release_x64/full/functions/0x1400018a0.c
Normal file
30
decomp/AgentManager_Release_x64/full/functions/0x1400018a0.c
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400018a0 FUN_1400018a0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined1 FUN_1400018a0(undefined8 *param_1,ulonglong param_2)
|
||||
|
||||
{
|
||||
code *pcVar1;
|
||||
undefined1 uVar2;
|
||||
|
||||
if (0x7ffffffffffffffe < param_2) {
|
||||
std::_Xlength_error("string too long");
|
||||
pcVar1 = (code *)swi(3);
|
||||
uVar2 = (*pcVar1)();
|
||||
return uVar2;
|
||||
}
|
||||
if ((ulonglong)param_1[3] < param_2) {
|
||||
FUN_140001920(param_1,param_2,param_1[2]);
|
||||
return param_2 != 0;
|
||||
}
|
||||
if (param_2 == 0) {
|
||||
param_1[2] = 0;
|
||||
if (7 < (ulonglong)param_1[3]) {
|
||||
param_1 = (undefined8 *)*param_1;
|
||||
}
|
||||
*(undefined2 *)param_1 = 0;
|
||||
}
|
||||
return param_2 != 0;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue