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

34 lines
908 B
C

/* Agent_Release_x64.exe sha256 6f2be7b8eb799ba51b359d1958720aac5baee5b7ee0d1d36684d3cbd72d45469
* Ghidra 12.1.2 decompiler output for 0x1400cb9c0 FUN_1400cb9c0
* Pseudocode, not original source. */
undefined8 FUN_1400cb9c0(undefined8 *param_1)
{
undefined8 *puVar1;
undefined1 *puVar2;
int iVar3;
int iVar4;
longlong local_res10 [3];
iVar4 = 0;
puVar2 = (undefined1 *)register0x00000020;
puVar1 = param_1;
while( true ) {
if (puVar1 == (undefined8 *)0x0) {
return 0;
}
iVar3 = (*DAT_1401632b0)();
if (iVar3 != 0) break;
puVar1 = *(undefined8 **)(puVar2 + 0x10);
iVar4 = iVar4 + 1;
puVar2 = puVar2 + 8;
}
for (; iVar4 != 0; iVar4 = iVar4 + -1) {
(*DAT_1401632c0)(*param_1);
param_1 = *(undefined8 **)((longlong)register0x00000020 + 0x10);
register0x00000020 = (BADSPACEBASE *)((longlong)register0x00000020 + 8);
}
return 0xd;
}