Recover the full-width Boolean result of the Mac class-skill predicate
Ghidra vmac 111 · 3cfe190
Mac00188c31 stores the scalar helper result through the existing output pointer, compares it with7, then SETNE AL/MOVZX EAX,AL before its sole plain RET. Every normal return is a full-width0 or1, and the sole actual caller immediately TESTs all32bits of EAX. Recover BOOL while preserving the chosen function/parameter/local names, two existing DWORD stack inputs and __cdecl convention. Complete native caller proves a nonnull local output address and the scalar skill-id source. No pairing, table layout, diagnostic-helper interface or behavior change is claimed.
Changes 1, applied together
Set prototype
mac 0x00188c31signatureundefined SKILLS_IsClassSkill(int32_t nSkillId, int32_t * pCharClass)→BOOL SKILLS_IsClassSkill(int32_t nSkillId, int32_t * pCharClass)convention__cdecl