class_layout
Tools / Read code · writes, dry-run by default
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).
Parameters
applystring
Struct name to define the layout as.
classstringrequired
Class name or a method address.
dry_runboolean
Preview only; false applies.
Call
json
{
"name": "class_layout",
"arguments": {
"class": "…"
}
}