Confirm 2 functions in Source/Contents/Actors/Resources/RobeResources.cpp, Source/Contents/CashEmotion/CashEmotionMgr.cpp, ...

Batch #17156 by eAthena: 2 byte-identical, 0 confirmed by peer review.

- fn_07755 CRmaRes::Unload: byte-identical (already on main)
- fn_07778 CRmaRes::~CRmaRes: byte-identical (already on main)

Merged automatically: every function is byte-identical to the original.
This commit is contained in:
ragnarok-clanker 2026-11-11 14:14:00 +00:00
commit cabdcc3457
10 changed files with 21 additions and 0 deletions

View file

@ -6,6 +6,8 @@
#include <string>
extern template std::string::basic_string(const std::string&);
// OFFSET: 0x00BAC050
// FUNCTION: fn_19755
std::string EquipmentResourceMgr::GetRobeResourceName(int type, int job, int sex, int robe, bool riding, int, int costumeJob) {

View file

@ -69,6 +69,8 @@ extern "C" {
#include <new>
#include <windows.h>
extern template std::vector<int>::vector(const std::vector<int>&);
// STATIC: 0x013896C4
// GLOBAL: gl_24350
CCashEmotionMgr* g_cashEmotionMgr = nullptr;

View file

@ -15,6 +15,9 @@
#include <vector>
#include "Utility/StdStringCompare.h"
extern template bool std::_Traits_equal<std::char_traits<char>>(const char*, std::size_t, const char*, std::size_t) noexcept;
extern template std::vector<int>::vector(const std::vector<int>&);
namespace {
#pragma pack(push, 1)
struct ItemRecordHeader {

View file

@ -10,6 +10,8 @@
#include <windows.h>
#include <shlwapi.h>
extern template bool std::_Traits_equal<std::char_traits<char>>(const char*, std::size_t, const char*, std::size_t) noexcept;
// OFFSET: 0x00B8C0B0
// FUNCTION: fn_19420
__declspec(noinline) CNavi_Object* FindNaviObjectByName(const char* name, const std::vector<CNavi_Object*>& objects) {

View file

@ -14,6 +14,8 @@
#include <windows.h>
#include <timeapi.h>
extern template std::string& std::string::assign(const char*, std::string::size_type);
namespace {
constexpr char loadSource[] = "C:\\repositories\\RagnarokClient\\RagnarokClient\\Contents\\MCStoreBackUpData\\CMCStoreInfoBackupLoadAsyncWork."
"cpp";

View file

@ -17,6 +17,9 @@
#include <cstddef>
#include <new>
extern template bool std::_Traits_equal<std::char_traits<char>>(const char*, std::size_t, const char*, std::size_t) noexcept;
extern template std::vector<std::string>::~vector();
namespace {
// INLINED
template <std::uint64_t Key, std::size_t Length>

View file

@ -8,6 +8,8 @@
#include <cstdlib>
#include <strstream>
extern template std::vector<int>::~vector();
// OFFSET: 0x007461C0
// FUNCTION: fn_07770
CRmaRes::CRmaRes() {

View file

@ -39,6 +39,8 @@ extern "C" {
#include <vector>
#include <windows.h>
extern template std::string& std::string::insert(std::string::size_type, const char*, std::string::size_type);
struct MiniMapPosition {
MiniMapPosition() {
}

View file

@ -103,6 +103,7 @@
#include "Resource/MSGSTRINGID.h"
extern template std::vector<std::string>::~vector();
extern template bool std::_Traits_equal<std::char_traits<char>>(const char*, std::size_t, const char*, std::size_t) noexcept;
// GLOBAL: gl_25153
static const std::string s_messageBoxItemLinkOpening = "<ITEML>";

View file

@ -11,6 +11,8 @@
#include <string>
#include <windows.h>
extern template std::string& std::string::insert(std::string::size_type, const char*, std::string::size_type);
// GLOBAL: gl_24512
unsigned char g_hexDigits[256] = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,