REDIVIVUS

Proposals / #1174

Mac NET_D2GS_SERVER_Send_0x8F_HEARTBEAT_PING: void __cdecl (D2ClientStrc* pClient) prototype

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

Mac 0x001b3e82 is "undefined (void)", convention unknown. Builds packet 0x8f at [EBP-0x28] (clears 0x20 bytes after the opcode via 0x00028d7f), then ECX=[EBP+8], EDX=LEA [EBP-0x28], [ESP]=0x21 and CALL SCMD_QueuePacketForClient (0x001b0474, fastcc pClient, pBytes, nSize) at 0x001b3eac; plain RET 0x001b3eb5. Only stack arg is the client. Matches Windows twin 0x0053e020 void (D2ClientStrc* pClient).

Changes 1, applied together

  1. Set prototype mac 0x001b3e82

    signatureundefined NET_D2GS_SERVER_Send_0x8F_HEARTBEAT_PING(void)→void NET_D2GS_SERVER_Send_0x8F_HEARTBEAT_PING(D2ClientStrc * pClient)
    conventionunknown→__cdecl