//
// GJBaseGameLayer::triggerGravityChange from 0x85d184 to 0x85d1dc (88 bytes)
//
// 2 xrefs:
// > EffectGameObject::triggerObject @ 0x76fba4
// > ??> @ 0x4b030
//
// 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 GJBaseGameLayer::triggerGravityChange(GJBaseGameLayer *a1, EffectGameObject *a2, int a3)
{
if ( !a2->m_followCPP )
{
if ( !a2->m_targetPlayer2 )
a1->m_player1->m_gravityMod = a2->m_gravityValue;
if ( a2->m_targetPlayer1 )
return;
LABEL_8:
a1->m_player2->m_gravityMod = a2->m_gravityValue;
return;
}
if ( a3 == 1 )
{
a1->m_player1->m_gravityMod = a2->m_gravityValue;
return;
}
if ( a3 == 2 )
goto LABEL_8;
}