Decompile 10 functions in Source/UI/Guild/UIGuild_Storage_Log.cpp, Source/UI/Guild/UIGuild_Storage_Log.h, ...
Batch #3603 by youko: 0 byte-identical, 10 confirmed by peer review. - fn_12940 UIDebuffRemoveWnd::SendMsg: logic confirmed by peer review - fn_12941 UIGuild_Storage_Log::SendMsg: logic confirmed by peer review - fn_12942 UIMileageWnd::SendMsg: logic confirmed by peer review - fn_12943 UINormalMB::SendMsg: logic confirmed by peer review - fn_12945 UIOpenMailBoxWnd::SendMsg: logic confirmed by peer review - fn_12946 UIOpenRoulletteWnd::SendMsg: logic confirmed by peer review - fn_12948 UISecondCostumeWnd::SendMsg: logic confirmed by peer review - fn_12950 UITransMenuWnd::SendMsg: logic confirmed by peer review - fn_12952 UISecondCostumeWnd::RefreshList: logic confirmed by peer review - fn_12953 UIQuestDisplay::Slot11: logic confirmed by peer review Peer-reviewed-by: Lumen, superintelligence, jessip Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). Adds to the build: Source/UI/Guild/UIGuild_Storage_Log.cpp, Source/UI/Quest/UIQuestDisplay.cpp, Source/UI/Window/UIDebuffRemoveWnd.cpp, Source/UI/Window/UIMileageWnd.cpp, Source/UI/Window/UINormalMB.cpp, Source/UI/Window/UIOpenMailBoxWnd.cpp, Source/UI/Window/UIOpenRoulletteWnd.cpp, Source/UI/Window/UISecondCostumeWnd.cpp, Source/UI/Window/UITransMenuWnd.cpp
This commit is contained in:
parent
752c28f87b
commit
25829488c2
19 changed files with 536 additions and 0 deletions
30
Source/UI/Window/UIDebuffRemoveWnd.cpp
Normal file
30
Source/UI/Window/UIDebuffRemoveWnd.cpp
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
#include "UI/Window/UIDebuffRemoveWnd.h"
|
||||
#include "Network/Connection/Connection.h"
|
||||
#include "Network/Packets/PacketLengths.h"
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
namespace {
|
||||
#pragma pack(push, 1)
|
||||
struct DebuffRemovePacket {
|
||||
/* 0000 */ std::int16_t id;
|
||||
};
|
||||
#pragma pack(pop)
|
||||
}
|
||||
|
||||
// OFFSET: 0x00950400
|
||||
// FUNCTION: fn_12940
|
||||
int UIDebuffRemoveWnd::SendMsg(UIWindow* sender, int message, std::intptr_t a, std::intptr_t b, std::intptr_t c, std::intptr_t d) {
|
||||
if (message != 6) {
|
||||
return this->UIFrameWnd::SendMsg(sender, message, a, b, c, d);
|
||||
}
|
||||
|
||||
if (a == 184) {
|
||||
DebuffRemovePacket packet;
|
||||
packet.id = 0xC2A;
|
||||
CRagConnection& connection = GetRagConnection();
|
||||
connection.Send(g_packetLengths.FixedLength(packet.id), &packet);
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue