REDIVIVUS

Proposals / #1662

Type Mac BNET_GetLog as void* __cdecl (void)

checked · by KierTaylor · submitted 2026-11-08

Mac body reads no args: a function-local static guarded by __cxa_guard_acquire/release (0x0030b09c/0x0030b0a2) initialises the Bnet log stream object (fields zeroed, 15-byte name copied, destructor registered via __cxa_atexit) and returns its address in EAX; plain RET. Callers BnetLog_WriteLine and BNET_LogIndent use the result. Same role as Windows BNCLIENT_GetBnetLogFilestream 0x00518c30, void* (void).

Changes 1, applied together

  1. Set prototype mac 0x0005ac81

    signatureundefined BNET_GetLog(void)→void* BNET_GetLog(void)
    conventionunknown→__cdecl