//
// SetupShakePopup::updateShake from 0x1003a9f04 to 0x1003a9f6c (104 bytes)
//
// 2 xrefs:
// > SetupShakePopup::sliderChanged @ 0x1003a99d8
// > SetupShakePopup::textChanged @ 0x1003aa140
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall SetupShakePopup::updateShake(SetupShakePopup *a1)
{
EffectGameObject *m_gameObject; // x8
unsigned int v3; // w20
m_gameObject = a1->m_gameObject;
if ( m_gameObject )
{
m_gameObject->m_shakeStrength = a1->m_strength;
}
else if ( (unsigned int)sub_10024A36C((__int64)a1->m_gameObjects) )
{
v3 = 0;
do
*(float *)(sub_10024A388((__int64)a1->m_gameObjects, v3++) + 1476) = a1->m_strength;
while ( v3 < (unsigned int)sub_10024A36C((__int64)a1->m_gameObjects) );
}
}