class_layout
Deduce a C++ class's fields, methods and vftable from how its methods access the object, then save the result as a struct.
Instructions
Infer a C++ class's fields, methods and vftable from how its methods use the object: offset, width, reads, writes. Use it on an unknown class; for a known layout use set_type. apply=Name saves it as a struct (dry run until dry_run=false).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apply | No | Struct name to define the layout as. | |
| class | Yes | Class name or a method address. | |
| dry_run | No | Preview only; false applies. |