PFX Hooks

From Burnout Wiki
PFXHookBundle
aka GuiPFXHook
No Example
Resource names PostFx\pfxhooks
Type ID 0x31
Category Generic
Memory
distribution
Main Memory only
Imports Unknown
Imported by Unknown
Editor
available?
No

The post FX hooks resource provides details for individual effects used by the game, such as the screen tint while paused.

The only resource is found in POSTFX/PFXHOOKS.PFX.

Structures

BrnGui::PFXHookBundle

32-bit

Offset Size Type Name Description Comments
0x0 0x4 int32_t miHookCount
0x4 0x4 int32_t miGroupCount
0x8 0x4 PFXHook** mpaHooks
0xC 0x4 PFXGroup** mpaGroups
0x10 0x4 size_t mSizeOfBundle

64-bit

Offset Size Type Name Description Comments
0x0 0x4 int32_t miHookCount
0x4 0x4 int32_t miGroupCount
0x8 0x8 PFXHook** mpaHooks
0x10 0x8 PFXGroup** mpaGroups
0x18 0x8 size_t mSizeOfBundle

BrnGui::PFXHook

32-bit

Offset Size Type Name Description Comments
0x0 0x20 char[32] macName
0x20 0x4 uint32_t muId
0x24 0x4 int32_t miPriority
0x28 0x4 uint32_t meTransitionMode
0x2C 0x4 float mfTransitionTime
0x30 0x1 uint8_t mbIsMenu
0x31 0x3 Padding
0x34 0x4 PFXHookNode** mpaNodes
0x38 0x4 int32_t miNodeCount

64-bit

Offset Size Type Name Description Comments
0x0 0x20 char[32] macName
0x20 0x4 uint32_t muId
0x24 0x4 int32_t miPriority
0x28 0x4 uint32_t meTransitionMode
0x2C 0x4 float mfTransitionTime
0x30 0x1 uint8_t mbIsMenu
0x31 0x7 Padding
0x38 0x8 PFXHookNode** mpaNodes
0x40 0x4 int32_t miNodeCount

BrnGui::PFXHookNode

32-bit

Offset Size Type Name Description Comments
0x0 0x4 float32_t mfStartTime
0x4 0x4 PFXGroup* mpGroup

64-bit

Offset Size Type Name Description Comments
0x0 0x4 float32_t mfStartTime
0x4 0x4 Padding
0x8 0x8 PFXGroup* mpGroup

BrnGui::PFXGroup

Offset Size Type Name Description Comments
0x0 0x4 int32_t miID PFXGroup index
0x4 0x4 float32_t mfFadeIn
0x8 0x4 float32_t mfFadeOut
0xC 0x4 float32_t mfDuration
0x10 0x1 uint8_t mbUseBloom
0x11 0x1 uint8_t mbUseVignette
0x12 0x1 uint8_t mbUseDepthOfField
0x13 0x1 uint8_t mbUseBlur
0x14 0x1 uint8_t mbUseTint2D
0x15 0x1 uint8_t mbUseTint3D
0x16 0x20 char[32] macBloomDataID
0x36 0x20 char[32] macVignetteDataID
0x56 0x20 char[32] macDepthOfFieldDataID
0x76 0x20 char[32] macBlurDataID
0x96 0x20 char[32] macTint2DDataID
0xB6 0x2 Padding
0xB8 0x8 uint64_t muTint3DResourceId