Ejemplo n.º 1
0
/* 
 * reads : g_8
 * writes: g_8
 */
static int32_t * func_17(int32_t  p_18, int32_t * p_19)
{ /* block id: 5 */
    uint32_t l_27 = 0x467B47E0L;
    int32_t *l_45 = &g_8[1];
    (*l_45) = (((((uint32_t)(func_22((0x000EL & l_27), l_27, l_27, &g_8[3]) , g_8[5]) - (uint32_t)1L) , 0x1970L) != 0x3FEEL) == p_18);
    return &g_8[7];
}
Ejemplo n.º 2
0
void func_21(int iParam0)
{
	if (Global_14571)
	{
		func_23(0, 0);
	}
	if (Global_14413.f_1 == 10 || Global_14413.f_1 == 9)
	{
		GAMEPLAY::SET_BIT(&Global_2284, 16);
	}
	if (is_mobile_phone_call_ongoing())
	{
		stop_scripted_conversation(false);
	}
	Global_15712 = 5;
	if (iParam0 == 1)
	{
		GAMEPLAY::SET_BIT(&Global_2283, 30);
	}
	else
	{
		GAMEPLAY::CLEAR_BIT(&Global_2283, 30);
	}
	if (!func_22())
	{
		Global_14413.f_1 = 3;
	}
}
Ejemplo n.º 3
0
bool func_21(int iParam0)
{
    if (((!func_9() == iParam0 || func_23()) || func_22()) || Global_69486 != -1)
    {
        if (!func_9() == 1)
        {
        }
        if (func_23())
        {
        }
        if (func_22())
        {
        }
        if (Global_69486 != -1)
        {
        }
    }
    return false;
}
Ejemplo n.º 4
0
void func_18(int iParam0)
{
	int iVar0;
	int iVar1;
	
	iVar0 = 0;
	while (iVar0 < 5)
	{
		iVar1 = iLocal_28 + iVar0;
		func_25(iVar1, iParam0, 0);
		func_23(iVar1, 1, 2, 0);
		func_22(iVar1, 1);
		func_21(iVar1, 44);
		if (((Global_101154.f_1815[iVar0 /*2*/] >= 1 || func_35(108) == 1) || func_20(iLocal_29 + iVar0, 0)) || GAMEPLAY::IS_BIT_SET(Global_101154.f_17264[iLocal_30 + iVar0 /*6*/], 3))
		{
			func_19(iVar1, 1);
		}
		iVar0++;
	}
}
Ejemplo n.º 5
0
int func_15(int iParam0)
{
	int iVar0;
	
	switch (iParam0)
	{
		case 0:
			return "SPEECH_PARAMS_STANDARD";
		
		case 1:
			return "SPEECH_PARAMS_ALLOW_REPEAT";
		
		case 2:
			return "SPEECH_PARAMS_BEAT";
		
		case 3:
			return "SPEECH_PARAMS_FORCE";
		
		case 4:
			return "SPEECH_PARAMS_FORCE_FRONTEND";
		
		case 5:
			return "SPEECH_PARAMS_FORCE_NO_REPEAT_FRONTEND";
		
		case 6:
			return "SPEECH_PARAMS_FORCE_NORMAL";
		
		case 7:
			return "SPEECH_PARAMS_FORCE_NORMAL_CLEAR";
		
		case 8:
			return "SPEECH_PARAMS_FORCE_NORMAL_CRITICAL";
		
		case 9:
			return "SPEECH_PARAMS_FORCE_SHOUTED";
		
		case 10:
			return "SPEECH_PARAMS_FORCE_SHOUTED_CLEAR";
		
		case 11:
			return "SPEECH_PARAMS_FORCE_SHOUTED_CRITICAL";
		
		case 12:
			return "SPEECH_PARAMS_FORCE_PRELOAD_ONLY";
		
		case 13:
			return "SPEECH_PARAMS_MEGAPHONE";
		
		case 14:
			return "SPEECH_PARAMS_HELI";
		
		case 15:
			return "SPEECH_PARAMS_FORCE_MEGAPHONE";
		
		case 16:
			return "SPEECH_PARAMS_FORCE_HELI";
		
		case 17:
			return "SPEECH_PARAMS_INTERRUPT";
		
		case 18:
			return "SPEECH_PARAMS_INTERRUPT_SHOUTED";
		
		case 19:
			return "SPEECH_PARAMS_INTERRUPT_SHOUTED_CLEAR";
		
		case 20:
			return "SPEECH_PARAMS_INTERRUPT_SHOUTED_CRITICAL";
		
		case 21:
			return "SPEECH_PARAMS_INTERRUPT_NO_FORCE";
		
		case 22:
			return "SPEECH_PARAMS_INTERRUPT_FRONTEND";
		
		case 23:
			return "SPEECH_PARAMS_INTERRUPT_NO_FORCE_FRONTEND";
		
		case 24:
			return "SPEECH_PARAMS_ADD_BLIP";
		
		case 25:
			return "SPEECH_PARAMS_ADD_BLIP_ALLOW_REPEAT";
		
		case 26:
			return "SPEECH_PARAMS_ADD_BLIP_FORCE";
		
		case 27:
			return "SPEECH_PARAMS_ADD_BLIP_SHOUTED";
		
		case 28:
			return "SPEECH_PARAMS_ADD_BLIP_SHOUTED_FORCE";
		
		case 29:
			return "SPEECH_PARAMS_ADD_BLIP_INTERRUPT";
		
		case 30:
			return "SPEECH_PARAMS_ADD_BLIP_INTERRUPT_FORCE";
		
		case 31:
			return "SPEECH_PARAMS_FORCE_PRELOAD_ONLY_SHOUTED";
		
		case 32:
			return "SPEECH_PARAMS_FORCE_PRELOAD_ONLY_SHOUTED_CLEAR";
		
		case 33:
			return "SPEECH_PARAMS_FORCE_PRELOAD_ONLY_SHOUTED_CRITICAL";
		
		case 34:
			return "SPEECH_PARAMS_SHOUTED";
		
		case 35:
			return "SPEECH_PARAMS_SHOUTED_CLEAR";
		
		case 36:
			return "SPEECH_PARAMS_SHOUTED_CRITICAL";
		
		default:
	}
	iVar0 = 0;
	return iVar0;
}

void func_16(int iParam0)
{
	struct<6> Var0;
	char* sVar6;
	
	if (func_23())
	{
		Var0 = {func_22()};
		sVar6 = func_21();
		if (GAMEPLAY::ARE_STRINGS_EQUAL(&Var0, sVar6))
		{
			if (iParam0)
			{
				func_19();
			}
			else
			{
				func_17();
			}
		}
	}
}

void func_17()
{
	Global_14578 = 0;
	func_18();
}