benilla-re systems structs docs

ffxeffects

rowsnamedverifiedproof twotested
functions113113 (100%)113 (100%)0 (0%)7 (6%)
globals5151 (100%)48 (94%)0 (0%)–
structs11 (100%)1 (100%)0 (0%)–
fields77 (100%)7 (100%)0 (0%)–
all172172 (100%)169 (98%)0 (0%)7 (6%)

Docs

ffxeffects: pass objects and effects

The objects that make an effect: the FFX::Pass base and its subclasses, the effects that own lists of passes, the pass list container, the effects' start-up and shutdown and the bracket that runs the current effect around the world paint.

ffxeffects: overview

The full-screen effects: the glow (with its underwater variant) and the death tint, drawn as a chain of passes between the world and the screen. The code only prepares each pass; the blur, glow and tint are the device's fragment programs.

It is one object file, 0x6ca9d0 through 0x6cdf20, which carries the source path FFXEffects.cpp (0x86f1c4); the passes have no assertions, so the first reference to the path is 0x6cbed3. Its initializers are the twelve slots 0x82cdb4 to 0x82cde0. The classes are FFX::Pass (the type tag .PAVPass@FFX@@, 0x86f228) and its subclasses, one per program: FFXBox4, FFXGauss4, FFXGlow, FFXGlowWave and three death programs. The effect objects own lists of passes; 0x6cd890 and 0x6cda70 bracket the world paint with the current effect.

The docs split by topic: objects (the pass and effect objects, their lists, start-up, shutdown and the bracket around the world paint), targets (the render targets, the pass draw state and the quad) and passes (the blurs, the glow combine and its underwater variant, the drunk byte readers and the death passes). This doc holds the object file and its static initializers.

ffxeffects: the passes

The passes themselves: the box and Gauss blurs, the glow combine and its underwater variant with the wave map, the readers of the drunk byte that feed the combine, and the death passes.

ffxeffects: render targets and the quad

The render targets the passes draw between and the quad every pass draws: their sizes and allocation, the draw state a pass sets up and the full-screen quad with its texture coordinates.

Closure

19 roots. A walk of direct calls and jumps from them reaches 58 of the 113 functions the system owns, and stops at 23 functions of other systems. Vtable slots and stored addresses are not followed, so a function reached only that way is not counted.

Roots

Boundary

Functions 113

