Decompile 18 functions in Source/Client/Session.h, Source/Contents/Messenger/MessengerMember.h, ...

Batch #13823 by eAthena: 17 byte-identical, 1 confirmed by peer review.

- fn_05622 EquipmentProperties::CEquipment::CallOnStartEquip: byte-identical
- fn_06190 EquipmentProperties::CEquipmentPropertiesMgr::HasUnknown0194: byte-identical
- fn_05925 CLuaInstance::GetFieldUIntArray: logic confirmed by peer review
- fn_23454 CSession::PartyByName: byte-identical
- fn_23452 CSession::PartyByAccount: byte-identical
- fn_23455 CSession::PartyAt: byte-identical
- fn_23372 CSession::FriendAt: byte-identical
- fn_23832 CSession::FindGroupedSkill: byte-identical
- fn_17262 UIWindowMgr::RetireTransientWindow: byte-identical
- fn_07695 MessengerMember::MessengerMember: byte-identical
- fn_07696 MessengerMember::MessengerMember: byte-identical
- fn_23835 CSession::InheritedJob: byte-identical
- fn_23803 CSession::GetWeaponName: byte-identical
- fn_23839 CSession::GetWeaponEffectSprName: byte-identical
- fn_23840 CSession::GetWeaponSprName: byte-identical
- fn_23339 CSession::RemoveItem1710: byte-identical
- fn_23300 CSession::GetEquipSlots: byte-identical
- fn_18348 AddNeededSkill: byte-identical

Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
ragnarok-clanker 2026-11-06 22:19:59 +00:00
commit 83ea3de051
7 changed files with 59 additions and 60 deletions

View file

@ -9,8 +9,6 @@ extern "C" {
#include <cstdint>
#include <cstring>
CSkillInfo* FindGroupedSkill(CSession& session, std::uint32_t id);
// OFFSET: 0x00AFEE00
// FUNCTION: fn_18349
int AddSkill(lua_State* state) {
@ -48,7 +46,7 @@ int AddNeededSkill(lua_State* state) {
const int level = static_cast<int>(luaL_checknumber(state, 3));
if (id != -1 && needed != -1 && level != -1) {
CSkillInfo* skill = FindGroupedSkill(g_session, static_cast<std::uint32_t>(id));
CSkillInfo* skill = g_session.FindGroupedSkill(static_cast<std::uint32_t>(id));
if (skill && skill->available) {
skill->entries.push_back({static_cast<std::uint32_t>(needed), static_cast<std::uint32_t>(level)});
}