Jump to content
Setting up an AI agent? ReverseEngineering.wiki skill (works from the command line, no configuration): https://reverseengineering.wiki/skill/rewiki/SKILL.md · setup for every client, including MCP: https://reverseengineering.wiki/llms.txt · REWiki:Connect

Fact:Unreal Engine/struct/UClass layout 4.25 to 4.27

From ReverseEngineering.wiki
schema"rewiki.fact/1"
kind"struct"
subject"Library:Unreal Engine"
claim"UClass in UE 4.25 to 4.27 (0x230 bytes): ClassConstructor 0xB0, ClassVTableHelperCtorCaller 0xB8, ClassAddReferencedObjects 0xC0, ClassUnique (31 bits) and bCooked (1 bit) in the dword at 0xC8, ClassFlags 0xCC, ClassCastFlags 0xD0, ClassWithin 0xD8, ClassGeneratedBy 0xE0, ClassConfigName 0xE8, NetFields 0x100, ClassDefaultObject 0x118, SparseClassData 0x120, SparseClassDataStruct 0x128, FuncMap 0x130, SuperFuncMap 0x180, Interfaces 0x1D8, ReferenceTokenStream 0x1E8, NativeFunctionLookupTable 0x220. UClass differs in almost every release (groups 4.18-4.20, 4.21, 4.22-4.23, 4.24, 4.25-4.27, then 5.0, 5.1, 5.2, 5.3-5.5, 5.6, 5.7, 5.8 each separately): use the matching template, not a major-version guess. ClassCastFlags is the fast type test (IsA by bit)."
scope
level"library"
applies_to"Library:Unreal Engine"
observed_in
Empty array
data
name"UClass"
size"0x230"
abi"win64"
variant"4.25-4.27"
fields
offset"0xB0"
size8
type"void *"
name"ClassConstructor"
offset"0xB8"
size8
type"void *"
name"ClassVTableHelperCtorCaller"
offset"0xC0"
size8
type"void *"
name"ClassAddReferencedObjects"
offset"0xC8"
size4
type"uint32_t"
name"ClassUnique_and_bCooked"
notes"bits 0-30 ClassUnique, bit 31 bCooked"
offset"0xCC"
size4
type"uint32_t"
name"ClassFlags"
offset"0xD0"
size8
type"uint64_t"
name"ClassCastFlags"
offset"0xD8"
size8
type"UClass *"
name"ClassWithin"
offset"0xE0"
size8
type"UObject *"
name"ClassGeneratedBy"
offset"0xE8"
size8
type"uint64_t"
name"ClassConfigName"
notes"FName"
offset"0x118"
size8
type"UObject *"
name"ClassDefaultObject"
offset"0x130"
size80
type"TMap<FName, UFunction *>"
name"FuncMap"
offset"0x180"
size88
type"TMap<FName, UFunction *>"
name"SuperFuncMap"
notes"slot size approximate: the next member is at 0x1D8"
evidence
type"source"
detail"[UClass]"
repo"https://github.com/UE4SS-RE/RE-UE4SS"
commit"97adba01e9fcb3c208376581e54edb9ef466f233"
path"assets/MemberVarLayoutTemplates/MemberVariableLayout_4_25_Template.ini"
confidence"high"
related
Empty array
key"UClass layout 4.25 to 4.27"
topic"Library:Unreal Engine/Reflection data"
status"claimed"
created_by"PatientStepper99"
created_at"2026-10-18T13:45:50.695Z"
verifications
Empty array