if (w_param == 0x33) {
RakNet::BitStream* bs = new RakNet::BitStream();
std::string packet_data { };
packet_data.push_back(0x0E);
packet_data.push_back(cef_app_set_mode);
packet_data.push_back(strange_byte);
packet_data.push_back(0x0);
packet_data.push_back(0x0);
packet_data.push_back(strlen("cef_inv_item_action"));
packet_data.push_back(0x0);
packet_data.append("cef_inv_item_action");
std::vector<uint8_t> bytes { 0x28, 0x00, 0x85, 0xA6, 0x61, 0x63, 0x74, 0x69, 0x6F, 0x6E, 0x01, 0xA4, 0x61, 0x72, 0x65, 0x61,
0x01, 0xA5, 0x69, 0x6E, 0x64, 0x65, 0x78, 0xC0, 0xA8, 0x72, 0x65, 0x73, 0x70, 0x6F, 0x6E, 0x73,
0x65, 0x00, 0xA6, 0x73, 0x6C, 0x6F, 0x74, 0x49, 0x64, 0x06 };
packet_data.insert(packet_data.end(), std::begin(bytes), std::end(bytes));
for (const auto p : packet_data)
bs->Write(p);
rakhook::send_rpc(252, bs, PacketPriority::HIGH_PRIORITY, PacketReliability::RELIABLE_ORDERED, (char)0, false);
delete bs;
}