//
// SetupInstantCollisionTriggerPopup::updateSpecialNodes from 0x4f57d4 to 0x4f5964 (400 bytes)
//
// 2 xrefs:
// > SetupInstantCollisionTriggerPopup::valueDidChange @ 0x4f5988
// > SetupInstantCollisionTriggerPopup::updateDefaultTriggerValues @ 0x4f599c
//
// 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 SetupInstantCollisionTriggerPopup::updateSpecialNodes(SetupInstantCollisionTriggerPopup *a1)
{
float v2; // s15
float v3; // s16
float v4; // s17
cocos2d::CCObject *v5; // r6
char *v6; // r2
char *v7; // r2
float v8; // r0
cocos2d::CCObject *v9; // r6
char *v10; // r2
float v11; // r0
GameToolbox v12; // [sp+8h] [bp-8h] BYREF
v2 = COERCE_FLOAT(((int (__fastcall *)(SetupInstantCollisionTriggerPopup *, int))a1->getValue)(a1, 201));
v3 = COERCE_FLOAT(((int (__fastcall *)(SetupInstantCollisionTriggerPopup *, int))a1->getValue)(a1, 138));
v4 = COERCE_FLOAT(((int (__fastcall *)(SetupInstantCollisionTriggerPopup *, int))a1->getValue)(a1, 200));
v5 = cocos2d::CCDictionary::objectForKey(a1->m_inputNodes, 80);
if ( v5 )
{
if ( v2 == 0.0 )
{
if ( v3 == 0.0 )
{
if ( v4 == 0.0 )
{
v8 = a1->getValue(a1, 80);
GameToolbox::intToString(&v12, (int)v8);
}
else
{
sub_776584((int)&v12, "P2");
}
}
else if ( v4 == 0.0 )
{
sub_776584((int)&v12, "P1");
}
else
{
sub_776584((int)&v12, "P");
}
CCTextInputNode::setString((int)v5, (char *)&v12, v7);
}
else
{
sub_776584((int)&v12, "P1");
CCTextInputNode::setString((int)v5, (char *)&v12, v6);
}
sub_774008(&v12);
}
v9 = cocos2d::CCDictionary::objectForKey(a1->m_inputNodes, 95);
if ( v9 )
{
if ( v2 == 0.0 )
{
v11 = a1->getValue(a1, 95);
GameToolbox::intToString(&v12, (int)v11);
}
else
{
sub_776584((int)&v12, "P2");
}
CCTextInputNode::setString((int)v9, (char *)&v12, v10);
sub_774008(&v12);
}
}