//
// SetupTeleportPopup::valueDidChange from 0x68065a to 0x6806e0 (134 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:56:01 +0000
//
cocos2d::CCDictionary **__fastcall SetupTeleportPopup::valueDidChange(cocos2d::CCDictionary **this, int a2, int a3)
{
cocos2d::CCDictionary **v3; // r4
float v4; // s16
int v5; // r1
cocos2d::CCDictionary **v6; // r0
int (__fastcall *v7)(cocos2d::CCDictionary **, int, int); // r3
bool v8; // zf
v3 = this;
v4 = *(float *)&a3;
if ( a2 == 345 )
{
if ( *(float *)&a3 != 0.0 )
SetupTriggerPopup::updateValue(this, 347, 0.0);
v5 = 1;
v6 = v3;
v7 = *((int (__fastcall **)(cocos2d::CCDictionary **, int, int))*v3 + 169);
v8 = v4 == 0.0;
if ( v4 != 0.0 )
a3 = 1;
}
else
{
a3 = 347;
if ( a2 != 347 )
return this;
if ( v4 != 0.0 )
SetupTriggerPopup::updateValue(this, 345, 0.0);
v6 = v3;
v5 = 2;
v7 = *((int (__fastcall **)(cocos2d::CCDictionary **, int, int))*v3 + 169);
v8 = v4 == 0.0;
if ( v4 != 0.0 )
a3 = 1;
}
if ( v8 )
*(float *)&a3 = 0.0;
return (cocos2d::CCDictionary **)v7(v6, v5, a3);
}