//
// SetupTeleportPopup::onTeleportGravity from 0x10000c148 to 0x10000c1dc (148 bytes)
//
// 1 xrefs:
// > SetupTeleportPopup::init @ 0x10000b9b8
//
// 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 SetupTeleportPopup::onTeleportGravity(SetupTeleportPopup *a1, cocos2d::CCObject *a2)
{
int v4; // w21
int v5; // w0
int v6; // w19
cocos2d::CCDictionary *m_triggerValues; // x21
cocos2d::CCObject *v8; // x0
v4 = (int)((float (__fastcall *)(SetupTeleportPopup *, __int64))a1->getValue)(a1, 354);
v5 = ((__int64 (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2);
if ( v5 == v4 )
v6 = 0;
else
v6 = v5;
m_triggerValues = a1->m_triggerValues;
v8 = (cocos2d::CCObject *)sub_10000C340((float)v6);
cocos2d::CCDictionary::setObject(m_triggerValues, v8, 354);
SetupTriggerPopup::valueChanged(a1, 354, (float)v6);
SetupTeleportPopup::updateTeleportGravityState(a1, v6);
}