decompiled agent_release
This commit is contained in:
parent
baac905ef2
commit
11a3488883
6439 changed files with 229565 additions and 1 deletions
40
decomp/Agent_Release_x64/full/functions/0x14002d140.c
Normal file
40
decomp/Agent_Release_x64/full/functions/0x14002d140.c
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
/* Agent_Release_x64.exe sha256 6f2be7b8eb799ba51b359d1958720aac5baee5b7ee0d1d36684d3cbd72d45469
|
||||
* Ghidra 12.1.2 decompiler output for 0x14002d140 FUN_14002d140
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_14002d140(longlong *param_1)
|
||||
|
||||
{
|
||||
code *pcVar1;
|
||||
ulonglong uVar2;
|
||||
longlong lVar3;
|
||||
ulonglong uVar4;
|
||||
|
||||
lVar3 = param_1[1] - *param_1;
|
||||
lVar3 = lVar3 + SUB168(SEXT816(-0x7bdef7bdef7bdef7) * SEXT816(lVar3),8);
|
||||
uVar4 = (lVar3 >> 7) - (lVar3 >> 0x3f);
|
||||
if (0x108421084210841 < uVar4) {
|
||||
std::_Xlength_error("vector<T> too long");
|
||||
pcVar1 = (code *)swi(3);
|
||||
(*pcVar1)();
|
||||
return;
|
||||
}
|
||||
uVar4 = uVar4 + 1;
|
||||
lVar3 = param_1[2] - *param_1;
|
||||
lVar3 = SUB168(SEXT816(-0x7bdef7bdef7bdef7) * SEXT816(lVar3),8) + lVar3;
|
||||
uVar2 = (lVar3 >> 7) - (lVar3 >> 0x3f);
|
||||
if (uVar2 < uVar4) {
|
||||
if (0x108421084210842 - (uVar2 >> 1) < uVar2) {
|
||||
uVar2 = 0;
|
||||
}
|
||||
else {
|
||||
uVar2 = uVar2 + (uVar2 >> 1);
|
||||
}
|
||||
if (uVar2 < uVar4) {
|
||||
uVar2 = uVar4;
|
||||
}
|
||||
FUN_14002d2e0(param_1,uVar2);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue