add agent manager release decomp
This commit is contained in:
parent
31ff800b2a
commit
fac6117145
7019 changed files with 254032 additions and 5 deletions
38
decomp/AgentManager_Release_x64/full/functions/0x14003b030.c
Normal file
38
decomp/AgentManager_Release_x64/full/functions/0x14003b030.c
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186
|
||||
* Ghidra 12.1.2 decompiler output for 0x14003b030 FUN_14003b030
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined8 * FUN_14003b030(undefined8 *param_1,longlong *param_2)
|
||||
|
||||
{
|
||||
code *pcVar1;
|
||||
undefined8 *puVar2;
|
||||
undefined1 *puVar3;
|
||||
longlong lVar4;
|
||||
ulonglong uVar5;
|
||||
|
||||
*param_1 = 0;
|
||||
param_1[1] = 0;
|
||||
param_1[2] = 0;
|
||||
lVar4 = (param_2[1] - *param_2) / 6 + (param_2[1] - *param_2 >> 0x3f);
|
||||
uVar5 = (lVar4 >> 3) - (lVar4 >> 0x3f);
|
||||
*param_1 = 0;
|
||||
param_1[1] = 0;
|
||||
param_1[2] = 0;
|
||||
if (uVar5 != 0) {
|
||||
if (0x555555555555555 < uVar5) {
|
||||
std::_Xlength_error("vector<T> too long");
|
||||
pcVar1 = (code *)swi(3);
|
||||
puVar2 = (undefined8 *)(*pcVar1)();
|
||||
return puVar2;
|
||||
}
|
||||
puVar3 = FUN_140029660(uVar5);
|
||||
*param_1 = puVar3;
|
||||
param_1[1] = puVar3;
|
||||
param_1[2] = puVar3 + uVar5 * 0x30;
|
||||
puVar3 = FUN_14003b190((undefined1 *)*param_2,(undefined1 *)param_2[1],puVar3);
|
||||
param_1[1] = puVar3;
|
||||
}
|
||||
return param_1;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue