# \#cpp

**URL:** https://community.hex-rays.com/tag/cpp/10.md

[Latest](https://community.hex-rays.com/latest.md) · [Categories](https://community.hex-rays.com/categories.md) · [Tags](https://community.hex-rays.com/tags.md)

---

## [Block-scoped variable declarations need to be supported](https://community.hex-rays.com/t/block-scoped-variable-declarations-need-to-be-supported/725)

<div class="topic-metadata">

**Author:** [@sonyps5201314](https://community.hex-rays.com/u/sonyps5201314)\
**Replies:** 20\
**Last updated:** [October 10, 2026, 11:27pm UTC](https://community.hex-rays.com/t/block-scoped-variable-declarations-need-to-be-supported/725 "2026-10-10T23:27:00Z")

</div>

The following is a snippet of original C++ code: static \_\_declspec(noinline) int ProcessData(const int\* data, size\_t size, int operationType) { int result = 0; if (operationType == 1) { // Operation 1: Sum for (s…

---

## [Hex-Rays: add C++ style casts into decompiler](https://community.hex-rays.com/t/hex-rays-add-c-style-casts-into-decompiler/800)

<div class="topic-metadata">

**Author:** [@void\_17](https://community.hex-rays.com/u/void_17)\
**Replies:** 1\
**Last updated:** [September 19, 2026, 11:04pm UTC](https://community.hex-rays.com/t/hex-rays-add-c-style-casts-into-decompiler/800 "2026-09-19T23:04:37Z")

</div>

Since per my previous request some C++ style literal constants (namely, nullptr, true, false) were introduced into Hex-Rays decompiler, I would also like to request something that would complement this, that is, C++ styl…

---

## [\`import\_type\` replacement in IDA9+](https://community.hex-rays.com/t/import-type-replacement-in-ida9/779)

<div class="topic-metadata">

**Author:** [@bes](https://community.hex-rays.com/u/bes)\
**Replies:** 2\
**Last updated:** [August 10, 2026, 10:36am UTC](https://community.hex-rays.com/t/import-type-replacement-in-ida9/779 "2026-08-10T10:36:51Z")

</div>

Does anyone know how correctly implement replacement of import\_type IDA-SDK-API was removed since IDA9? There are a few approaches below, and no one works as intended.

---

## [About the Plugins category](https://community.hex-rays.com/t/about-the-plugins-category/20)

<div class="topic-metadata">

**Author:** [@Geoffrey](https://community.hex-rays.com/u/Geoffrey)\
**Replies:** 0\
**Last updated:** [December 6, 2024, 11:42am UTC](https://community.hex-rays.com/t/about-the-plugins-category/20 "2024-12-06T11:42:33Z")

</div>

This is the go-to space for discussing plugin-related topics, whether you’re working with IDAPython or the C++ SDK. Facing challenges adapting your plugins to the latest IDA API? Share your code with the community and ga…
