#include "MetroidPrime/Tweaks/CTweakGui.hpp"

#include "Kyoto/Streams/CInputStream.hpp"

CTweakGui::CTweakGui(CInputStream& in)
: x4_(in.ReadBool())
, x8_mapAlphaInterp(in.ReadFloat())
, xc_pauseBlurFactor(in.ReadFloat())
, x10_radarXYRadius(in.ReadFloat())
, x14_(in.ReadFloat())
, x18_(in.ReadFloat())
, x1c_(in.ReadFloat())
, x20_(in.ReadFloat())
, x24_radarZRadius(in.ReadFloat())
, x28_radarZCloseRadius(in.ReadFloat())
, x2c_(0)
, x30_(in.ReadFloat())
, x34_energyBarFilledSpeed(in.ReadFloat())
, x38_energyBarShadowSpeed(in.ReadFloat())
, x3c_energyBarDrainDelay(in.ReadFloat())
, x40_energyBarAlwaysResetDelay(in.ReadBool())
, x44_hudDamagePracticalsGainConstant(in.ReadFloat())
, x48_hudDamagePracticalsGainLinear(in.ReadFloat())
, x4c_hudDamagePracticalsInitConstant(in.ReadFloat())
, x50_hudDamagePracticalsInitLinear(in.ReadFloat())
, x54_hudDamageLightSpotAngle(in.ReadFloat())
, x58_damageLightAngleC(in.ReadFloat())
, x5c_damageLightAngleL(in.ReadFloat())
, x60_damageLightAngleQ(in.ReadFloat())
, x64_damageLightPreTranslate(in)
, x70_damageLightCenterTranslate(in)
, x7c_damageLightXfXAngle(in.ReadFloat())
, x80_damageLightXfZAngle(in.ReadFloat())
, x84_hudDecoShakeTranslateVelConstant(in.ReadFloat())
, x88_hudDecoShakeTranslateVelLinear(in.ReadFloat())
, x8c_maxDecoDamageShakeTranslate(in.ReadFloat())
, x90_decoDamageShakeDeceleration(in.ReadFloat())
, x94_decoShakeGainConstant(in.ReadFloat())
, x98_decoShakeGainLinear(in.ReadFloat())
, x9c_decoShakeInitConstant(in.ReadFloat())
, xa0_decoShakeInitLinear(in.ReadFloat())
, xa4_maxDecoDamageShakeRotate(in.ReadFloat())
, xa8_hudCamFovTweak(in.ReadInt32())
, xac_hudCamYTweak(in.ReadInt32())
, xb0_hudCamZTweak(in.ReadInt32())
, xb4_(in.ReadFloat())
, xb8_(in.ReadFloat())
, xbc_(in.ReadFloat())
, xc0_beamVisorMenuAnimTime(in.ReadFloat())
, xc4_visorBeamMenuItemActiveScale(in.ReadFloat())
, xc8_visorBeamMenuItemInactiveScale(in.ReadFloat())
, xcc_visorBeamMenuItemTranslate(in.ReadFloat())
, xd0_(in.ReadFloat())
, xd4_(in.ReadInt32())
, xd8_((in.ReadFloat() * 0.002777778f) * 6.283185f)
, xdc_((in.ReadFloat() * 0.002777778f) * 6.283185f)
, xe0_(in.ReadFloat())
, xe4_threatRange(in.ReadFloat())
, xe8_radarScopeCoordRadius(in.ReadFloat())
, xec_radarPlayerPaintRadius(in.ReadFloat())
, xf0_radarEnemyPaintRadius(in.ReadFloat())
, xf4_missileArrowVisTime(in.ReadFloat())
, xf8_hudVisMode((EHudVisMode)in.ReadInt32())
, xfc_helmetVisMode((EHelmetVisMode)in.ReadInt32())
, x100_enableAutoMapper(in.ReadInt32())
, x104_(in.ReadInt32())
, x108_enableTargetingManager(in.ReadInt32())
, x10c_enablePlayerVisor(in.ReadInt32())
, x110_threatWarningFraction(in.ReadFloat())
, x114_missileWarningFraction(in.ReadFloat())
, x118_freeLookFadeTime(in.ReadFloat())
, x11c_(in.ReadFloat())
, x120_(in.ReadFloat())
, x124_(in.ReadFloat())
, x128_(in.ReadFloat())
, x12c_freeLookSfxPitchScale(in.ReadFloat())
, x130_noAbsoluteFreeLookSfxPitch(in.ReadBool())
, x134_(in.ReadFloat())
, x138_(in.ReadFloat())
, x13c_faceReflectionOrthoWidth(in.ReadInt32())
, x140_faceReflectionOrthoHeight(in.ReadInt32())
, x144_faceReflectionDistance(in.ReadInt32())
, x148_faceReflectionHeight(in.ReadInt32())
, x14c_faceReflectionAspect(in.ReadInt32())
, x150_(in)
, x160_(in)
, x170_(in)
, x180_(in)
, x190_(in)
, x1a0_missileWarningPulseTime(in.ReadFloat())
, x1a4_explosionLightFalloffMultConstant(in.ReadFloat())
, x1a8_explosionLightFalloffMultLinear(in.ReadFloat())
, x1ac_explosionLightFalloffMultQuadratic(in.ReadFloat())
, x1b0_(in.ReadFloat())
, x1b4_hudDamagePeakFactor(in.ReadFloat())
, x1b8_hudDamageFilterGainConstant(in.ReadFloat())
, x1bc_hudDamageFilterGainLinear(in.ReadFloat())
, x1c0_hudDamageFilterInitConstant(in.ReadFloat())
, x1c4_hudDamageFilterInitLinear(in.ReadFloat())
, x1c8_energyDrainModPeriod(in.ReadFloat())
, x1cc_energyDrainSinusoidalPulse(in.ReadBool())
, x1cd_energyDrainFilterAdditive(in.ReadBool())
, x1d0_hudDamagePulseDuration(in.ReadFloat())
, x1d4_hudDamageColorGain(in.ReadFloat())
, x1d8_hudDecoShakeTranslateGain(in.ReadFloat())
, x1dc_hudLagOffsetScale(in.ReadFloat())
, x1e0_(in.ReadFloat())
, x1e4_(in.ReadFloat())
, x1e8_(in.ReadFloat())
, x1ec_(in.ReadFloat())
, x1f0_(in.ReadFloat())
, x1f4_(in.ReadFloat())
, x1f8_(in.ReadFloat())
, x1fc_(in.ReadFloat())
, x200_(x1f4_ * 0.25f, x1f8_ * 0.25f, x1fc_ * 0.25f)
, x204_xrayBlurScaleLinear(0.0014f)
, x208_xrayBlurScaleQuadratic(0.0000525f)
, x20c_(in.ReadFloat()) {}
