server-re/decomp/Agent_Release_x64/full/functions/0x1400c83e0.c
2026-10-14 16:45:19 -04:00

21 lines
573 B
C

/* Agent_Release_x64.exe sha256 6f2be7b8eb799ba51b359d1958720aac5baee5b7ee0d1d36684d3cbd72d45469
* Ghidra 12.1.2 decompiler output for 0x1400c83e0 FUN_1400c83e0
* Pseudocode, not original source. */
undefined8 FUN_1400c83e0(longlong param_1,uint *param_2)
{
uint uVar1;
int iVar2;
uVar1 = **(uint **)(param_1 + 0x10);
if ((uVar1 & 1) == 0) {
return 0xfffffffd;
}
iVar2 = (uVar1 * 2 + 4 & 8) + uVar1;
iVar2 = iVar2 * (2 - iVar2 * uVar1);
iVar2 = iVar2 * (2 - iVar2 * uVar1);
*param_2 = -((2 - iVar2 * uVar1) * iVar2) & 0xfffffff;
return 0;
}