Hi -
someone know how to change Quests in the "main"- menue?
Couldn't find somthing... any hints?
Thanks
???
Code:
void __usercall sub_CF23A0(char a1<sil>, int a2)
{
int v2; // eax@3
int v3; // eax@4
int v4; // eax@4
int v5; // esi@5
int v6; // eax@8
int v7; // ecx@16
int v8; // eax@18
char v9; // [sp-4h] [bp-4h]@2
if ( dword_17C80F0 )
{
v9 = a1;
if ( sub_93F390(a2) )
{
v2 = sub_93F540(a2);
if ( *(_DWORD *)(v2 + 2828) != -1 )
{
v3 = (*(int (__thiscall **)(int, _DWORD))(*(_DWORD *)v2 + 152))(v2, *(_DWORD *)(v2 + 2828));
v4 = sub_C68DB0(v3);
if ( v4 )
{
v5 = *(_DWORD *)(v4 + 3168);
if ( v5 )
{
if ( *(_DWORD *)(v5 + 20) == -2 )
*(_DWORD *)(v5 + 20) = -1;
v6 = *(_DWORD *)(*(_DWORD *)(sub_95E140() + 16) + 176);
if ( v6 )
{
v7 = *(_DWORD *)(v6 + 300) == *(_DWORD *)(v5 + 20)
&& *(_DWORD *)(v6 + 296) == *(_DWORD *)(v5 + 16)
&& *(_DWORD *)(v6 + 292) == *(_DWORD *)(v5 + 8)
&& *(_DWORD *)(v6 + 288) == *(_DWORD *)(v5 + 12)
&& *(_DWORD *)(v5 + 24);
v8 = dword_17C80F0;
*(_DWORD *)(dword_17C80F0 + 24) = v7;
*(_DWORD *)(v8 + 12) = *(_DWORD *)(v5 + 8);
*(_DWORD *)(v8 + 16) = *(_DWORD *)(v5 + 16);
*(_DWORD *)(v8 + 20) = *(_DWORD *)(v5 + 20);
sub_CF19D0();
}
else
{
sub_F0F1D0(
5,
3,
0,
"UIQuestSelector - UIBattlenet_QuestSelector_OnSelectionChanged_NavigationMenuList() - Current hero was NULL!\n",
v9);
}
}
}
}
}
}
}