addressnameclassconfidencetestclosure
0x6ca9d0ConstructBox4Passorchestrationverified, proof one✓
0x6caa30DeleteBox4Passorchestrationverified, proof one
0x6caa60DestroyBox4Passorchestrationverified, proof one
0x6caa90FFX::Pass::DeletingDestructororchestrationverified, proof one
0x6caac0Box4PassIsReadyorchestrationverified, proof one
0x6caae0RenderBox4Passorchestrationverified, proof one
0x6cac20Box4TapsExitorchestrationverified, proof one
0x6cac30ConstructGauss4Passorchestrationverified, proof one✓
0x6cac90DeleteGauss4Passorchestrationverified, proof one
0x6cacc0DestroyGauss4Passorchestrationverified, proof one
0x6cacf0Gauss4PassIsReadyorchestrationverified, proof one
0x6cad10RenderGauss4Passprimitiveverified, proof one
0x6caf40ConstructGlowPassorchestrationverified, proof one✓
0x6cafa0DeleteGlowPassorchestrationverified, proof one
0x6cafd0DestroyGlowPassorchestrationverified, proof one
0x6cb000GlowPassIsReadyorchestrationverified, proof one
0x6cb020RenderGlowPassprimitiveverified, proof one✓
0x6cb1f0ConstructGlowWavePassorchestrationverified, proof one✓
0x6cb290DeleteGlowWavePassorchestrationverified, proof one
0x6cb2c0DestroyGlowWavePassorchestrationverified, proof one
0x6cb2f0GlowWavePassIsReadyorchestrationverified, proof one
0x6cb310RenderGlowWavePassprimitiveverified, proof one✓
0x6cb7e0ConstructDeathPassorchestrationverified, proof one✓
0x6cb890DeleteDeathPassorchestrationverified, proof one
0x6cb8c0DestroyDeathPassorchestrationverified, proof one
0x6cb910DeathPassIsReadyorchestrationverified, proof one
0x6cb930RenderDeathPassprimitiveverified, proof one✓
0x6cba60ConstructDeathCombinerPassorchestrationverified, proof one✓
0x6cbaa0DeleteDeathCombinerPassorchestrationverified, proof one
0x6cbad0DestroyDeathCombinerPassorchestrationverified, proof one
0x6cbaf0DeathCombinerPassIsReadyorchestrationverified, proof one
0x6cbb00RenderDeathCombinerPassorchestrationverified, proof one
0x6cbbc0InitWaveMapFieldsThunkorchestrationverified, proof one✓
0x6cbbd0InitWaveMapFieldsorchestrationverified, proof one✓
0x6cbc00RegisterWaveMapFieldsExitorchestrationverified, proof one✓
0x6cbc10ExitWaveMapFieldsorchestrationverified, proof one
0x6cbc30InitGlowWavePeriodsThunkorchestrationverified, proof one✓
0x6cbc40InitGlowWavePeriodsorchestrationverified, proof one✓
0x6cbc60RegisterGlowWavePeriodsExitorchestrationverified, proof one✓
0x6cbc70ExitGlowWavePeriodsorchestrationverified, proof one
0x6cbc90InitGlowWaveScalesThunkorchestrationverified, proof one✓
0x6cbca0InitGlowWaveScalesorchestrationverified, proof one✓
0x6cbcc0RegisterGlowWaveScalesExitorchestrationverified, proof one✓
0x6cbcd0ExitGlowWaveScalesorchestrationverified, proof one
0x6cbcf0ConstructWaveMapPassorchestrationverified, proof one✓
0x6cbe00DeleteWaveMapPassorchestrationverified, proof one
0x6cbe30DestroyWaveMapPassorchestrationverified, proof one
0x6cbea0WaveMapTexelCallbackprimitiveverified, proof one✓
0x6cc130ConstructGlowEffectorchestrationverified, proof one✓
0x6cc4a0DeleteGlowEffectorchestrationverified, proof one
0x6cc4d0DestroyGlowEffectorchestrationverified, proof one
0x6cc560DeleteFfxEffectorchestrationverified, proof one
0x6cc5a0GlowEffectIsReadyorchestrationverified, proof one
0x6cc630RenderGlowEffectorchestrationverified, proof one
0x6cc690ConstructDeathEffectorchestrationverified, proof one✓
0x6cc8c0DeleteDeathEffectorchestrationverified, proof one
0x6cc8f0DestroyDeathEffectorchestrationverified, proof one
0x6cc940ReservePassListprimitiveverified, proof one✓
0x6cca30PassListQuantumprimitiveverified, proof one✓
0x6cca70AlignUpToQuantumprimitiveverified, proof one✓
0x6cca90SetPassListCapacityhostverified, proof one✓
0x6ccb20InitScreenTargetThunkorchestrationverified, proof one✓
0x6ccb30InitScreenTargetorchestrationverified, proof one✓
0x6ccb60RegisterScreenTargetExitorchestrationverified, proof one✓
0x6ccb70ExitScreenTargetorchestrationverified, proof one
0x6ccb90InitFullTargetsThunkorchestrationverified, proof one✓
0x6ccba0InitFullTargetsorchestrationverified, proof one✓
0x6ccbd0RegisterFullTargetsExitorchestrationverified, proof one✓
0x6ccbe0ExitFullTargetsorchestrationverified, proof one
0x6ccc00InitHalfTargetsThunkorchestrationverified, proof one✓
0x6ccc10InitHalfTargetsorchestrationverified, proof one✓
0x6ccc40RegisterHalfTargetsExitorchestrationverified, proof one✓
0x6ccc50ExitHalfTargetsorchestrationverified, proof one
0x6ccc70InitQuarterTargetsThunkorchestrationverified, proof one✓
0x6ccc80InitQuarterTargetsorchestrationverified, proof one✓
0x6cccb0RegisterQuarterTargetsExitorchestrationverified, proof one✓
0x6cccc0ExitQuarterTargetsorchestrationverified, proof one
0x6ccce0InitQuadPositionsThunkorchestrationverified, proof one✓
0x6cccf0InitQuadPositionsorchestrationverified, proof one✓
0x6ccd10RegisterQuadPositionsExitorchestrationverified, proof one✓
0x6ccd20ExitQuadPositionsorchestrationverified, proof one
0x6ccd40InitQuadOffsetsThunkorchestrationverified, proof one✓
0x6ccd50InitQuadOffsetsorchestrationverified, proof one✓
0x6ccd70RegisterQuadOffsetsExitorchestrationverified, proof one✓
0x6ccd80ExitQuadOffsetsorchestrationverified, proof one
0x6ccda0InitStripDrawDescThunkorchestrationverified, proof one✓
0x6ccdb0InitStripDrawDescorchestrationverified, proof one✓
0x6ccde0InitSavedProjectionThunkorchestrationverified, proof one✓
0x6ccdf0InitSavedProjectionorchestrationverified, proof one✓
0x6ccea0RegisterSavedProjectionExitorchestrationverified, proof one✓
0x6cceb0ExitSavedProjectionorchestrationverified, proof one
0x6cced0InitSavedViewThunkorchestrationverified, proof one✓
0x6ccee0InitSavedVieworchestrationverified, proof one✓
0x6ccf90RegisterSavedViewExitorchestrationverified, proof one✓
0x6ccfa0ExitSavedVieworchestrationverified, proof one
0x6ccfc0FFXInitializeorchestrationverified, proof one✓
0x6cd1d0FFXShutdownorchestrationverified, proof one✓
0x6cd390ResetTargetDescriptororchestrationverified, proof one✓
0x6cd3c0BeginPassTargetprimitiveverified, proof one
0x6cd580BuildFullScreenQuadprimitiveverified, proof one✓
0x6cd750BuildQuadVerticesprimitiveverified, proof one✓
0x6cd810SetStripIndicesorchestrationverified, proof one
0x6cd840EndPassTargetorchestrationverified, proof one
0x6cd890BeginCurrentFfxprimitiveverified, proof one✓
0x6cda70EndCurrentFfxorchestrationverified, proof one✓
0x6cdb10GetTargetModeorchestrationverified, proof one✓
0x6cdb40ComputeTargetSizesprimitiveverified, proof one✓✓
0x6cdcb0AllocateTargetprimitiveverified, proof one✓
0x6cde30FfxCVarCallbackorchestrationverified, proof one
0x6cde60SetCurrentFfxorchestrationverified, proof one✓
0x6cde70FFX::Pass::Passorchestrationverified, proof one✓
0x6cded0EffectIsReadyorchestrationverified, proof one
0x6cdf20RenderEffectorchestrationverified, proof one

