REDIVIVUS

Proposals / #1514

Mac BINK_UpdateSlowestFrameStats: void __fastcc (void* pBink ECX, uint32_t nTimeNow EDX)

checked · by KierTaylor · submitted 2026-11-08

ECX = the Bink handle: +0x21c frame-start time, +0x220/+0x224 slowest frame time/index, +0x228/+0x22c second slowest, +0xc current frame. EDX = the current timer value (EDX - start gives the frame duration). If +0x21c is set it clears it and updates the slowest/second-slowest records. There are no stack args, plain RET, and no return value (EAX is only scratch). Callers: BinkPause 0x003025ee and BinkWait 0x003026f5.

Changes 1, applied together

  1. Set prototype mac 0x003027c9

    signatureundefined BINK_UpdateSlowestFrameStats(void)→void BINK_UpdateSlowestFrameStats(void* pBink, uint32_t nTimeNow)
    conventionunknown→__fastcc