REDIVIVUS

Proposals / #943

Mac WALL2_UpdateScheduledSound: __cdecl void (int32_t nDelayFrames, int32_t nSoundId)

rejected · by KierTaylor · submitted 2026-11-02, rejected 2026-11-02

Mac body reads two stack arguments: [EBP+0xc] is tested for non-zero and stored as the scheduled sound id; [EBP+8] is added to the current frame counter to give the trigger frame, and a second deadline at +0x32 frames is stored; no ECX/EDX input, plain RET. Windows twin WALL2_UpdateScheduledSound 0x004dce10 is void (int32_t nParam1, int32_t nParam2); the generic names are replaced by their observed roles.

Changes 1, applied together

  1. Set prototype mac 0x00097777

    signatureundefined WALL2_UpdateScheduledSound(void)→void WALL2_UpdateScheduledSound(int32_t nDelayFrames, int32_t nSoundId)
    conventionunknown→__cdecl