server-re/decomp/MessageServer_Release_x64/full/functions/0x14006c640.c

23 lines
517 B
C

/* MessageServer_Release_x64.exe sha256 7911b15c4379625eaa12ff227708aa3a033bc6ac2cf6b34283136e3a62df25f1
* Ghidra 12.1.2 decompiler output for 0x14006c640 FUN_14006c640
* Pseudocode, not original source. */
void FUN_14006c640(longlong *param_1)
{
int *piVar1;
int iVar2;
longlong lVar3;
lVar3 = *param_1;
LOCK();
piVar1 = (int *)(lVar3 + -8);
iVar2 = *piVar1;
*piVar1 = *piVar1 + -1;
UNLOCK();
if (iVar2 + -1 < 1) {
(**(code **)(**(longlong **)(lVar3 + -0x18) + 8))();
}
return;
}