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/0x14000a180.c
Normal file
38
decomp/AgentManager_Release_x64/full/functions/0x14000a180.c
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186
|
||||
* Ghidra 12.1.2 decompiler output for 0x14000a180 FUN_14000a180
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_14000a180(longlong *param_1)
|
||||
|
||||
{
|
||||
code *pcVar1;
|
||||
ulonglong uVar2;
|
||||
ulonglong uVar3;
|
||||
|
||||
uVar3 = (param_1[1] - *param_1) / 0x28;
|
||||
if (0x666666666666665 < uVar3) {
|
||||
std::_Xlength_error("vector<T> too long");
|
||||
pcVar1 = (code *)swi(3);
|
||||
(*pcVar1)();
|
||||
return;
|
||||
}
|
||||
uVar3 = uVar3 + 1;
|
||||
uVar2 = (param_1[2] - *param_1) / 0x28;
|
||||
if (uVar2 < uVar3) {
|
||||
if (0x666666666666666 - (uVar2 >> 1) < uVar2) {
|
||||
uVar2 = 0;
|
||||
if (uVar3 != 0) {
|
||||
uVar2 = uVar3;
|
||||
}
|
||||
FUN_14000a370(param_1,uVar2);
|
||||
return;
|
||||
}
|
||||
uVar2 = uVar2 + (uVar2 >> 1);
|
||||
if (uVar2 < uVar3) {
|
||||
uVar2 = uVar3;
|
||||
}
|
||||
FUN_14000a370(param_1,uVar2);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue