//
// SetupTeleportPopup::onTeleportGravity from 0x140461c00 to 0x140461c90 (144 bytes)
//
// 2 xrefs:
// > SetupTeleportPopup::init @ 0x14046149e
// > ??> @ 0x1406dae38
//
// 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 SetupTeleportPopup::onTeleportGravity(SetupTeleportPopup *a1, cocos2d::CCObject *a2)
{
int v4; // ebx
int v5; // eax
int v6; // edi
struct cocos2d::CCFloat *v7; // rax
v4 = (int)a1->getValue(a1, 354);
v5 = a2->getTag(a2);
v6 = 0;
if ( v4 != v5 )
v6 = v5;
v7 = cocos2d::CCFloat::create((float)v6);
cocos2d::CCDictionary::setObject(a1->m_triggerValues, v7, 354);
SetupTriggerPopup::valueChanged(a1, 354, (float)v6);
SetupTeleportPopup::updateTeleportGravityState(a1, v6);
}