Maintenance: Annotation cleanup, no code change (resubmission of 10984). Every // FUNCTION: line now has // OFFSET: <its address from

Batch #11163 by ragnarok-clanker: no function's compiled code changes; checked with 226 compiled unit(s), including every includer of Source/Client/Application/UnhandledExceptionHandler.h, Source/Contents/ReputeMgrLoad.inl, Source/Render/RenderSystemBase.h, Source/UI/Lists/UIListBoxTemplate.h, Source/Utility/Async/NRecycleObject.h.
This commit is contained in:
ragnarok-clanker 2026-11-04 21:29:46 +00:00
commit 07897c8bea
138 changed files with 190 additions and 430 deletions

View file

@ -211,7 +211,6 @@ CView::CView() {
*reinterpret_cast<unsigned char*>(&this->shake.unknown_0010) = 0;
}
// OFFSET: 0x00ADAEA0
CView::~CView() {
if (this->unknown_01B4) {
delete this->unknown_01B4;

View file

@ -1345,7 +1345,6 @@ CGPak::CGPak() : m_file(nullptr), m_version(0), m_entryCount(0), m_tableOffset(0
}
// OFFSET: 0x00AE97D0
// OFFSET: 0x00AE98C0
// FUNCTION: fn_18107
CGPak::~CGPak() {
DeleteCriticalSection(&this->m_criticalSection);
@ -1982,7 +1981,6 @@ namespace GPakEx {
};
// OFFSET: 0x006434B0
__declspec(noinline) void XorBuffers(std::uint8_t* output, const std::uint8_t* input, const std::uint8_t* mask, std::size_t length) {
for (; length >= 16; length -= 16, output += 16, input += 16, mask += 16) {
for (std::size_t i = 0; i < 16; ++i) {
@ -1994,7 +1992,6 @@ namespace GPakEx {
}
}
// OFFSET: 0x00642B80
std::size_t BlockCipher::AdvancedProcessBlocks(const std::uint8_t* input, const std::uint8_t* xorBlock, std::uint8_t* output, std::size_t length, std::uint32_t flags) const {
const std::size_t blockSize = this->BlockSize();
std::ptrdiff_t step = static_cast<std::ptrdiff_t>(blockSize);
@ -2047,8 +2044,6 @@ namespace GPakEx {
static_assert(sizeof(CipherModeBase) == 0x20);
// OFFSET: 0x00642B00
// OFFSET: 0x00642A70
CipherModeBase::~CipherModeBase() {
}
@ -2073,7 +2068,6 @@ namespace GPakEx {
return length + (blockSize - length % blockSize);
}
// OFFSET: 0x00643160
std::size_t CipherModeBase::Process(std::span<const std::uint8_t> input, std::span<std::uint8_t> output, bool final) {
const bool forward = this->IsForwardTransformation();
const std::size_t blockSize = this->m_cipher->BlockSize();
@ -2134,7 +2128,6 @@ namespace GPakEx {
void ProcessData(std::uint8_t* output, const std::uint8_t* input, std::size_t length) override;
};
// OFFSET: 0x00642E20
void CBC_Encryption::ProcessData(std::uint8_t* output, const std::uint8_t* input, std::size_t length) {
const std::size_t blockSize = this->m_cipher->BlockSize();
if (length == 0) {
@ -2155,13 +2148,11 @@ namespace GPakEx {
/* 0020 */ std::vector<std::uint8_t> m_temp;
};
// OFFSET: 0x006432C0
void CBC_Decryption::ResizeBuffers() {
this->CipherModeBase::ResizeBuffers();
this->m_temp.resize(this->m_cipher->BlockSize());
}
// OFFSET: 0x00642D60
void CBC_Decryption::ProcessData(std::uint8_t* output, const std::uint8_t* input, std::size_t length) {
const std::size_t blockSize = this->m_cipher->BlockSize();
if (length == 0) {
@ -2183,13 +2174,11 @@ namespace GPakEx {
/* 0020 */ std::vector<std::uint8_t> m_temp;
};
// OFFSET: 0x00643330
void CFB_Decryption::ResizeBuffers() {
this->CipherModeBase::ResizeBuffers();
this->m_temp.resize(this->m_cipher->BlockSize());
}
// OFFSET: 0x00642EB0
void CFB_Decryption::ProcessData(std::uint8_t* output, const std::uint8_t* input, std::size_t length) {
const std::size_t blockSize = this->m_cipher->BlockSize();
if (length == 0) {
@ -2208,7 +2197,6 @@ namespace GPakEx {
void ProcessData(std::uint8_t* output, const std::uint8_t* input, std::size_t length) override;
};
// OFFSET: 0x006430F0
void OFB_Base::ProcessData(std::uint8_t* output, const std::uint8_t* input, std::size_t length) {
const std::size_t blockSize = this->m_cipher->BlockSize();
while (length != 0) {

View file

@ -10,7 +10,6 @@ CMemMapPakFile::CMemMapPakFile() : m_handle(nullptr), m_mapping(nullptr), m_view
// OFFSET: 0x00AE9850
// FUNCTION: fn_18108
// OFFSET: 0x00AE9950
CMemMapPakFile::~CMemMapPakFile() {
this->Close();
}

View file

@ -4,6 +4,7 @@
#include <wincrypt.h>
namespace myGPack {
// OFFSET: 0x00AEA5C0
// FUNCTION: fn_18121
int DecryptPakData(const BYTE* secret, DWORD secretSize, const BYTE* input, BYTE* output, DWORD dataSize) {
HCRYPTPROV provider = 0;

View file

@ -82,8 +82,8 @@ namespace {
}
// OFFSET: 0x005EF3F0
// OFFSET: 0x005EF660
// FUNCTION: fn_04004
// OFFSET: 0x005EF660
// FUNCTION: fn_04009
CPakFile::~CPakFile() = default;

View file

@ -71,7 +71,6 @@ extern "C" long long __cdecl _Xtime_get_ticks();
CUnhandledExceptionHandler::CUnhandledExceptionHandler() {
}
// OFFSET: 0x00635A80
CUnhandledExceptionHandler::~CUnhandledExceptionHandler() = default;
// OFFSET: 0x00635AB0

View file

@ -8,10 +8,8 @@
// VTABLE: vt_00282
class CUnhandledExceptionHandler {
public:
// OFFSET: 0x00635A70
CUnhandledExceptionHandler();
// OFFSET: 0x00635A80
virtual ~CUnhandledExceptionHandler();
};
@ -19,25 +17,18 @@ public:
static_assert(sizeof(CUnhandledExceptionHandler) == 4);
#endif
// OFFSET: 0x00635AB0
bool InitUnhandledExceptionHandler(int (*callback)());
// OFFSET: 0x00635C10
int CleanupUnhandledExceptionHandler();
// OFFSET: 0x00635C30
INT_PTR CALLBACK DialogFunc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
// OFFSET: 0x00635DB0
BOOL CALLBACK EnumerateLoadedModulesCallback(PCSTR moduleName, ULONG moduleBase, ULONG moduleSize, PVOID userContext);
// OFFSET: 0x00635E00
void __cdecl InvalidParameterHandler(const wchar_t* expression, const wchar_t* function, const wchar_t* file, unsigned int line, uintptr_t pReserved);
// OFFSET: 0x00635E90
void __cdecl PurecallHandler();
// OFFSET: 0x00635F00
LONG WINAPI TopLevelExceptionFilter(EXCEPTION_POINTERS* exceptionInfo);
#endif

View file

@ -421,8 +421,6 @@ UIChatHisBox3::UIChatHisBox3() : UIChatHisBox2(), unknown_0130(1), unknown_0134(
UIColoringTextViewer::UIColoringTextViewer() : UIListBox(), color(0), lineLimit(0) {
}
// OFFSET: 0x0099A060
// OFFSET: 0x007ECF50
// FUNCTION: fn_09805
UIMacroDetectorWnd::UIMacroDetectorWnd()
@ -432,6 +430,7 @@ UIMacroDetectorWnd::UIMacroDetectorWnd()
g_windowMgr.CloseWindow(155);
g_windowMgr.CloseWindow(39);
}
// OFFSET: 0x0099A060
// FUNCTION: fn_13537
UIRoundBoxTooltipWnd::UIRoundBoxTooltipWnd() : UIFrameWnd(0), viewer(nullptr) {
}
@ -491,8 +490,6 @@ CLanguageTH::CLanguageTH() : lexiconLoaded(g_lexiconBoundary.Load()) {
UIHairStyleButton::UIHairStyleButton(int style, int sex) : UIBitmapButton(), m_style(style), m_sex(sex), m_race(0), m_preview(nullptr), m_selected(false) {
}
// OFFSET: 0x00999FF0
// OFFSET: 0x00ACD140
// FUNCTION: fn_17755
CLanguageBase::~CLanguageBase() = default;

View file

@ -5,7 +5,6 @@
#include <timeapi.h>
// OFFSET: 0x006370C0
// OFFSET: 0x006370D0
// FUNCTION: fn_04724
CMouse::~CMouse() = default;

View file

@ -513,8 +513,6 @@ void CGameMode::UpdateUnknown0628(int id, bool add) {
}
}
// OFFSET: 0x00CEFFC0
// OFFSET: 0x00CF0070
// FUNCTION: fn_21410
const char* CGameMode::Unknown04DCText() {
@ -690,10 +688,6 @@ void CGameMode::sub_CEB8E0() {
Replay::Instance().Record(static_cast<std::uint16_t>(record.length), &record, 0x2A, 0);
}
// OFFSET: 0x00CEBF30
// OFFSET: 0x00CEC100
// OFFSET: 0x00CEC6A0
// FUNCTION: fn_21356
unsigned CGameMode::sub_CEC6A0(const std::vector<unsigned char>& data) {
@ -5207,8 +5201,6 @@ bool CGameMode::SaveEmblemFile(const std::vector<unsigned char>& data) {
return true;
}
// OFFSET: 0x00CF0E30
// OFFSET: 0x00CF0BA0
// FUNCTION: fn_21423
void WriteMyLog(const char* file, int line, const char* format, ...) {
@ -6382,8 +6374,6 @@ void CGameMode::ReceiveUiDragMessage(const unsigned char* message) {
this->SendMsg(0x12, 0, 0, 0, 0);
}
// OFFSET: 0x00CDBEB0
// OFFSET: 0x00CEA0C0
// FUNCTION: fn_21349
std::vector<unsigned char> CGameMode::SaveGroundItems() {

View file

@ -2894,7 +2894,6 @@ struct Unknown015D4818 {
Unknown015D4818* g_unknown_015D4818;
// OFFSET: 0x00D3BD40
// OFFSET: 0x03DEA400
// FUNCTION: fn_21790
void CGameMode::ReceivePendingItem1718List(const unsigned char* packet) {
if (g_windowMgr.unknown_01E4 || g_windowMgr.LookupWindow(318)) {

View file

@ -530,6 +530,7 @@ int g_minimapCoordinateDigitValues[4];
int g_screenWidth;
// OFFSET: 0x00CD2A10
// FUNCTION: fn_21261
void CGameMode::DrawMiniMapNumber() {
if (this->unknown_0408 == nullptr || this->unknown_0414 == 0) {

View file

@ -5496,8 +5496,6 @@ struct QuestHuntUpdatePacket {
};
#pragma pack(pop)
// OFFSET: 0x00D47760
#pragma pack(push, 1)
struct QuestHuntUpdateEntry2 {
/* 0000 */ unsigned int questId;

View file

@ -1560,8 +1560,6 @@ void CGameMode::ReceiveZoneServerChange(const char* mapName, std::int16_t x, std
this->ChangeZoneServer(mapName, x, y, ip, port, std::string());
}
// OFFSET: 0x00D3A1E0
// OFFSET: 0x00D272A0
// FUNCTION: fn_21688
void CGameMode::ReceiveActorStatusBlock(const unsigned char* packet) {
@ -2683,8 +2681,6 @@ void CGameMode::ReceiveChatEntries(unsigned char* data) {
window->SendMsg(nullptr, 0x1B, reinterpret_cast<std::intptr_t>("cancel"), 0, 0, 0);
}
// OFFSET: 0x00D795B0
// OFFSET: 0x00D7A200
// FUNCTION: fn_22189
void CGameMode::ReceivePacket0B73(const unsigned char* data) {
@ -4234,8 +4230,6 @@ void CGameMode::ReceiveStatusBonus(const unsigned char* data) {
}
}
// OFFSET: 0x00D27EC0
// OFFSET: 0x00D8A600
// FUNCTION: fn_22220
void CGameMode::ReceiveSwapEquipmentList(const unsigned char* data) {
@ -4450,8 +4444,6 @@ void CGameMode::ReceiveOpenStore(const unsigned char* packet) {
this->SendMsg(270, 0, 0, 0, 0);
}
// OFFSET: 0x00D3A770
struct ACTSTRUCT {
virtual ~ACTSTRUCT();
@ -4471,6 +4463,7 @@ struct ACTSTRUCT {
// OFFSET: 0x00D051F0
// FUNCTION: fn_21563
ACTSTRUCT::~ACTSTRUCT() = default;
// OFFSET: 0x00D3A770
// FUNCTION: fn_21779
void CGameMode::ReceiveSearchStoreOpen(const unsigned char* packet) {
g_session.unknown_5BE0 = packet[4];
@ -7019,8 +7012,6 @@ void CGameMode::ReceiveBuyingStoreOpenResult(const unsigned char* packet) {
}
}
// OFFSET: 0x00D316D0
// OFFSET: 0x00D4B050
// FUNCTION: fn_21863
void CGameMode::ReceiveItemObtainNotice(const unsigned char* packet) {
@ -7108,8 +7099,6 @@ void CGameMode::ReceiveBuyingStoreSellResult(const unsigned char* packet) {
g_windowMgr.CloseWindow(179);
}
// OFFSET: 0x00D31390
struct ReputePointEntry {
/* 0000 */ std::uint64_t id;
/* 0008 */ std::int64_t point;
@ -7196,7 +7185,7 @@ void CGameMode::RefreshEmotionPurchaseSchedule() {
manager->RefreshCommands();
}
// OFFSET: 0x00D17BF0
// OFFSET: 0x00D31390
// FUNCTION: fn_21733
void CGameMode::ReceivePartyItemPickupNotice(const unsigned char* packet) {
const std::uint32_t aid = *reinterpret_cast<const std::uint32_t*>(packet + 2);
@ -7408,6 +7397,7 @@ void CGameMode::ReceiveGuildPositionInfo(const unsigned char* packet) {
});
g_windowMgr.RefreshGuildWindows();
}
// OFFSET: 0x00D17BF0
// FUNCTION: fn_21597
void CGameMode::RefreshEmotionSaleSchedule() {
g_timeScheduler->sub_BA95F0(6);
@ -7756,8 +7746,6 @@ struct SkillFailurePacket {
static_assert(sizeof(SkillFailurePacket) == 0xE);
// OFFSET: 0x00D1E840
// OFFSET: 0x00D21220
// FUNCTION: fn_21654
void CGameMode::ReceiveBroadcastText(const unsigned char* data) {
@ -9154,7 +9142,7 @@ namespace {
static_assert(sizeof(ChatRoomMemberListPacket) == 0x8);
}
// OFFSET: 0x00D27420
// OFFSET: 0x00D1E840
// FUNCTION: fn_21636
void CGameMode::ReceiveSkillFailure(const unsigned char* data) {
const auto* packet = reinterpret_cast<const SkillFailurePacket*>(data);
@ -9566,6 +9554,7 @@ void CGameMode::ReceiveSkillFailure(const unsigned char* data) {
g_windowMgr.SendNotice(1, reinterpret_cast<std::intptr_t>(notice), 0xFF, 0xB, 0, 0);
}
// OFFSET: 0x00D27420
// FUNCTION: fn_21690
void CGameMode::ReceiveChatRoomMemberList(const unsigned char* data) {
const ChatRoomMemberListPacket* packet = reinterpret_cast<const ChatRoomMemberListPacket*>(data);
@ -10913,8 +10902,6 @@ struct EquipItemNoticePacket {
static_assert(sizeof(EquipItemNoticePacket) == 7);
// OFFSET: 0x00D50AA0
#pragma pack(push, 1)
struct MapMovePacket {
/* 0000 */ std::uint16_t packetType;
@ -11073,8 +11060,6 @@ void CGameMode::ApplyGuildStorageLog(std::uint16_t result, const std::vector<Gui
g_guildStorageLogs[2].clear();
}
// OFFSET: 0x00D5B3C0
// OFFSET: 0x00D5E930
// FUNCTION: fn_21967
void LaunchSkillCastEffect(CGameMode* mode, CGameActor* source, CGameActor* target, std::uint32_t targetAid, std::uint16_t skillId, short x, short y, int delay) {
@ -11170,7 +11155,7 @@ void LaunchSkillCastEffect(CGameMode* mode, CGameActor* source, CGameActor* targ
}
}
// OFFSET: 0x00D5B940
// OFFSET: 0x00D50AA0
// FUNCTION: fn_21887
void CGameMode::ReceiveEquipItemNotice(const unsigned char* data) {
const EquipItemNoticePacket* packet = reinterpret_cast<const EquipItemNoticePacket*>(data);
@ -11218,6 +11203,7 @@ void CGameMode::ReceiveEquipItemNotice(const unsigned char* data) {
}
}
}
// OFFSET: 0x00D5B3C0
// FUNCTION: fn_21964
void NoticeSkillUse(CGameActor* target, CGameActor* source, std::uint16_t skillId, unsigned char silent) {
if (silent == 1) {
@ -14980,10 +14966,6 @@ void CGameMode::ReceiveActorStateEntryNamedBody(const unsigned char* data) {
);
}
// OFFSET: 0x00D63D70
// OFFSET: 0x00D642F0
#pragma pack(push, 1)
struct RefineBroadcastPacket {
/* 0000 */ std::uint16_t packetType;
@ -16695,6 +16677,7 @@ void LaunchSkillActorEffect(CGameActor* actor, short x, short y, std::uint16_t s
return;
}
}
// OFFSET: 0x00D7B640
// FUNCTION: fn_22208
void CGameMode::ReceiveSkillUse(std::uint16_t skillId, int level, std::uint32_t sourceAid, std::uint32_t targetAid, bool result) {
CGameActor* source;

View file

@ -866,8 +866,6 @@ ITEM_INFO CSession::GetExchangeItem(int index) const {
return this->m_exchangeItems[index];
}
// OFFSET: 0x00DDC9D0
// OFFSET: 0x00DDD300
// FUNCTION: fn_23384
std::uint16_t CSession::FindInventoryIndexByItemId(int itemId) {

View file

@ -1,9 +1,11 @@
#include "Contents/ActorNameCard.h"
// OFFSET: 0x005BEA30
// FUNCTION: fn_03484
CActorNameCard::CActorNameCard() : unknown_0094(0), received(0) {
}
// OFFSET: 0x005BEB40
// FUNCTION: fn_03485
CActorNameCard::~CActorNameCard() = default;
@ -23,6 +25,7 @@ void CActorNameCard::Reset() {
// FUNCTION: fn_03491
CActorNameCardHolder::CActorNameCardHolder() = default;
// OFFSET: 0x005BF520
// FUNCTION: fn_03493
CActorNameCardHolder::~CActorNameCardHolder() {
}

View file

@ -91,7 +91,6 @@ CGameObject::CGameObject() : identity(++nextIdentity) {
}
// OFFSET: 0x00CA8EC0
// OFFSET: 0x00CA9230
// FUNCTION: fn_20995
CGameObject::~CGameObject() = default;

View file

@ -2622,8 +2622,6 @@ void UICashEmotionListWnd::SetTab(char tab) {
}
}
// OFFSET: 0x007C8A40
// OFFSET: 0x007C8A40
// FUNCTION: fn_09419
void UICashEmotionListWnd::StartExpirySchedule() {
@ -2917,8 +2915,6 @@ int UICashEmotionMiniWnd::SendMsg(
return 0;
}
// OFFSET: 0x007C9C40
// OFFSET: 0x007C9C40
// FUNCTION: fn_09438
UICashEmotionPack::UICashEmotionPack()
@ -3565,8 +3561,6 @@ int UICashEmotionPiece::SendMsg(
}
}
// OFFSET: 0x007CBF20
// OFFSET: 0x007CBF20
// FUNCTION: fn_09490
UICashEmotionScrollBar::UICashEmotionScrollBar() : UIScrollBar() {

View file

@ -5408,7 +5408,6 @@ int CEZ2STRScreenEffect::Slot28() {
}
// OFFSET: 0x00B52980
// FUNCTION: fn_19039
void CEZ2STRScreenEffect::Slot01() {
CEZ2STRParticle* particle = static_cast<CEZ2STRParticle*>(

View file

@ -25,7 +25,6 @@ CEffect::CEffect(int value)
}
// OFFSET: 0x00B4DD10
// OFFSET: 0x00B4DDD0
// FUNCTION: fn_18981
CEffect::~CEffect() = default;

View file

@ -181,12 +181,12 @@ bool CreateEffectMemoryMgr() {
namespace {
// OFFSET: 0x00B825B0
// OFFSET: 0x00B826D0
// OFFSET: 0x00B82640
// OFFSET: 0x00B82520
// FUNCTION: fn_19276
// OFFSET: 0x00B826D0
// FUNCTION: fn_19278
// OFFSET: 0x00B82640
// FUNCTION: fn_19277
// OFFSET: 0x00B82520
// FUNCTION: fn_19275
template <class T>
void CEffectMemoryPool<T>::Free(CParticle* particle) {

View file

@ -160,8 +160,6 @@ EffectPrimitiveState::~EffectPrimitiveState() {
std::free(this->textures);
}
// OFFSET: 0x00BAE3A0
// OFFSET: 0x00BAE460
// FUNCTION: fn_19765
void EffectPrimitiveState::GetColorOverride(unsigned char* red, unsigned char* green, unsigned char* blue) {

View file

@ -132,8 +132,6 @@ CEZ2STRParticle::CEZ2STRParticle(vector3d position, int flags) : CParticle(posit
this->Clear();
}
// OFFSET: 0x00B3CF20
// OFFSET: 0x00B3CFC0
// FUNCTION: fn_18815
void CEZ2STRParticle::Slot01() {

View file

@ -149,8 +149,6 @@ static void SendAfterimageColor(CGameObject& target, CRagEffect& sender, const v
// GLOBAL: gl_25089
int g_statusIconIds[100];
// OFFSET: 0x00C11C60
// OFFSET: 0x00C11C60
// FUNCTION: fn_20039
void CRagEffect::Endure() {
@ -687,8 +685,6 @@ void CRagEffect::IncAgility() {
this->state.unknown_11C84->slots[0].flag1[0] = 99;
}
// OFFSET: 0x00C18490
// OFFSET: 0x00C18490
// FUNCTION: fn_20063
void CRagEffect::Hit1() {
@ -779,8 +775,6 @@ void CRagEffect::Hit1() {
}
}
// OFFSET: 0x00C18D90
// OFFSET: 0x00C18D90
// FUNCTION: fn_20064
void CRagEffect::Hit2(int option) {
@ -834,8 +828,6 @@ void CRagEffect::Hit2(int option) {
}
}
// OFFSET: 0x00C191D0
// OFFSET: 0x00C191D0
// FUNCTION: fn_20065
void CRagEffect::Hit3() {
@ -1608,8 +1600,6 @@ bool CRagEffect::Aspersio() {
return true;
}
// OFFSET: 0x00C0B910
// OFFSET: 0x00C0B910
// FUNCTION: fn_20017
void CRagEffect::Bash() {
@ -1754,8 +1744,6 @@ static __forceinline void SpawnBottomQuad(CRagEffect& effect, const vector3d& ve
quad.textures[0] = g_texMgr.Load("effect\\magic_violet.tga", 0, false, true, false);
}
// OFFSET: 0x00C0D630
// OFFSET: 0x00C0D630
// FUNCTION: fn_20022
void CRagEffect::Bottom2() {
@ -1858,8 +1846,6 @@ bool CRagEffect::ProcessEZ2STRC153A0() {
return this->ProcessEZ2STR(0.0f, -80.0f, 0.0f) ? true : false;
}
// OFFSET: 0x00C3C7E0
// OFFSET: 0x00C3C7E0
// FUNCTION: fn_20111
void CRagEffect::Steal() {
@ -2153,8 +2139,6 @@ void CRagEffect::SetStateDuration(int duration) {
this->state.duration = duration;
}
// OFFSET: 0x00C39EC0
// OFFSET: 0x00C39EC0
// FUNCTION: fn_20103
bool CRagEffect::Signum() {
@ -3317,8 +3301,6 @@ void CRagEffect::TexturedScatterLow(const char* name, char flag) {
}
}
// OFFSET: 0x00C6E370
// OFFSET: 0x00C6E370
// FUNCTION: fn_20302
void CRagEffect::TorchDustRing(const char* name, char kind, std::int16_t angle) {
@ -3563,8 +3545,6 @@ void CRagEffect::BlackMaximize(const char* name) {
this->state.unknown_11C84->slots[0].flag1[0] = 1;
}
// OFFSET: 0x00C3F7A0
// OFFSET: 0x00C3F7A0
// FUNCTION: fn_20121
void CRagEffect::WaterBallBurst() {
@ -9405,8 +9385,6 @@ void CRagEffect::AlphaDownRipples(const char* name, char kind) {
Owner(this->state.unknown_11C84).InitSegment();
}
// OFFSET: 0x00C0E820
// OFFSET: 0x00C0E820
// FUNCTION: fn_20027
bool CRagEffect::Coin() {
@ -9451,8 +9429,6 @@ bool CRagEffect::Coin() {
return this->state.stateCnt < 100;
}
// OFFSET: 0x00C0EBE0
// OFFSET: 0x00C0EBE0
// FUNCTION: fn_20028
void CRagEffect::ColdHit() {
@ -9725,8 +9701,6 @@ void CRagEffect::SakuraFireArrow() {
Owner(this->state.unknown_11C84).InitSegment();
}
// OFFSET: 0x00C6E370
// OFFSET: 0x00C6D890
// FUNCTION: fn_20300
void CRagEffect::BeginSpellSwirl(int, const char*, char alpha) {
@ -12633,8 +12607,6 @@ void CRagEffect::Bottom_Music(const char* name, char kind) {
}
}
// OFFSET: 0x00C1A5C0
// OFFSET: 0x00C1A5C0
// FUNCTION: fn_20069
void CRagEffect::HitDark() {
@ -13496,8 +13468,6 @@ void CRagEffect::Detoxication() {
Owner(this->state.unknown_11C84).InitSegment();
}
// OFFSET: 0x00C112D0
// OFFSET: 0x00C112D0
// FUNCTION: fn_20037
void CRagEffect::EnchantPoison2() {
@ -14363,7 +14333,6 @@ void CRagEffect::BlueRingWave() {
this->state.unknown_11C84->slots[3].process = 0;
this->state.unknown_11C84->slots[3].alphaT = 1;
}
// OFFSET: 0x00C526D0
// OFFSET: 0x00C4A650
// FUNCTION: fn_20170
void CRagEffect::QuadRingStack(const char* name) {
@ -14636,8 +14605,6 @@ void CRagEffect::QuadRingStackSized(const char* name, char kind) {
}
}
// OFFSET: 0x00C5CC00
// OFFSET: 0x00C649E0
// FUNCTION: fn_20263
void CRagEffect::sub_C649E0() {
@ -15467,8 +15434,6 @@ bool CRagEffect::StormGust() {
return this->ProcessEZ2STR(0.0f, -80.0f, 0.0f) ? true : false;
}
// OFFSET: 0x00C0F7E0
// OFFSET: 0x00C0F7E0
// FUNCTION: fn_20031
void CRagEffect::DecAgility() {
@ -17362,8 +17327,6 @@ void CPlayer::RefreshEffect164() {
this->unknown_0544 = this->LaunchEffect(164, vector3d{0.0f, 0.0f, 0.0f}, 0.0f);
}
// OFFSET: 0x00C40DF0
// OFFSET: 0x00C4FAB0
// FUNCTION: fn_20183
void CRagEffect::PortalRings() {

View file

@ -87,7 +87,6 @@ CUserHotkeyMgr* g_userHotkeyMgr;
CUserHotkeyMgr::CUserHotkeyMgr() : m_enabled(true), m_loaded(false), m_changes(0), m_version2(false) {
}
// OFFSET: 0x005F7CE0
CUserHotkeyMgr::~CUserHotkeyMgr() = default;
// OFFSET: 0x005F7F70

View file

@ -3,7 +3,6 @@
#include "Contents/Actors/RenderObject.h"
// OFFSET: 0x00CA8EE0
// OFFSET: 0x00CA9260
// FUNCTION: fn_20997
CInstantVar::~CInstantVar() = default;
@ -13,7 +12,6 @@ void CInstantVar::Set(int key, std::int64_t value) {
this->m_values[key] = value;
}
// OFFSET: 0x0091BE20
std::int64_t CInstantVar::Get(int key) const {
const auto entry = this->m_values.find(key);
return entry == this->m_values.end() ? 0 : entry->second;

View file

@ -909,8 +909,6 @@ int ITEM_INFO::Apprentice(char* output, int& capacity, unsigned char consume) co
return written;
}
// OFFSET: 0x006D70A0
// OFFSET: 0x006D70A0
// FUNCTION: fn_06589
int ITEM_INFO::Refine(char* output, int& capacity, unsigned char consume) const {

View file

@ -4,22 +4,22 @@
#include <new>
// OFFSET: 0x006C7720
// OFFSET: 0x006C7920
// OFFSET: 0x006C7B30
// OFFSET: 0x006C7D40
// OFFSET: 0x006C7F60
// OFFSET: 0x006C8180
// OFFSET: 0x006C83A0
// OFFSET: 0x006C85D0
// OFFSET: 0x006C8810
// FUNCTION: fn_06421
// OFFSET: 0x006C7920
// FUNCTION: fn_06422
// OFFSET: 0x006C7B30
// FUNCTION: fn_06423
// OFFSET: 0x006C7D40
// FUNCTION: fn_06424
// OFFSET: 0x006C7F60
// FUNCTION: fn_06425
// OFFSET: 0x006C8180
// FUNCTION: fn_06426
// OFFSET: 0x006C83A0
// FUNCTION: fn_06427
// OFFSET: 0x006C85D0
// FUNCTION: fn_06428
// OFFSET: 0x006C8810
// FUNCTION: fn_06429
template <typename... Groups>
void CJobCodeForItem::AddJobCodeFromGroups(unsigned long code, Groups... groups) {
@ -53,18 +53,18 @@ template void CJobCodeForItem::AddJobCodeFromGroups(unsigned long, int, int);
template void CJobCodeForItem::AddJobCodeFromGroups(unsigned long, int);
// OFFSET: 0x006C8A50
// OFFSET: 0x006C8B10
// OFFSET: 0x006C8BD0
// OFFSET: 0x006C8CB0
// OFFSET: 0x006C8D90
// OFFSET: 0x006C8F60
// OFFSET: 0x006C9050
// FUNCTION: fn_06430
// OFFSET: 0x006C8B10
// FUNCTION: fn_06431
// OFFSET: 0x006C8BD0
// FUNCTION: fn_06432
// OFFSET: 0x006C8CB0
// FUNCTION: fn_06433
// OFFSET: 0x006C8D90
// FUNCTION: fn_06434
// OFFSET: 0x006C8F60
// FUNCTION: fn_06435
// OFFSET: 0x006C9050
// FUNCTION: fn_06436
template <typename... Jobs>
void CJobCodeForItem::AddJobCode(unsigned long code, Jobs... jobs) {
@ -88,20 +88,20 @@ template void CJobCodeForItem::AddJobCode(unsigned long, JobId, JobId);
template void CJobCodeForItem::AddJobCode(unsigned long, JobId);
// OFFSET: 0x006C9270
// OFFSET: 0x006C9350
// OFFSET: 0x006C9430
// OFFSET: 0x006C9510
// OFFSET: 0x006C9600
// OFFSET: 0x006C96F0
// OFFSET: 0x006C98F0
// OFFSET: 0x006C9A00
// FUNCTION: fn_06437
// OFFSET: 0x006C9350
// FUNCTION: fn_06438
// OFFSET: 0x006C9430
// FUNCTION: fn_06439
// OFFSET: 0x006C9510
// FUNCTION: fn_06440
// OFFSET: 0x006C9600
// FUNCTION: fn_06441
// OFFSET: 0x006C96F0
// FUNCTION: fn_06442
// OFFSET: 0x006C98F0
// FUNCTION: fn_06443
// OFFSET: 0x006C9A00
// FUNCTION: fn_06444
template <typename... Jobs>
void CJobCodeForItem::AddJobGroup(unsigned int group, Jobs... jobs) {

View file

@ -3151,8 +3151,6 @@ int __stdcall sub_6A8350(lua_State* state) {
return 0;
}
// OFFSET: 0x006A8410
// OFFSET: 0x006A84D0
// FUNCTION: fn_06102
int __stdcall sub_6A84D0(lua_State* state) {
@ -3183,8 +3181,6 @@ int __stdcall sub_6A8650(lua_State* state) {
return 0;
}
// OFFSET: 0x006A8710
// OFFSET: 0x006A87D0
// FUNCTION: fn_06106
int __stdcall sub_6A87D0(lua_State* state) {
@ -3315,10 +3311,6 @@ int __stdcall sub_6A90D0(lua_State* state) {
return 0;
}
// OFFSET: 0x006A8410
// OFFSET: 0x006A8710
// OFFSET: 0x006A9190
// FUNCTION: fn_06119
int __stdcall sub_6A9190(lua_State* state) {
@ -5505,12 +5497,6 @@ void CSession::UpdateRandomStats() {
}
}
// OFFSET: 0x00DD8380
// OFFSET: 0x00DD8450
// OFFSET: 0x00DD8540
// OFFSET: 0x00DD85A0
// FUNCTION: fn_23308
void ClearMemberFlags(std::uint32_t* flags) {
@ -5528,8 +5514,6 @@ void CSession::ResetEquipment() {
g_windowMgr.InvalidateFrames();
}
// OFFSET: 0x00DD8660
// OFFSET: 0x00DD8750
// FUNCTION: fn_23311
void CSession::ResetSlots() {

View file

@ -20,14 +20,12 @@ C3dNode::~C3dNode() {
// FUNCTION: fn_17465
C3dNodeV1::C3dNodeV1() = default;
// OFFSET: 0x00AB6BA0
C3dNodeV1::~C3dNodeV1() = default;
// OFFSET: 0x00AB5EA0
// FUNCTION: fn_17466
C3dNodeV2::C3dNodeV2() = default;
// OFFSET: 0x00AB6C50
C3dNodeV2::~C3dNodeV2() = default;
// OFFSET: 0x00AB7040

View file

@ -4,8 +4,8 @@
#include <cmath>
// OFFSET: 0x00554CD0
// OFFSET: 0x00554B90
// FUNCTION: fn_02030
// OFFSET: 0x00554B90
// FUNCTION: fn_02029
void QuaternionMatrix(const ModelRotationKey& key, matrix& output) {
const float x = key.rotation[0];

View file

@ -11,6 +11,5 @@ CAdvenPartyInfo::CAdvenPartyInfo()
CAdvenPartyInfo::CAdvenPartyInfo(const CAdvenPartyInfo& other) = default;
// OFFSET: 0x005739D0
// OFFSET: 0x00573AA0
// FUNCTION: fn_02494
CAdvenPartyInfo::~CAdvenPartyInfo() = default;

View file

@ -26,7 +26,6 @@ CAdventurerAgencyMgr::CAdventurerAgencyMgr() : enabled(true), registered(false),
}
// OFFSET: 0x005CA880
// OFFSET: 0x005CA8D0
// FUNCTION: fn_03650
CAdventurerAgencyMgr::~CAdventurerAgencyMgr() = default;

View file

@ -16,7 +16,6 @@ CPlayerNameDictionary::CPlayerNameDictionary() : m_enabled(true) {
CPlayerNameDictionary::~CPlayerNameDictionary() {
}
// OFFSET: 0x0060AFB0
// OFFSET: 0x0060B010
// FUNCTION: fn_04262
std::string CPlayerNameDictionary::Lookup(std::uint32_t id) {

View file

@ -127,10 +127,6 @@ bool JsonCppLoader::sub_50B830(std::map<int, ReputeInfoRecord>* out) {
return this->succeeded;
}
// OFFSET: 0x0060D060
// OFFSET: 0x0060D440
// OFFSET: 0x0060DC70
// FUNCTION: fn_04294
bool CReputeMgr::sub_60DC70(std::map<std::uint64_t, ReputeGroup>& groups) {

View file

@ -20,7 +20,7 @@ std::size_t SkillIdHash::operator()(std::uint32_t id) const {
CPlayerSkillBundle::lcEXCInfo::lcEXCInfo() {
}
// OFFSET: 0x00770E90
// OFFSET: 0x00770A30
// FUNCTION: fn_08260
CPlayerSkillBundle::lcEXCInfo::~lcEXCInfo() = default;
@ -30,7 +30,6 @@ CPlayerSkillBundle::CPlayerSkillBundle() : index(8) {
}
// OFFSET: 0x00770830
// OFFSET: 0x00770D40
// FUNCTION: fn_08258
CPlayerSkillBundle::~CPlayerSkillBundle() = default;

View file

@ -215,8 +215,6 @@ void CSkillAction_SS_ANTENPOU::Slot11(int level, CGameActor* source, CGameActor*
}
}
// OFFSET: 0x00795D60
// OFFSET: 0x00795EE0
// FUNCTION: fn_08800
int CSkillAction_SS_KAGEAKUMU::Slot01() {
@ -238,8 +236,6 @@ void CSkillAction_SS_KAGEAKUMU::Slot08(int level, CGameActor* source) {
}
}
// OFFSET: 0x00795F00
// OFFSET: 0x00795F60
// FUNCTION: fn_08803
void CSkillAction_SS_KAGEAKUMU::Slot15(int level, CGameActor* source, CGameActor* target) {
@ -269,8 +265,6 @@ void CSkillAction_SS_HITOUAKUMU::Slot08(int level, CGameActor* source) {
}
}
// OFFSET: 0x007960E0
// OFFSET: 0x00796140
// FUNCTION: fn_08807
void CSkillAction_SS_HITOUAKUMU::Slot11(int level, CGameActor* source, CGameActor* target) {
@ -319,8 +313,6 @@ void CSkillAction_SS_ANKOKURYUUAKUMU::Slot08(int level, CGameActor* source) {
}
}
// OFFSET: 0x007964B0
// OFFSET: 0x00796510
// FUNCTION: fn_08811
void CSkillAction_SS_ANKOKURYUUAKUMU::Slot11(int level, CGameActor* source, CGameActor* target) {

View file

@ -18,7 +18,6 @@ CMCStoreInfoBackup::CMCStoreInfoBackup() : enabled(true), loaded(false), pending
}
// OFFSET: 0x00605D70
// OFFSET: 0x00605DF0
// FUNCTION: fn_04227
CMCStoreInfoBackup::~CMCStoreInfoBackup() = default;

View file

@ -87,7 +87,6 @@ CTableMng::CTableMng() {
this->m_entryQueue.clear();
}
// OFFSET: 0x00CA35B0
CTableMng::~CTableMng() {
this->Clear();
}

View file

@ -100,6 +100,7 @@ CTipBoxMgr::CTipBoxMgr()
// INLINED
CTipBoxMgr::~CTipBoxMgr() = default;
// OFFSET: 0x007AC710
// FUNCTION: fn_09122
void CTipBoxMgr::AddParagraph(int id, std::string text) {
for (;;) {
@ -113,6 +114,7 @@ void CTipBoxMgr::AddParagraph(int id, std::string text) {
this->m_entries[id].paragraphs.push_back(std::move(text));
}
// OFFSET: 0x007AC990
// FUNCTION: fn_09123
bool CTipBoxMgr::Create() {
if (g_itemTagOwner) {
@ -133,6 +135,7 @@ bool CTipBoxMgr::Create() {
return true;
}
// OFFSET: 0x007ACB20
// FUNCTION: fn_09124
void CTipBoxMgr::Destroy() {
if (g_itemTagOwner) {
@ -141,6 +144,7 @@ void CTipBoxMgr::Destroy() {
}
}
// OFFSET: 0x007ACB40
// FUNCTION: fn_09125
TipBoxEntry& CTipBoxMgr::SelectRandomTip() {
this->m_randomList.clear();
@ -161,6 +165,7 @@ TipBoxEntry& CTipBoxMgr::SelectRandomTip() {
return this->m_currentEntry;
}
// OFFSET: 0x007ACC00
// FUNCTION: fn_09126
const TipBoxEntry& CTipBoxMgr::GetTip(int id) const {
const auto it = this->m_entries.find(id);

View file

@ -258,8 +258,8 @@ void WorldSpatialTree::RefreshBounds(int depth) {
}
// OFFSET: 0x00AC84F0
// OFFSET: 0x00AC86B0
// FUNCTION: fn_17673
// OFFSET: 0x00AC86B0
// FUNCTION: fn_17676
void WorldSpatialTree::InsertModel(C3dActor& model, int depth) {
if (depth == 5) {

View file

@ -10,6 +10,7 @@
#include <share.h>
#include <windows.h>
// OFFSET: 0x00AF6960
// FUNCTION: fn_18255
bool CreateDirectoryPath(std::string path) {
if (path.empty()) {
@ -32,6 +33,7 @@ bool CreateDirectoryPath(std::string path) {
return true;
}
// OFFSET: 0x00AF6EA0
// FUNCTION: fn_18256
std::string CreateUniqueFileName(const std::string& filename) {
char drive[MAX_PATH]{};

View file

@ -2,6 +2,7 @@
#include <windows.h>
// OFFSET: 0x00AF5080
// FUNCTION: fn_18246
void EnumerateFileNames(std::list<std::string>& names, const char* directory, const char* pattern) {
std::string search(directory);
@ -22,6 +23,7 @@ void EnumerateFileNames(std::list<std::string>& names, const char* directory, co
FindClose(handle);
}
// OFFSET: 0x00AF5510
// FUNCTION: fn_18247
void EnumerateFileNames(std::vector<std::string>& names, const char* directory, const char* pattern) {
std::string search(directory);

View file

@ -23,7 +23,6 @@ CConnection::CConnection() : m_socket(INVALID_SOCKET), m_deferred(0), m_sendDead
// OFFSET: 0x00C7C280
// FUNCTION: fn_20384
// OFFSET: 0x00C7C2F0
CConnection::~CConnection() = default;
// OFFSET: 0x00C7C1C0
@ -31,8 +30,6 @@ CConnection::~CConnection() = default;
CRagConnection::CRagConnection() : unknown_006C(0) {
}
// OFFSET: 0x00C7C370
// OFFSET: 0x00C7C4D0
// FUNCTION: fn_20389
bool CConnection::Connect(const ConnectionEndpoint& endpoint) {

View file

@ -16,7 +16,6 @@ CCURLPostHander::CCURLPostHander(std::string url)
}
// OFFSET: 0x005E9710
// OFFSET: 0x005E97D0
// FUNCTION: fn_03956
CCURLPostHander::~CCURLPostHander() {
if (this->m_easy) {

View file

@ -144,6 +144,7 @@ std::string ToUtf8(const std::string& text, UINT codePage) {
return result;
}
// OFFSET: 0x00AF7110
// FUNCTION: fn_18257
void LowercaseText(std::string& text) {
for (unsigned index = 0; index < text.size(); ++index) {
@ -155,6 +156,7 @@ void LowercaseText(std::string& text) {
}
}
// OFFSET: 0x00AF7450
// FUNCTION: fn_18258
std::wstring DecodeText(UINT codePage, const std::string& text) {
const int length = MultiByteToWideChar(codePage, 0, text.data(), static_cast<int>(text.size()), nullptr, 0);
@ -174,6 +176,7 @@ std::wstring DecodeText(UINT codePage, const std::string& text) {
return result;
}
// OFFSET: 0x00AF8930
// FUNCTION: fn_18265
std::string EncodeText(UINT codePage, const std::wstring& text) {
const int length = WideCharToMultiByte(codePage, 0, text.c_str(), -1, nullptr, 0, nullptr, nullptr);

View file

@ -80,8 +80,8 @@ void CRendererDX7::DrawPrimitive(RenderCommand* primitive) {
}
// OFFSET: 0x0055AD00
// OFFSET: 0x0055AD50
// FUNCTION: fn_02083
// OFFSET: 0x0055AD50
// FUNCTION: fn_02084
void CRendererDX7::DrawLightmappedPrimitive(LightmappedPrimitive* primitive) {
if (primitive->vertexCount <= 0) {

View file

@ -62,7 +62,6 @@ CSurfaceDX7::CSurfaceDX7(DeviceOwnerDX7& owner, IDirectDrawSurface7* surface) :
}
// OFFSET: 0x00542DC0
// OFFSET: 0x00542E60
// FUNCTION: fn_01779
CSurfaceDX7::~CSurfaceDX7() {
if (this->m_surface) {

View file

@ -117,7 +117,6 @@ std::unique_ptr<CTextureDX7> CreateTextureDX7(DeviceOwnerDX7*& owner) {
}
// OFFSET: 0x00543DC0
// OFFSET: 0x00543E30
// FUNCTION: fn_01809
CTextureDX7::~CTextureDX7() {
if (this->m_surface) {
@ -340,14 +339,12 @@ void CTextureDX7::Fill(const RECT* rectangle, std::uint32_t color) {
}
}
// OFFSET: 0x00544410
void CTextureDX7::Draw(int x, int y, int width, int height, std::uint32_t color) {
this->DrawTo(
g_renderer->primitives, g_renderer->queues, x, y, width, height, color, g_renderer->fog.supported != 0, g_depthStart, g_depthEnd
);
}
// OFFSET: 0x00544610
void CTextureDX7::Stretch(int x, int y, int width, int height) {
this->StretchTo(
g_renderer->primitives, g_renderer->queues, x, y, width, height, g_renderer->fog.supported != 0, g_depthStart, g_depthEnd

View file

@ -11,7 +11,6 @@ CRenderSystemDX9::CRenderSystemDX9() : m_device(new DeviceOwnerDX9), m_defaultTe
}
// OFFSET: 0x0056D180
// OFFSET: 0x0056D320
// FUNCTION: fn_02355
CRenderSystemDX9::~CRenderSystemDX9() {
delete this->m_device;

View file

@ -19,7 +19,6 @@ CRendererDX9::CRendererDX9(DeviceOwnerDX9& owner)
}
// OFFSET: 0x00564FE0
// OFFSET: 0x00565070
// FUNCTION: fn_02210
CRendererDX9::~CRendererDX9() = default;

View file

@ -202,7 +202,6 @@ SurfaceLock CTextureDX9::Lock() {
}
// OFFSET: 0x00572D50
// OFFSET: 0x005737A0
// FUNCTION: fn_02482
void CTextureDX9::Filter() {
if (!this->m_dynamic && !this->m_renderTarget && this->m_texture && this->m_texture->GetLevelCount() > 1) {
@ -494,14 +493,12 @@ bool CTextureDX9::CopyTexture(CTexture* source, int sourceX, int sourceY, int so
return true;
}
// OFFSET: 0x00544410
void CTextureDX9::Draw(int x, int y, int width, int height, std::uint32_t color) {
this->DrawTo(
g_renderer->primitives, g_renderer->queues, x, y, width, height, color, g_renderer->fog.supported != 0, g_depthStart, g_depthEnd
);
}
// OFFSET: 0x00544610
void CTextureDX9::Stretch(int x, int y, int width, int height) {
this->StretchTo(
g_renderer->primitives, g_renderer->queues, x, y, width, height, g_renderer->fog.supported != 0, g_depthStart, g_depthEnd

View file

@ -5,7 +5,6 @@
CDCBitmap::CDCBitmap(int width, int height) : m_bitmap(width, height) {
}
// OFFSET: 0x00545B20
CDCBitmap::~CDCBitmap() = default;
// OFFSET: 0x00569E90
@ -24,7 +23,6 @@ void CDCBitmap::UploadTexture(CRenderSystemBase& system, CTexture*& texture) {
this->m_bitmap.UploadTexture(system, texture);
}
// OFFSET: 0x00547D40
void CDCBitmap::Grow(std::uint32_t width, std::uint32_t height) {
if (width > this->m_bitmap.width || height > this->m_bitmap.height) {
this->m_cache.Clear();
@ -32,17 +30,14 @@ void CDCBitmap::Grow(std::uint32_t width, std::uint32_t height) {
}
}
// OFFSET: 0x00547D10
bool CDCBitmap::GetDC(HDC* output) {
return this->m_bitmap.GetDC(output);
}
// OFFSET: 0x00547D30
void CDCBitmap::ReleaseDC(HDC dc) {
this->m_bitmap.ReleaseDC(dc);
}
// OFFSET: 0x00548230
void CDCBitmap::Copy(int x, int y, int width, int height, const std::uint32_t* source, bool transparent) {
this->m_bitmap.Copy(x, y, width, height, source, transparent);
}
@ -69,12 +64,10 @@ void CDCBitmap::SetAlpha(unsigned char maxLuminance) {
}
}
}
// OFFSET: 0x00547D80
void CDCBitmap::ScaleCopy(int x, int y, int sourceWidth, int sourceHeight, int width, int height, const std::uint32_t* source, int option) {
this->m_bitmap.ScaleCopy(x, y, sourceWidth, sourceHeight, width, height, source, option);
}
// OFFSET: 0x00548780
void CDCBitmap::CopyRegion(
int x, int y, int sourceLeft, int sourceTop, int sourceRight, int sourceBottom, const std::uint32_t* source, int sourceWidth, int sourceHeight,
bool transparent, bool alpha
@ -82,34 +75,28 @@ void CDCBitmap::CopyRegion(
this->m_bitmap.CopyRegion(x, y, sourceLeft, sourceTop, sourceRight, sourceBottom, source, sourceWidth, sourceHeight, transparent, alpha);
}
// OFFSET: 0x00547790
void CDCBitmap::CopyFrom(int x, int y, int sourceX, int sourceY, int width, int height, const CDCBitmap& source) {
this->m_bitmap.CopyFrom(x, y, sourceX, sourceY, width, height, source.m_bitmap);
}
// OFFSET: 0x00547840
void CDCBitmap::BlendFrom(std::uint32_t x, std::uint32_t y, int width, int height, const CDCBitmap& source) {
this->m_bitmap.BlendFrom(x, y, width, height, source.m_bitmap, source.m_cache.m_alpha);
}
// OFFSET: 0x00545E20
void CDCBitmap::DrawRleSprite(
int x, int y, std::span<const SpriteFrameCell> cells, const SpriteRleImage* const* const* images, const std::uint32_t* palette, int cellCount
) {
this->m_bitmap.DrawRleSprite(x, y, cells, images, palette, cellCount);
}
// OFFSET: 0x00547460
void CDCBitmap::Fill(const RECT* rectangle, std::uint32_t color) {
this->m_bitmap.Fill(rectangle, color);
}
// OFFSET: 0x00547B80
void CDCBitmap::Draw(CRenderSystemBase& system, int x, int y, int width, int height, std::uint32_t color) {
this->m_cache.Draw(this->m_bitmap, system, x, y, width, height, color);
}
// OFFSET: 0x00545C40
void CDCBitmap::DrawScaledSprite(
int x, int y, int width, int height, std::span<const SpriteFrameCell> cells, const SpriteRleImage* const* const* images, int cellCount, int offsetX,
int offsetY, float scale, const std::uint32_t* palette, SpriteAtlas& atlas, CRenderSystemBase& system, int serviceType, std::uint32_t reuseDelay
@ -117,7 +104,6 @@ void CDCBitmap::DrawScaledSprite(
this->m_bitmap.DrawScaledSprite(x, y, width, height, cells, images, cellCount, offsetX, offsetY, scale, palette, atlas, system, serviceType, reuseDelay);
}
// OFFSET: 0x005469E0
void CDCBitmap::DrawScaledSurface(
int x, int y, int width, int height, CSurface* source, int sourceWidth, int sourceHeight, float scaleX, float scaleY, std::uint32_t color, bool mirrored,
int offsetX, int offsetY, int sourceX, int sourceY
@ -125,12 +111,10 @@ void CDCBitmap::DrawScaledSurface(
this->m_bitmap.DrawScaledSurface(x, y, width, height, source, sourceWidth, sourceHeight, scaleX, scaleY, color, mirrored, offsetX, offsetY, sourceX, sourceY);
}
// OFFSET: 0x005489F0
void CDCBitmap::Brighten(int x, int y, int width, int height, int amount) {
this->m_bitmap.Brighten(x, y, width, height, amount);
}
// OFFSET: 0x00548650
void CDCBitmap::Dim(int x, int y, int width, int height, int percent) {
this->m_bitmap.Dim(x, y, width, height, percent);
}

View file

@ -184,7 +184,6 @@ CDCSurface::CDCSurface(std::shared_ptr<CSurface> surface) : m_surface(std::move(
}
// OFFSET: 0x005490D0
// OFFSET: 0x00549180
// FUNCTION: fn_01865
CDCSurface::~CDCSurface() = default;

View file

@ -1,6 +1,5 @@
#include "Render/DeviceContext/DeviceContext.h"
// OFFSET: 0x005459E0
// OFFSET: 0x00545AF0
// FUNCTION: fn_01834
CDC::~CDC() = default;

View file

@ -11,7 +11,6 @@ UIRPData::UIRPData() : m_texture(nullptr) {
}
// OFFSET: 0x00812800
// OFFSET: 0x008128E0
// FUNCTION: fn_10118
UIRPData::~UIRPData() {
delete this->m_texture;

View file

@ -11,7 +11,6 @@ class CTexture;
class CRenderSystemBase {
public:
// OFFSET: 0x0056B4D0
virtual ~CRenderSystemBase() = default;
virtual std::int32_t Backend() = 0;
virtual HRESULT Initialize(HWND window) = 0;

View file

@ -223,5 +223,4 @@ CRenderer::CRenderer() : frame(0), unknown_003C(0), unknown_0040(0), unknown_004
// OFFSET: 0x00562090
// FUNCTION: fn_02175
// OFFSET: 0x00562260
CRenderer::~CRenderer() = default;

View file

@ -23,7 +23,6 @@ CTexture::CTexture()
}
// OFFSET: 0x00572380
// OFFSET: 0x005723D0
// FUNCTION: fn_02465
CTexture::~CTexture() = default;

View file

@ -24,14 +24,12 @@ EZeffectClip::~EZeffectClip() {
}
}
// OFFSET: 0x0074CEE0
// OFFSET: 0x0074D570
// FUNCTION: fn_07893
CEZeffectRes::CEZeffectRes() : unknown_D320(0) {
}
// OFFSET: 0x0074D6F0
// OFFSET: 0x0074D330
// FUNCTION: fn_07895
CEZeffectRes::~CEZeffectRes() = default;

View file

@ -13,6 +13,7 @@ namespace {
static_assert(sizeof(GifLzwEntry) == 12);
}
// OFFSET: 0x0074A840
// FUNCTION: fn_07868
int __stdcall DecodeGifLzw(int minimumCodeSize, const unsigned char* input, int inputBytes, unsigned char* output) {
const int clearCode = 1 << minimumCodeSize;

View file

@ -71,7 +71,6 @@ C3dAnimModelRes* C3dAnimModelRes::Create() {
return new C3dAnimModelRes;
}
// OFFSET: 0x00752380
// OFFSET: 0x0075C710
// FUNCTION: fn_08023
void C3dAnimModelRes::Unload() {

View file

@ -34,7 +34,6 @@ unsigned char g_lowercaseTable[256] = {
0xF0, 0xF1, 0xF2, 0xF3, 0xF4, 0xF5, 0xF6, 0xF7, 0xF8, 0xF9, 0xFA, 0xFB, 0xFC, 0xFD, 0xFE, 0xFF,
};
// OFFSET: 0x00AECEE0
bool ResourceNameLess::operator()(const ResourceName* left, const ResourceName* right) const {
if (left->hash != right->hash) {
return left->hash < right->hash;

View file

@ -8,7 +8,6 @@ CGndRes::CGndRes() : loaded(0), width(0), height(0), cellSize(10.0f) {
}
// OFFSET: 0x0074E390
// OFFSET: 0x0074DD10
// FUNCTION: fn_07908
CGndRes::~CGndRes() = default;

View file

@ -3,15 +3,18 @@
#include <cstdlib>
#include <cstring>
// OFFSET: 0x00AFA470
// FUNCTION: fn_18291
XmlNode::XmlNode(const char* name) : name(name), unknown_0004(0), unknown_0008(0), sibling(nullptr), child(nullptr) {
}
// OFFSET: 0x00AFA500
// FUNCTION: fn_18292
XmlNode::~XmlNode() {
this->Clear();
}
// OFFSET: 0x00AFA590
// FUNCTION: fn_18293
XmlNode* XmlNode::AppendSibling(XmlNode* node) {
XmlNode* current = this;
@ -23,6 +26,7 @@ XmlNode* XmlNode::AppendSibling(XmlNode* node) {
return node;
}
// OFFSET: 0x00AFA5C0
// FUNCTION: fn_18294
void XmlDocument::Reset() {
this->Clear();
@ -32,6 +36,7 @@ void XmlDocument::Reset() {
}
}
// OFFSET: 0x00AFA5F0
// FUNCTION: fn_18295
void XmlNode::Clear() {
if (this->sibling != nullptr) {
@ -48,6 +53,7 @@ void XmlNode::Clear() {
this->unknown_0004 = 0;
}
// OFFSET: 0x00AFA6B0
// FUNCTION: fn_18296
XmlNode* XmlNode::FindChild(const char* name) {
XmlNode* first = this->child;
@ -62,6 +68,7 @@ XmlNode* XmlNode::FindChild(const char* name) {
return first->FindSibling(name);
}
// OFFSET: 0x00AFA710
// FUNCTION: fn_18297
XmlNode* XmlNode::FindSibling(const char* name) {
for (XmlNode* current = this->sibling; current != nullptr; current = current->sibling) {

View file

@ -179,8 +179,6 @@ void CNProtectGameGuardMgr::SetError(const char*, int, std::string message) {
void CNProtectGameGuardMgr::Send(const char*) {
}
// OFFSET: 0x0076C4C0
// OFFSET: 0x0076D910
// FUNCTION: fn_08219
int __stdcall sub_76D910(int code, const int* packet) {

View file

@ -273,7 +273,6 @@ UIItemCollectionWnd::~UIItemCollectionWnd() {
g_windowMgr.CloseWindow(276);
}
// OFFSET: 0x008CC430
UIChooseSellBuyWnd::~UIChooseSellBuyWnd() = default;
// INLINED
@ -2345,8 +2344,6 @@ void UINpcTextEditDialogWnd::InsertItemTag(const ITEM_INFO& item) {
this->m_tagCtrl->sub_89CFE0(item, 0x12B8A4);
}
// OFFSET: 0x008DA690
// OFFSET: 0x008DACF0
// FUNCTION: fn_12149
void UINpcTextEditDialogWnd::InsertSkillTag(int tagId) {
@ -4164,8 +4161,6 @@ void UISkillNameChangeWnd::Slot15(int, int) {
this->m_message0 = 184;
}
// OFFSET: 0x008E9C90
// OFFSET: 0x008EA780
// FUNCTION: fn_12205
void UIToolTipWnd::Slot15(int width, int height) {
@ -7345,8 +7340,6 @@ UIItemCollection_ComparisonWnd::UIItemCollection_ComparisonWnd()
: UIItemCollectionWnd() {
}
// OFFSET: 0x008C6FA0
// OFFSET: 0x008C7070
// FUNCTION: fn_11927
UICardItemIllustWnd::UICardItemIllustWnd()
@ -7483,8 +7476,6 @@ UISkillNameChangeWnd::UISkillNameChangeWnd()
: UIFrameWnd(0) {
}
// OFFSET: 0x008C91F0
// OFFSET: 0x008C7710
// FUNCTION: fn_11937
UICoupleAcceptWnd::UICoupleAcceptWnd()
@ -7835,8 +7826,6 @@ void UIPartyInvitationToWnd::Slot15(int, int) {
g_windowMgr.SetFocus(this->m_edit);
}
// OFFSET: 0x008E60A0
// OFFSET: 0x008F95F0
// FUNCTION: fn_12339
int UICoupleAcceptWnd::SendMsg(UIWindow* sender, int message, std::intptr_t a, std::intptr_t b, std::intptr_t c, std::intptr_t d) {
@ -8305,6 +8294,7 @@ void UIPasswordWnd::Slot15(int, int) {
this->geometry.unknown_0030 = 0;
this->unknown_00BC = 0;
}
// OFFSET: 0x008C91F0
// FUNCTION: fn_11978
UIStatusWnd::UIStatusWnd()
: UIFrameWnd(0) {
@ -9639,8 +9629,6 @@ UIMakingArrowListWnd::UIMakingArrowListWnd()
: UIItemIdentifyWnd() {
}
// OFFSET: 0x008C8A50
// OFFSET: 0x008D4320
// FUNCTION: fn_12107
std::vector<unsigned char> UIChooseWarpWnd::Slot44() {
@ -9768,6 +9756,7 @@ void UILoadingWnd::Slot15(int, int) {
ResourceMgr::Instance().Load(Resolve(name));
g_windowMgr.SetSurface0478(static_cast<CBitmapRes*>(ResourceMgr::Instance().Load(Resolve(name))));
}
// OFFSET: 0x008C8A50
// FUNCTION: fn_11966
UIPetEggListWnd::UIPetEggListWnd()
: UIItemIdentifyWnd() {
@ -10469,8 +10458,6 @@ void UITipboxWnd::Slot15(int width, int) {
this->unknown_00D0->Invalidate();
}
// OFFSET: 0x008E60A0
// OFFSET: 0x008F1430
// FUNCTION: fn_12254
void UIStorePasswordInputWnd::Paint() {
@ -11514,8 +11501,6 @@ void UIBookWnd::Slot19() {
int ParseItemIdTag(const char* text, const char* end, int& length, int& itemId);
// OFFSET: 0x008F8ED0
// OFFSET: 0x008F2DF0
// FUNCTION: fn_12262
void UITipboxWnd::PaintAnimations() {
@ -11875,8 +11860,6 @@ int UIChooseWnd::SendMsg(UIWindow* sender, int message, std::intptr_t a, std::in
}
}
// OFFSET: 0x008FD640
// OFFSET: 0x008F8640
// FUNCTION: fn_12331
int UIChoose3Wnd::SendMsg(UIWindow* sender, int message, std::intptr_t a, std::intptr_t b, std::intptr_t c, std::intptr_t d) {

View file

@ -22,7 +22,7 @@ UIExchangeAcceptWnd::UIExchangeAcceptWnd()
: UIChooseSellBuyWnd(), saved(nullptr) {
}
// OFFSET: 0x008CC9C0
// OFFSET: 0x008CAAE0
// FUNCTION: fn_11996
UIExchangeAcceptWnd::~UIExchangeAcceptWnd() = default;

View file

@ -16,7 +16,6 @@ UIJoinPartyAcceptWnd::UIJoinPartyAcceptWnd()
: UIExchangeAcceptWnd() {
}
// OFFSET: 0x008CCEE0
UIJoinPartyAcceptWnd::~UIJoinPartyAcceptWnd() = default;
// OFFSET: 0x008FE780

View file

@ -66,8 +66,8 @@ template <> AdventureGuide::CUISubTab* CUIListBox<AdventureGuide::CUISubTab>::Cr
template <> AdventureGuide::CUITab* CUIListBox<AdventureGuide::CUITab>::CreateItem();
// OFFSET: 0x009C28B0
// OFFSET: 0x009C2980
// FUNCTION: fn_13993
// OFFSET: 0x009C2980
// FUNCTION: fn_13994
template <class T> void CUIListBox<T>::Slot15(int width, int height) {
this->scrollBar = new CUIVScrollBar();
@ -91,12 +91,12 @@ template void CUIListBox<AdventureGuide::CUISubTab>::Slot15(int, int);
template void CUIListBox<AdventureGuide::CUITab>::Slot15(int, int);
// OFFSET: 0x009C2A50
// OFFSET: 0x009C2B20
// OFFSET: 0x009C2BF0
// OFFSET: 0x009C2CC0
// FUNCTION: fn_13995
// OFFSET: 0x009C2B20
// FUNCTION: fn_13996
// OFFSET: 0x009C2BF0
// FUNCTION: fn_13997
// OFFSET: 0x009C2CC0
// FUNCTION: fn_13998
template <class T, class D> void CUIListBoxEx<T, D>::Slot15(int width, int height) {
this->scrollBar = new CUIVScrollBar();

View file

@ -12,7 +12,6 @@ UIBasicButton::UIBasicButton() : UIButton(), invalidateParent(0) {
this->geometry.height = 20;
}
// OFFSET: 0x00852170
UIBasicButton::~UIBasicButton() = default;
// OFFSET: 0x00809910

View file

@ -9,7 +9,6 @@ UIBitmapButton::UIBitmapButton()
}
// OFFSET: 0x008511B0
// OFFSET: 0x00852220
// FUNCTION: fn_10689
UIBitmapButton::~UIBitmapButton() = default;

View file

@ -11,7 +11,6 @@
UIBmpTextButton::UIBmpTextButton() : UIBitmapButton() {
}
// OFFSET: 0x00852360
UIBmpTextButton::~UIBmpTextButton() = default;
// OFFSET: 0x007C2340

View file

@ -145,7 +145,6 @@ void UIButton::ResetCursor(int, int) {
}
// OFFSET: 0x0085EED0
// OFFSET: 0x03DE9C61
// FUNCTION: fn_10852
void UIButton::Slot31(int x, int y) {
if (this->m_disabled != 0) {

View file

@ -5,7 +5,6 @@
UIJobSlotButton::UIJobSlotButton() : UIBitmapButton(), selected(0) {
}
// OFFSET: 0x007BB6B0
UIJobSlotButton::~UIJobSlotButton() = default;
// OFFSET: 0x007BFC70

View file

@ -7,7 +7,6 @@
UINaviLinkButton::UINaviLinkButton() : UITextButton() {
}
// OFFSET: 0x00873A90
UINaviLinkButton::~UINaviLinkButton() = default;
// OFFSET: 0x00893050

View file

@ -64,7 +64,7 @@ int g_screenHeight;
UITextButton::UITextButton() : UIButton(), m_outlineColor(0xFFFFFF), m_value(0) {
}
// OFFSET: 0x00874690
// OFFSET: 0x00871D60
// FUNCTION: fn_11110
UITextButton::~UITextButton() = default;
@ -2447,8 +2447,6 @@ void UIComboBox::Paint() {
this->parent->Invalidate();
}
// OFFSET: 0x0088AEC0
// OFFSET: 0x0088F1C0
// FUNCTION: fn_11387
void UIStaticItem_Illust::Paint() {

View file

@ -13,7 +13,6 @@ void UITextureButton::Paint() {
}
// OFFSET: 0x0085F060
// OFFSET: 0x03DE9CE2
// FUNCTION: fn_10856
void UITextureButton::Slot31(int x, int y) {
if (this->m_disabled == 1) {

View file

@ -8,8 +8,6 @@ CooldownOwner::CooldownOwner() : m_initialized(false) {
this->m_initialized = true;
}
// OFFSET: 0x00CA60D0
// OFFSET: 0x00CA61A0
// FUNCTION: fn_20957
void CooldownOwner::Register(unsigned id, std::uint32_t duration, std::uint32_t start, std::uint32_t elapsed) {

View file

@ -226,7 +226,6 @@ UIEditCtrl::UIEditCtrl()
}
// OFFSET: 0x008517E0
// OFFSET: 0x00852980
// FUNCTION: fn_10694
UIEditCtrl::~UIEditCtrl() = default;
@ -463,8 +462,6 @@ void UIEditCtrl3::DrawBlinkingCaret(const std::uint32_t& color) {
this->DrawTextAt(1, 0, "|", 0, 0, 12, color, 0, 0);
}
// OFFSET: 0x00854130
// OFFSET: 0x00856F10
// FUNCTION: fn_10757
void UIEditCtrl3::PlaceTags(const int& x, const int& y, const int& firstLine, const int& endLine, const int& line, const int&) {
@ -523,7 +520,6 @@ UISkillListWnd::UISkillListWnd() : UIFrameWnd(0) {
UIEditCtrlWheel::UIEditCtrlWheel() : UIEditCtrl() {
}
// OFFSET: 0x009701B0
UIEditCtrlWheel::~UIEditCtrlWheel() = default;
// OFFSET: 0x0098A240
@ -9469,8 +9465,6 @@ void UIMerchantItemPurchaseWnd::Paint() {
}
}
// OFFSET: 0x00981EE0
// OFFSET: 0x00982A80
// FUNCTION: fn_13344
void UIMerchantShopMakeWnd::Paint() {
@ -10213,6 +10207,7 @@ bool UIEditCtrl3::LinkDisplayName(const std::string& encoded, std::string& outpu
return decoded;
}
// OFFSET: 0x00981EE0
// FUNCTION: fn_13342
void UIMerchantItemShopWnd::Paint() {
this->DrawTitleBar(false, "", 0);

View file

@ -27,7 +27,6 @@ UIEditCtrl2::UIEditCtrl2() : UIEditCtrl() {
}
// OFFSET: 0x008515E0
// OFFSET: 0x00852700
// FUNCTION: fn_10692
UIEditCtrl2::~UIEditCtrl2() = default;
@ -359,8 +358,8 @@ UIEditCtrl3::UIEditCtrl3(const UIEditCtrl3& other) : UIEditCtrl2(other) {
}
// OFFSET: 0x00851630
// OFFSET: 0x00852770
// FUNCTION: fn_10693
// OFFSET: 0x00852770
// FUNCTION: fn_10715
UIEditCtrl3::~UIEditCtrl3() {
this->ClearLineState();
@ -410,8 +409,6 @@ int UIWhisperEditCtrl::SendMsg(UIWindow* sender, int message, std::intptr_t a, s
return 0;
}
// OFFSET: 0x00867FC0
// OFFSET: 0x00853760
// FUNCTION: fn_10741
void UIEditCtrl_OldList::RecallHistory(int step) {
@ -747,12 +744,11 @@ int UIEditCtrl::MeasureText(const std::string& text, const int& bytes) {
return this->TextWidth(text.c_str(), bytes, 0, 12, 0, 0);
}
// OFFSET: 0x0084F7B0
// OFFSET: 0x0084F710
// FUNCTION: fn_10660
UIEditCtrl4::UIEditCtrl4() : UIEditCtrl(), placeholderColor(0xFFFFFFFFu), placeholderEnabled(0) {
}
// OFFSET: 0x00852870
UIEditCtrl4::~UIEditCtrl4() = default;
// OFFSET: 0x0085AA40
@ -808,7 +804,6 @@ void UIEditCtrl4::SetPlaceholderColor(std::uint32_t color) {
UIEditCtrl5::UIEditCtrl5() : UIEditCtrl4() {
}
// OFFSET: 0x008528F0
UIEditCtrl5::~UIEditCtrl5() = default;
// OFFSET: 0x00864140

View file

@ -53,8 +53,8 @@ template <>
CEnchantMgr* Singleton<CEnchantMgr>::s_instance = nullptr;
// OFFSET: 0x009F9B40
// OFFSET: 0x009F9C10
// FUNCTION: fn_14814
// OFFSET: 0x009F9C10
// FUNCTION: fn_14815
template <class T, class D> void CUIListBoxEx<T, D>::Slot15(int width, int height) {
this->scrollBar = new CUIVScrollBar();
@ -1297,8 +1297,6 @@ CUIListBoxEx<EnchantUI::CUITargetItem, ITEM_INFO>::CUIListBoxEx()
unknown_00E0(1), rebind(0) {
}
// OFFSET: 0x009F74E0
// OFFSET: 0x009F7670
// FUNCTION: fn_14774
template <>

View file

@ -65,8 +65,6 @@ int UIEntryQueueHelpWnd::SendMsg(UIWindow* sender, int message, std::intptr_t a,
UIEntryQueueListBox::UIEntryQueueListBox() : UIListBox() {
}
// OFFSET: 0x00BA43F0
// OFFSET: 0x00BA4490
// FUNCTION: fn_19686
void UIEntryQueueListBox::AddEntry(const char* name, int value) {
@ -101,8 +99,6 @@ UIEntryQueueRequestWnd::UIEntryQueueRequestWnd()
: UIFrameWnd(0), m_interval(1000), m_elapsed(0), m_delta(0), m_lastTick(0) {
}
// OFFSET: 0x00BA4870
// OFFSET: 0x00BA48E0
// FUNCTION: fn_19691
bool UIEntryQueueRequestWnd::Create() {
@ -229,8 +225,6 @@ UIEntryQueueStandByWnd::UIEntryQueueStandByWnd()
m_rankingText() {
}
// OFFSET: 0x00BA5680
// OFFSET: 0x00BA5700
// FUNCTION: fn_19698
bool UIEntryQueueStandByWnd::Create() {
@ -330,8 +324,6 @@ UIEntryQueueWnd::UIEntryQueueWnd()
: UIFrameWnd(0), m_applyButtons(), m_helpButton(nullptr), m_labels(), m_values(), m_list(nullptr), saved(nullptr) {
}
// OFFSET: 0x00BA6110
// OFFSET: 0x00BA6410
// FUNCTION: fn_19706
int UIEntryQueueWnd::SelectedIndex() {

View file

@ -215,12 +215,12 @@ void GameSettingsUI::CUIGroupSkin::Slot15(int width, int height) {
}
// OFFSET: 0x00A344D0
// OFFSET: 0x00A34500
// OFFSET: 0x00A34530
// OFFSET: 0x00A34560
// FUNCTION: fn_15407
// OFFSET: 0x00A34500
// FUNCTION: fn_15408
// OFFSET: 0x00A34530
// FUNCTION: fn_15409
// OFFSET: 0x00A34560
// FUNCTION: fn_15410
template <class T, class D> void CUIComboBox<T, D>::Paint() {
this->ClearSurface(0xFFFFFFFF);
@ -233,12 +233,12 @@ template void CUIComboBox<GameSettingsUI::CUIComboItem, DisplayMode>::Paint();
template void CUIComboBox<GameSettingsUI::CUIComboItem, RenderAdapter>::Paint();
// OFFSET: 0x00A40040
// OFFSET: 0x00A40050
// OFFSET: 0x00A40060
// OFFSET: 0x00A40070
// FUNCTION: fn_15962
// OFFSET: 0x00A40050
// FUNCTION: fn_15963
// OFFSET: 0x00A40060
// FUNCTION: fn_15964
// OFFSET: 0x00A40070
// FUNCTION: fn_15965
template <class T, class D> unsigned int CUIComboBox<T, D>::Selected() const {
return this->listBox->selected;
@ -250,12 +250,12 @@ template unsigned int CUIComboBox<GameSettingsUI::CUIComboItem, RenderBackend>::
template unsigned int CUIComboBox<GameSettingsUI::CUIComboItem, std::string>::Selected() const;
// OFFSET: 0x00A41FE0
// OFFSET: 0x00A42060
// OFFSET: 0x00A420E0
// OFFSET: 0x00A42160
// FUNCTION: fn_16009
// OFFSET: 0x00A42060
// FUNCTION: fn_16010
// OFFSET: 0x00A420E0
// FUNCTION: fn_16011
// OFFSET: 0x00A42160
// FUNCTION: fn_16012
template <class T, class D> void CUIComboBox<T, D>::UpdateListHeight() {
const int height = std::min<unsigned int>(this->listBox->data.size(), this->visibleItems) * this->itemHeight;
@ -283,12 +283,12 @@ template <class T, class D> int CUIComboBox<T, D>::AddItem(const D& value, bool
template int CUIComboBox<GameSettingsUI::CUIComboItem, std::string>::AddItem(const std::string& value, bool refresh);
// OFFSET: 0x00A1C1B0
// OFFSET: 0x00A1CC90
// OFFSET: 0x00A1D770
// OFFSET: 0x00A1E250
// FUNCTION: fn_15379
// OFFSET: 0x00A1CC90
// FUNCTION: fn_15380
// OFFSET: 0x00A1D770
// FUNCTION: fn_15381
// OFFSET: 0x00A1E250
// FUNCTION: fn_15382
template <class T, class D> void CUIComboBox<T, D>::Create(int width, int itemHeight, int visibleItems) {
this->visibleItems = visibleItems;
@ -2218,8 +2218,6 @@ void GameSettingsUI::CUIGroupGraphicsAPI::Slot16() {
this->m_backend = backend;
}
// OFFSET: 0x00A41560
// OFFSET: 0x00A41710
// FUNCTION: fn_15992
void GameSettingsUI::CUIGroupProcessPriority::Slot16() {
@ -2331,12 +2329,6 @@ void GameSettingsUI::CUIGroupLogInOut::Slot16() {
this->m_title->SetTooltip(tooltipText, std::strlen(tooltipText));
}
// OFFSET: 0x00A1A320
// OFFSET: 0x00A1A480
// OFFSET: 0x00A1A5E0
// OFFSET: 0x00A1F890
// FUNCTION: fn_15390
void GameSettingsUI::CUIComboItem::Slot15(int width, int height) {
@ -4278,7 +4270,7 @@ void CUIGameSettingsUI::Slot15(int width, int height) {
this->m_tab->Select(basicButton);
}
// OFFSET: 0x00A40C40
// OFFSET: 0x00A40C40
// FUNCTION: fn_15986
void CUIGameSettingsUI::Slot16() {
this->Move((g_renderer->viewport.width - this->geometry.width) / 2, (g_renderer->viewport.height - this->geometry.height) / 2);

View file

@ -1629,7 +1629,6 @@ void UIGuildSkillWnd::Slot25(int x, int y) {
}
// OFFSET: 0x0095F460
// FUNCTION: fn_13079
void UIGuildTotalInfoWnd::Paint() {
UIGuildWnd::Paint();
@ -1993,8 +1992,6 @@ bool UIGuildMemberManageWnd::DrawMember(GuildInfo::Member& member, int& index, i
return true;
}
// OFFSET: 0x0095E320
// OFFSET: 0x0095ACC0
// FUNCTION: fn_13062
void UIGuildNoticeWnd::Slot15(int, int) {

View file

@ -45,8 +45,6 @@ CMergeItemWnd::CMergeItemWnd()
m_mergeButton(nullptr), m_cancelButton(nullptr), m_closeButton(nullptr), m_items(), m_resizer(nullptr), m_scrollBar(nullptr), m_itemCount(0), m_columns(0),
m_rows(0), m_visibleCount(0), m_scrollRow(0), m_scrollable(0) {}
// OFFSET: 0x007DEF00
// OFFSET: 0x007DEF80
// FUNCTION: fn_09662
void CMergeItemWnd::SelectSameItems(int id) {

View file

@ -45,7 +45,6 @@ CSnapMgr::CSnapMgr() : root(nullptr) {
}
// OFFSET: 0x007E23D0
// OFFSET: 0x007E2520
// FUNCTION: fn_09697
CSnapMgr::~CSnapMgr() {
this->Clear();

View file

@ -13,8 +13,6 @@ namespace {
SnapObject::SnapObject() : window(nullptr), visited(0) {
}
// OFFSET: 0x007E2550
// OFFSET: 0x007E2360
SnapObject::~SnapObject() = default;
// OFFSET: 0x007E2770

View file

@ -45,7 +45,7 @@ UIServerListBox::UIServerListBox() : UIListBox() {
this->unknown_00E0 = 0;
}
// OFFSET: 0x00873690
// OFFSET: 0x00871040
// FUNCTION: fn_11105
UIListBox::~UIListBox() = default;

View file

@ -195,16 +195,16 @@ public:
void Slot15(int width, int height) override;
// OFFSET: 0x009D23B0
// OFFSET: 0x009D23C0
// FUNCTION: fn_14011
// OFFSET: 0x009D23C0
// FUNCTION: fn_14012
void Paint() override {
this->ClearSurface(0xFFFF00FF);
}
// OFFSET: 0x009D2410
// OFFSET: 0x009D2450
// FUNCTION: fn_14017
// OFFSET: 0x009D2450
// FUNCTION: fn_14018
void Slot35(int value) override {
if (!this->scrollBar->dragging && this->scrollBar->total > this->scrollBar->visible) {
@ -215,8 +215,8 @@ public:
}
// OFFSET: 0x009D3FD0
// OFFSET: 0x009D4040
// FUNCTION: fn_14037
// OFFSET: 0x009D4040
// FUNCTION: fn_14038
void Resize(int width, int height) override {
UIWindow::Resize(width, height);
@ -231,8 +231,8 @@ public:
}
// OFFSET: 0x009DD9A0
// OFFSET: 0x009DD9F0
// FUNCTION: fn_14345
// OFFSET: 0x009DD9F0
// FUNCTION: fn_14346
void UpdateScrollBar() {
int total = 0;
@ -292,24 +292,24 @@ public:
~CUIListBoxEx() override;
void Slot15(int width, int height) override;
// OFFSET: 0x00A01E70
// OFFSET: 0x00A01E80
// OFFSET: 0x00A0CE60
// OFFSET: 0x00A63890
// FUNCTION: fn_14832
// OFFSET: 0x00A01E80
// FUNCTION: fn_14833
// OFFSET: 0x00A0CE60
// FUNCTION: fn_15037
// OFFSET: 0x00A63890
// FUNCTION: fn_16437
void Paint() override {
this->ClearSurface(0xFFFF00FF);
}
// OFFSET: 0x00A01E90
// OFFSET: 0x00A01ED0
// OFFSET: 0x00A0CE70
// OFFSET: 0x00A638A0
// FUNCTION: fn_14834
// OFFSET: 0x00A01ED0
// FUNCTION: fn_14835
// OFFSET: 0x00A0CE70
// FUNCTION: fn_15038
// OFFSET: 0x00A638A0
// FUNCTION: fn_16438
void Slot35(int value) override {
if (!this->scrollBar->dragging && this->scrollBar->total > this->scrollBar->visible) {
@ -320,10 +320,10 @@ public:
}
// OFFSET: 0x009F9890
// OFFSET: 0x009F98F0
// OFFSET: 0x00A08DE0
// FUNCTION: fn_14810
// OFFSET: 0x009F98F0
// FUNCTION: fn_14811
// OFFSET: 0x00A08DE0
// FUNCTION: fn_15032
void ClearItems() {
for (T* item : this->items) {
@ -356,8 +356,8 @@ public:
}
// OFFSET: 0x00A051E0
// OFFSET: 0x00A662D0
// FUNCTION: fn_14971
// OFFSET: 0x00A662D0
// FUNCTION: fn_16614
void ClearData() {
this->data.clear();
@ -389,8 +389,8 @@ public:
}
// OFFSET: 0x009DD950
// OFFSET: 0x00A06300
// FUNCTION: fn_14344
// OFFSET: 0x00A06300
// FUNCTION: fn_15001
void UpdateScrollBar() {
this->scrollBar->SetTotal(this->data.size() * this->rowHeight + this->itemY);
@ -400,16 +400,16 @@ public:
}
// OFFSET: 0x009D43D0
// OFFSET: 0x009D45D0
// OFFSET: 0x009D47D0
// OFFSET: 0x009D49D0
// OFFSET: 0x00A027C0
// OFFSET: 0x00A029C0
// FUNCTION: fn_14043
// OFFSET: 0x009D45D0
// FUNCTION: fn_14044
// OFFSET: 0x009D47D0
// FUNCTION: fn_14045
// OFFSET: 0x009D49D0
// FUNCTION: fn_14046
// OFFSET: 0x00A027C0
// FUNCTION: fn_14843
// OFFSET: 0x00A029C0
// FUNCTION: fn_14844
void OnScroll(int position) {
auto it = this->items.begin();

View file

@ -73,7 +73,6 @@ UIScrollBar::UIScrollBar()
thickness(13), minimumThumb(1), horizontalStep(1), verticalStep(1) {
}
// OFFSET: 0x00873FA0
UIScrollBar::~UIScrollBar() = default;
// OFFSET: 0x0086E4D0

View file

@ -10,7 +10,6 @@ UIScrollBar_Navi::UIScrollBar_Navi() : UIScrollBar() {
this->thickness = 7;
}
// OFFSET: 0x00874080
UIScrollBar_Navi::~UIScrollBar_Navi() = default;
// OFFSET: 0x0088E930

View file

@ -5,6 +5,7 @@ int g_miniPartyCellWidth = 177;
// GLOBAL: gl_24519
int g_miniPartyCellHeight = 55;
// OFFSET: 0x00737EC0
// FUNCTION: fn_07659
MiniPartyGridPoint* MiniPartyGrid::GetCellPosition(MiniPartyGridPoint* position, int index) const {
const int y = this->top + g_miniPartyCellHeight * (index % this->rows);
@ -13,6 +14,7 @@ MiniPartyGridPoint* MiniPartyGrid::GetCellPosition(MiniPartyGridPoint* position,
return position;
}
// OFFSET: 0x00737EF0
// FUNCTION: fn_07660
MiniPartyGridPoint* MiniPartyGrid::GetWindowPosition(MiniPartyGridPoint* position, int index) const {
const int y = this->top + g_miniPartyCellHeight * (index % this->rows);
@ -21,6 +23,7 @@ MiniPartyGridPoint* MiniPartyGrid::GetWindowPosition(MiniPartyGridPoint* positio
return position;
}
// OFFSET: 0x00737F20
// FUNCTION: fn_07661
int MiniPartyGrid::FindCell(int x, int y) const {
const int dx = x - this->left;
@ -56,6 +59,7 @@ int MiniPartyGrid::FindCell(int x, int y) const {
return -1;
}
// OFFSET: 0x00737FE0
// FUNCTION: fn_07662
int MiniPartyGrid::BuildAvailableCells() {
int index = 0;

View file

@ -34,7 +34,6 @@ UIAdvenPartyBoardWnd::UIAdvenPartyBoardWnd()
: UIFrameWnd(0), unknown_0104(0), unknown_0108(0), page(1), totalPages(1), unknown_0114(1), unknown_0118(0), selectedType(0) {
}
// OFFSET: 0x007BB590
UIAdvenPartyBoardWnd::~UIAdvenPartyBoardWnd() = default;
// OFFSET: 0x007C23C0

View file

@ -33,7 +33,6 @@ UIApplyForPartyWnd::UIApplyForPartyWnd()
: UIFrameWnd(0) {
}
// OFFSET: 0x007BB610
UIApplyForPartyWnd::~UIApplyForPartyWnd() = default;
// OFFSET: 0x007C2400

View file

@ -17,7 +17,6 @@ UIPartyInfoWnd::UIPartyInfoWnd()
this->m_drawLabel = 0;
}
// OFFSET: 0x007BB740
UIPartyInfoWnd::~UIPartyInfoWnd() = default;
// OFFSET: 0x007BBEF0

View file

@ -52,7 +52,6 @@ UIRegisterPartyWnd::UIRegisterPartyWnd()
: UIFrameWnd(0), selectedType(0) {
}
// OFFSET: 0x007BB810
UIRegisterPartyWnd::~UIRegisterPartyWnd() = default;
// OFFSET: 0x007C2440

View file

@ -16,7 +16,6 @@ UIRequestJoinPartyMgr::UIRequestJoinPartyMgr(WindowManagerWindows& windows) : m_
}
// OFFSET: 0x007BB470
// OFFSET: 0x007BB880
// FUNCTION: fn_09281
UIRequestJoinPartyMgr::~UIRequestJoinPartyMgr() = default;

View file

@ -29,7 +29,6 @@ UIRequestJoinPartyWnd::UIRequestJoinPartyWnd()
: UIFrameWnd(0) {
}
// OFFSET: 0x007BB960
UIRequestJoinPartyWnd::~UIRequestJoinPartyWnd() = default;
// OFFSET: 0x007BEFD0

View file

@ -1,5 +1,6 @@
#include <cstdint>
// OFFSET: 0x004D2D50
// FUNCTION: fn_00161
int PriceCommission(std::int64_t price) {
return price > 10000000 ? 5 : 0;

Some files were not shown because too many files have changed in this diff Show more