Recover the Mac quest-interaction predicate Boolean return
Ghidra vmac 111 · 3cfe190
Mac 000d8c2e currently returns undefined4, but every reached normal return explicitly copies full ESI=0 or1 into EAX. Its sole known native caller uses full EAX as a true/false action gate. Set the return to existing4-byte BOOL, preserving selected function/formal names, int32_t nQuestIconIndex, Stack4, cdecl and arity. Complete target/caller/producer bodies match separately read assembly; native table bounds, concrete local-byte producer and normal ESI restores are checked. Nine code regions total3,484bytes;1,664raw data bytes give5,148verified bytes. Import cells are static self-referencing lazy stubs only. Opaque CALL continuation is conditional IF it returns; no implementation/termination or value-invariance claim. No helper/caller/global/layout/type/ABI edits, reduced held refile or pending-metadata premise. Static Mac only; no execution, localMachO hash, Windows pairing or build gain.
Changes 1, applied together
Set prototype
mac 0x000d8c2esignatureundefined4 QUESTLOG_IsQuestAvailableForInteraction(int32_t nQuestIconIndex)→BOOL QUESTLOG_IsQuestAvailableForInteraction(int32_t nQuestIconIndex)convention__cdecl