bool func_43(Vector3 vParam0, Vector3 vParam1, int iParam2, float fParam3)
{
	auto uVar0;
	char* sVar165;
	char* sVar166;
	
	if (iLocal_84 < iLocal_85)
	{
		if (!func_23())
		{
			if (vdist2(vParam3, vParam0) < fParam7 * fParam7)
			{
				if (GAMEPLAY::GET_GAME_TIMER() - iLocal_83 > iParam6 + GAMEPLAY::GET_RANDOM_INT_IN_RANGE(false, 2000))
				{
					uVar0 = 16;
					func_47(&uVar0, 3, iLocal_82, "MAUDE", 0, 1);
					sVar165 = func_46();
					sVar166 = func_21();
					func_44(&uVar0, sVar165, sVar166, 7, 0, 0);
					iLocal_83 = GAMEPLAY::GET_GAME_TIMER();
					iLocal_84++;
					return true;
				}
			}
		}
		else
		{
			iLocal_83 = GAMEPLAY::GET_GAME_TIMER();
		}
	}
	return false;
}
示例#2
0
/* 
 * reads : g_5 g_2 g_22 g_10 g_9 g_4 g_43 g_55 g_41 g_63
 * writes: g_5 g_10 g_22 g_41 g_42 g_44 g_55
 */
static uint8_t  func_1(void)
{ /* block id: 0 */
    int32_t *l_17 = &g_10;
    uint8_t *l_54 = &g_55;
    for (g_5 = 0; (g_5 <= (-20)); g_5--)
    { /* block id: 3 */
        int32_t *l_39 = &g_10;
        for (g_10 = 0; (g_10 <= 4); g_10 += 3)
        { /* block id: 6 */
            int32_t l_16[6][8] = {{0x720B963AL,(-4L),(-4L),0x720B963AL,0x3C6FE23AL,2L,2L,0xD5BEFA1EL},{0x3C6FE23AL,2L,2L,0xD5BEFA1EL,3L,0x08531D14L,0L,0xD5BEFA1EL},{0x203BD652L,0L,0x3C6FE23AL,0xAAF0A9B2L,0x3C6FE23AL,0L,0x203BD652L,0x720B963AL},{7L,1L,0x720B963AL,0L,0x08531D14L,(-1L),3L,(-4L)},{(-4L),0xD5BEFA1EL,0xAAF0A9B2L,2L,0x08531D14L,0x08531D14L,2L,0xAAF0A9B2L},{7L,7L,0L,(-4L),0x3C6FE23AL,0x203BD652L,0xAAF0A9B2L,1L}};
            int32_t **l_18 = &l_17;
            int i, j;
            (*l_18) = func_13(l_16[1][4], l_17);
        }
        if (((int32_t)g_2 + (int32_t)1UL))
        { /* block id: 11 */
            uint32_t *l_21 = &g_22[4][3];
            int32_t l_38 = 0L;
            int16_t *l_40 = &g_41;
            (*l_17) = (((((--(*l_21)) , (func_25((*l_17), g_22[4][4], l_21, g_9) < l_38)) , 0x23L) | g_5) && l_38);
            (*g_43) = (g_42[1] = func_13((((((((*l_40) = (((l_39 != (void*)0) , (void*)0) == l_39)) == 65535UL) , l_38) , g_4) , (void*)0) != l_21), &l_38));
        }
        else
        { /* block id: 20 */
            int32_t **l_45 = &g_44;
            (*l_45) = func_13((*l_17), l_17);
        }
    }
    (*g_63) = ((*l_17) = func_46(func_13(((uint8_t)((*l_54) |= ((*l_17) != (*l_17))) - (uint8_t)0xFFL), &g_10), l_17, (*l_17), &l_17, (*l_17)));
    return (*l_17);
}
示例#3
0
文件: pr48124-3.c 项目: 0day-ci/gcc
int
main ()
{
  func_46 ();
  if (g_13 != -1)
    abort ();
  return 0;
}
示例#4
0
int func_39(int iParam0)
{
	int iVar0;
	int iVar1;
	
	iVar1 = 0;
	iVar0 = 0;
	while (iVar0 < Global_101154.f_6378.f_136)
	{
		if (Global_101154.f_6378[iVar0 /*15*/] == iParam0)
		{
			if (Global_36258 != iVar0)
			{
				func_46(iVar0);
				func_43(iParam0);
				iVar1 = 1;
			}
		}
		iVar0++;
	}
	iVar0 = 0;
	while (iVar0 < Global_101154.f_6378.f_198)
	{
		if (Global_101154.f_6378.f_137[iVar0 /*15*/] == iParam0)
		{
			func_43(iParam0);
			iVar1 = 1;
		}
		iVar0++;
	}
	iVar0 = 0;
	while (iVar0 < Global_101154.f_6378.f_650)
	{
		if (Global_101154.f_6378.f_199[iVar0 /*15*/] == iParam0)
		{
			func_42(iParam0);
			iVar1 = 1;
		}
		iVar0++;
	}
	iVar0 = 0;
	while (iVar0 < Global_101154.f_6378.f_764)
	{
		if (Global_101154.f_6378.f_651[iVar0 /*14*/] == iParam0)
		{
			func_41(iVar0);
			iVar1 = 1;
		}
		iVar0++;
	}
	iVar0 = 0;
	while (iVar0 < Global_101154.f_6378.f_866)
	{
		if (Global_101154.f_6378.f_765[iVar0 /*10*/] == iParam0)
		{
			func_40(iVar0);
			iVar1 = 1;
		}
		iVar0++;
	}
	return iVar1;
}