This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/games/wow/CASCFolder.cpp b/src/games/wow/CASCFolder.cpp | |
index 3b6dfbc..751a8cf 100644 | |
--- a/src/games/wow/CASCFolder.cpp | |
+++ b/src/games/wow/CASCFolder.cpp | |
@@ -191,6 +191,8 @@ void CASCFolder::initVersion() | |
else | |
LOG_INFO << "Version successfully found :" << m_version; | |
+ file.close(); | |
+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/games/wow/CASCFolder.cpp b/src/games/wow/CASCFolder.cpp | |
index 3b6dfbc..751a8cf 100644 | |
--- a/src/games/wow/CASCFolder.cpp | |
+++ b/src/games/wow/CASCFolder.cpp | |
@@ -191,6 +191,8 @@ void CASCFolder::initVersion() | |
else | |
LOG_INFO << "Version successfully found :" << m_version; | |
+ file.close(); | |
+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
opcode_list = [ | |
(0x357B, "CMSG_ACCEPT_GUILD_INVITE"), | |
(0x3463, "CMSG_ACCEPT_LEVEL_GRANT"), | |
(0x30D8, "CMSG_ACCEPT_TRADE"), | |
(0x3560, "CMSG_ACCEPT_WARGAME_INVITE"), | |
(0x341F, "CMSG_ACTIVATE_TAXI"), | |
(0x3555, "CMSG_ADDON_LIST"), | |
(0x35E5, "CMSG_ADD_BATTLENET_FRIEND"), | |
(0x365E, "CMSG_ADD_FRIEND"), | |
(0x3662, "CMSG_ADD_IGNORE"), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import idaapi | |
import idc | |
# by http://reverseengineering.stackexchange.com/users/2318/w-s | |
def apply_dif_file(dif_file_name): | |
print "Applying " + dif_file_name + " to database." | |
f = open(dif_file_name, "r") | |
for l in f: | |
if l.find(":") == -1: | |
continue |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
case 706: | |
v23 = a7; | |
CDataStore__ReadInt32_2(a7, (int)&v36); | |
CDataStore__ReadInt32_2(v23, (int)&Args); | |
sub_4C5650(SLODWORD(v36), Args); | |
CDataStore__ReadInt16(v23, (int)((char *)&a7 + 2)); | |
v22 = 0; | |
if ( HIWORD(a7) ) | |
{ | |
do |
NewerOlder