undefined4 FUN_00402b40(undefined1 *param_1)
{
short sVar1;
int iVar2;
ulong uVar3;
undefined2 local_38;
char acStack_34 [40];
local_38 = 0x6c;
sVar1 = g_max_op_rate;
if (((g_max_op_rate == 0) && (sVar1 = local_38, g_helper != 0)) && //possible issue identified - semgrep
(iVar2 = FUN_0040291c("get_max_op_rate",acStack_34,0x20), iVar2 == 0)) {
uVar3 = strtoul(acStack_34,(char **)0x0,0);
sVar1 = (short)uVar3;
}
local_38 = sVar1;
sVar1 = local_38;
local_38._1_1_ = (undefined1)local_38;
local_38._0_1_ = (undefined1)((ushort)sVar1 >> 8);
param_1[1] = local_38._1_1_;
*param_1 = (undefined1)local_38;
return 1;
}