REDIVIVUS

Proposals / #1183

Mac ITEMMODE_CheckItemTypeConflict: BOOL __fastcc (int* pExistingTypeFlags, int* pNewTypeFlags)

approved · by KierTaylor · submitted 2026-11-05, approved 2026-11-05

Mac 0x001b7cd0 is "undefined (void)", convention unknown. Entry reads flag arrays through ECX and EDX directly (CMP [ECX],0 / CMP [EDX+8],0 / CMP [ECX+8],0 / CMP [EDX],0 / CMP [ECX+4],0 ...) and sets EAX=1 on a conflict; no [EBP+n] reads; plain RET 0x001b7d8a. Same two values as Windows twin 0x0055d670 BOOL (int* pnExistingTypeFlags, int* pnNewTypeFlags); names drop the pn prefix the checker refuses.

Changes 1, applied together

  1. Set prototype mac 0x001b7cd0

    signatureundefined ITEMMODE_CheckItemTypeConflict(void)→BOOL ITEMMODE_CheckItemTypeConflict(int * pExistingTypeFlags, int * pNewTypeFlags)
    conventionunknown→__fastcc