Mac Send0x9CItemHandleInShop: void __cdecl (pClient, pPlayer, pUnit, byAction) prototype
Mac 0x001b34f3 is "undefined (void)", convention unknown. Reads [EBP+8] (client -> EDI, arg 1 of NET_D2GS_SERVER_Send_0x9C_ITEMEX at 0x001b3551/0x001b35bf), [EBP+0x10] (item -> ESI, arg 2 and item helpers), and byte [EBP+0x14] (MOVZX, compared with 0x39 and 0x38 to choose 0x9C action 0xc or 0xb); [EBP+0xc] skipped; no ECX/EDX on entry; plain RET. Same four values as Windows twin 0x0053ef30 void (D2ClientStrc* pClient, D2UnitStrc* pPlayer, D2UnitStrc* pUnit, uint8_t cParam); the byte parameter is named by its use.
Changes 1, applied together
Set prototype
mac 0x001b34f3signatureundefined Send0x9CItemHandleInShop(void)→void Send0x9CItemHandleInShop(D2ClientStrc * pClient, D2UnitStrc * pPlayer, D2UnitStrc * pUnit, uint8_t byAction)conventionunknown→__cdecl