Decompile 2 functions in Source/Contents/Jobs/JobInheritance.cpp, Source/Contents/Jobs/JobInheritance.h

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

- fn_23587 IsPlayerJob: byte-identical
- fn_23887 CSession::IsPlayerJobId: byte-identical (already on main)

Merged automatically: every function is byte-identical to the original.
This commit is contained in:
ragnarok-clanker 2026-11-10 19:51:32 +00:00
commit 0e852fd9d8
2 changed files with 2 additions and 2 deletions

View file

@ -711,7 +711,7 @@ bool CSession::IsJobWeaponTypeAllowed(int job, std::int64_t weaponType) const {
// OFFSET: 0x00DFBCE0
// FUNCTION: fn_23587
__declspec(noinline) bool __stdcall IsPlayerJob(int job) {
__declspec(noinline) int __stdcall IsPlayerJob(int job) {
const auto value = static_cast<unsigned>(job);
return value - JT_NOVICE_H <= unsigned(JT_MER_BEGIN - 1 - JT_NOVICE_H) || value <= unsigned(JT_SUMMER2);
}

View file

@ -4,7 +4,7 @@
#include <cstdint>
#include <string>
bool __stdcall IsPlayerJob(int job);
int __stdcall IsPlayerJob(int job);
bool __stdcall IsVisibleJob(int job);
int __stdcall GetWeaponViewValue(int weapon);
int __stdcall GetDualWieldWeaponType(int first, int second);