Globals 51

addressnametypeconfidence
0x80c488s_drunkEffectThresholdconst floatverified, proof one
0x811310s_maxSignedBytefloatverified, proof one
0x81147cs_ffxThreefloatverified, proof one
0x811480s_box4PassVtablevoid *[3]verified, proof one
0x81148cFFX::Pass::vftablevoid *[3]verified, proof one
0x811498s_gauss4PassVtablevoid *[3]verified, proof one
0x8114a4s_glowPassVtablevoid *[3]verified, proof one
0x8114b4s_glowWavePassVtablevoid *[3]verified, proof one
0x8114c0s_deathPassVtablevoid *[3]verified, proof one
0x8114ccs_deathCombinerPassVtablevoid *[3]verified, proof one
0x8114d8s_waveMapPassVtablevoid *[3]verified, proof one
0x8114e4s_glowEffectVtablevoid *[3]verified, proof one
0x8114f0s_ffxEffectVtablevoid *[3]verified, proof one
0x8114fcs_deathEffectVtablevoid *[3]verified, proof one
0x86f1c4s_pathFfxEffectschar[60]verified, proof one
0x86f200s_textFfxGlowchar[8]inferred
0x86f228s_tagFfxPasschar[15]verified, proof one
0x86f238s_textFfxDeathchar[9]inferred
0x86f260s_stripIndicesuint16_t[4]verified, proof one
0x86f268s_onefloatverified, proof one
0x86f2acs_textFfxchar[4]inferred
0xce898cs_waveMapBuffervoid *verified, proof one
0xce8994s_waveMapFormatuint32_tverified, proof one
0xce8998s_waveMapUsersuint32_tverified, proof one
0xce899cs_waveMapExitFlagsuint8_tverified, proof one
0xce89a0s_waveMapTargetFfxRenderTargetverified, proof one
0xce89bcs_glowWaveScaleXfloatverified, proof one
0xce89c0s_glowWaveScaleYfloatverified, proof one
0xce89c4s_glowWavePeriodAint32_tverified, proof one
0xce89c8s_glowWavePeriodBint32_tverified, proof one
0xce89ccs_box4Tapsfloat[8]verified, proof one
0xce89ecs_box4TapsFlagsuint8_tverified, proof one
0xce89f8s_ffxRectangleModeuint8_tverified, proof one
0xce89fcs_gxMultisampleVarvoid *verified, proof one
0xce8a00s_ffxRectangleVarvoid *verified, proof one
0xce8a04s_ffxVarvoid *verified, proof one
0xce8a08s_savedViewfloat[16]verified, proof one
0xce8a48s_savedProjectionfloat[16]verified, proof one
0xce8a88s_stripDrawDescuint32_t[4]verified, proof one
0xce8a98s_quadOffsetsfloat[8]verified, proof one
0xce8ab8s_quadPositionsfloat[12]verified, proof one
0xce8ae8s_quarterTargetFfxRenderTargetverified, proof one
0xce8b04s_quarterTarget2FfxRenderTargetverified, proof one
0xce8b20s_halfTargetFfxRenderTargetverified, proof one
0xce8b3cs_halfTarget2FfxRenderTargetverified, proof one
0xce8b58s_targetExitFlagsuint8_tverified, proof one
0xce8b5cs_fullTargetFfxRenderTargetverified, proof one
0xce8b78s_fullTarget2FfxRenderTargetverified, proof one
0xce8b94s_screenTargetExitFlagsuint8_tverified, proof one
0xce8b98s_screenTargetFfxRenderTargetverified, proof one
0xce8bb4s_currentFfxvoid *verified, proof one

Structs