[DiscordArchive] is this for 243 or 335?
[DiscordArchive] is this for 243 or 335?
Archived author: robinsch • Posted: 2023-08-12T10:28:14.096000+00:00
Original source
is this for 243 or 335?
Archived author: Ike • Posted: 2023-08-12T10:28:17.435000+00:00
Original source
335
Archived author: robinsch • Posted: 2023-08-12T10:28:37.080000+00:00
Original source
Yeah but that doesn't set whats being passed into languageId
Archived author: robinsch • Posted: 2023-08-12T10:29:15.382000+00:00
Original source
0x406404 sets s_currentWowLocale
![[Image: 2382cc25d1130508892cd65858c0fd96.png?ex=...07fa08ce6&]](https://cdn.discordapp.com/attachments/1086807686571642900/1139868435149488229/2382cc25d1130508892cd65858c0fd96.png?ex=690c78b4&is=690b2734&hm=cc2156642bde285396d978ab551b9664689ac94cd9ea9e6db86a4f107fa08ce6&)
Archived author: robinsch • Posted: 2023-08-12T10:30:12.720000+00:00
Original source
![[Image: 2382cc25d1130508892cd65858c0fd96.png?ex=...07fa08ce6&]](https://cdn.discordapp.com/attachments/1086807686571642900/1139868435149488229/2382cc25d1130508892cd65858c0fd96.png?ex=690c78b4&is=690b2734&hm=cc2156642bde285396d978ab551b9664689ac94cd9ea9e6db86a4f107fa08ce6&)
tring::Compare(String1, (&off_AD3028)[v1], 4u) )Archived author: Ike • Posted: 2023-08-12T10:30:17.090000+00:00
Original source
```cpp
const char *sub_550940()
{
const char *result; // eax
switch ( sub_635D90(blizzard::wow::globals::locale) )
{
case deDE:
case enGB:
case esES:
case frFR:
case ruRU:
result = "http://support.wow-europe.com/kb/";
break;
case koKR:
result = "http://support.worldofwarcraft.co.kr/kb/";
break;
case zhCN:
case enCN:
result = "http://cn.kbase.blizzard.com/kb/wow/";
break;
case zhTW:
case enTW:
result = "http://support.wowtaiwan.com.tw/kb/";
break;
default:
result = "http://support.worldofwarcraft.com/kb/";
break;
}
return result;
}
```
```cpp
KB_LOCALES __cdecl sub_635D90(char *String1)
{
KB_LOCALES v1; // esi
v1 = deDE;
while ( blizzard:
tring::Compare(String1, (&off_AD3028)[v1], 4u) )
{
if ( ++v1 >= (enCN|frFR) )
return 2;
}
return v1;
}
```
Archived author: Ike • Posted: 2023-08-12T10:30:27.290000+00:00
Original source
oh wait, wrong fucntion
Archived author: Ike • Posted: 2023-08-12T10:31:22.715000+00:00
Original source
You're right. The enum is only correct for the above function. The locale that is being send is a different one
Archived author: robinsch • Posted: 2023-08-12T10:32:41.603000+00:00
Original source
I think your enum is correct for locale arg tho, which is just referencing a cvar
Archived author: Ike • Posted: 2023-08-12T10:36:01.472000+00:00
Original source
```cpp
enum LANGUAGE_ID
{
enUS = 0,
koKR,
frFR,
deDE,
zhCN,
zhTW,
esES,
esMX,
ruRU,
};
```
This should be correct. Thank you for pointing that out