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/0x1400e2e80.c
Normal file
30
decomp/AgentManager_Release_x64/full/functions/0x1400e2e80.c
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400e2e80 FUN_1400e2e80
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined4 FUN_1400e2e80(uint param_1,int *param_2)
|
||||
|
||||
{
|
||||
uint uVar1;
|
||||
uint uVar2;
|
||||
int iVar3;
|
||||
|
||||
if (param_2 == (int *)0x0) {
|
||||
return 0x10;
|
||||
}
|
||||
iVar3 = 0;
|
||||
uVar2 = param_1;
|
||||
if (param_1 != 0) {
|
||||
do {
|
||||
iVar3 = iVar3 + 1;
|
||||
uVar1 = uVar2 >> 8;
|
||||
uVar2 = uVar2 >> 8;
|
||||
} while (uVar1 != 0);
|
||||
if (iVar3 != 0) goto LAB_1400e2eb2;
|
||||
}
|
||||
iVar3 = 1;
|
||||
LAB_1400e2eb2:
|
||||
*param_2 = ((param_1 >> (iVar3 * 8 - 1U & 0x1f) & 1) != 0) + 2 + iVar3;
|
||||
return 0;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue