From 46edfec6e12474c8e12cc4a202c5b6f5aa0bebdb Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Fri, 6 Nov 2026 03:42:21 +0000 Subject: [PATCH] Decompile 2 functions in Source/Contents/Actors/GameActor.cpp Batch #12965 by cremane: 2 byte-identical, 0 confirmed by peer review. - fn_21065 CSession::IsMonsterClass: byte-identical - fn_21050 MountedJob: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/Contents/Actors/GameActor.cpp | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/Source/Contents/Actors/GameActor.cpp b/Source/Contents/Actors/GameActor.cpp index b5642ef6..b0d9d3d5 100644 --- a/Source/Contents/Actors/GameActor.cpp +++ b/Source/Contents/Actors/GameActor.cpp @@ -835,19 +835,19 @@ int __stdcall MountedJob(int job, std::uint32_t flags) { return 0x108e; } } else if (job == 0x10a1) { - if (StateFlag21(flags)) { + if (StateFlag21(flags) == true) { return 0x10b6; } } else if (job == 0x109d) { - if (StateFlag22(flags)) { + if (StateFlag22(flags) == true) { return 0x10b7; } } else if (job == 0x109c) { - if (StateFlag19(flags)) { + if (StateFlag19(flags) == true) { return 0x10b8; } } else if (job == 0x10a2) { - if (StateFlag05(flags)) { + if (StateFlag05(flags) == true) { return 0x10b9; } } else if (job == 0x10ce) { @@ -1083,7 +1083,10 @@ void CGameActor::ResetUnknown03B8() { // OFFSET: 0x00CADC90 // FUNCTION: fn_21065 bool CSession::IsMonsterClass(int job) { - return (job > 1000 && job < 3999) || static_cast(job - 20021) <= 11978; + if ((job > 1000 && job < 3999) || static_cast(job - 20021) <= 11978) { + return true; + } + return false; } // OFFSET: 0x00CADCC0