//
// SetupShaderEffectPopup::updateDefaultTriggerValues from 0x68813c to 0x688230 (244 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:06 +0000
//
float __fastcall SetupShaderEffectPopup::updateDefaultTriggerValues(cocos2d::CCObject **this, int a2, int a3, int a4)
{
float result; // r0
int v6; // r6
cocos2d::CCObject **v7; // [sp+0h] [bp-10h] BYREF
int v8; // [sp+4h] [bp-Ch]
int v9; // [sp+8h] [bp-8h]
int v10; // [sp+Ch] [bp-4h]
v7 = this;
v8 = a2;
v9 = a3;
v10 = a4;
SetupTriggerPopup::updateDefaultTriggerValues(this);
result = COERCE_FLOAT(cocos2d::CCDictionary::objectForKey(*(this + 144), 51));
v6 = LODWORD(result);
if ( result != 0.0 )
{
if ( (*((float (__fastcall **)(cocos2d::CCObject **, int))*this + 183))(this, 138) == 0.0 )
{
if ( (*((float (__fastcall **)(cocos2d::CCObject **, int))*this + 183))(this, 200) == 0.0 )
{
result = (*((float (__fastcall **)(cocos2d::CCObject **, int))*this + 183))(this, 201);
if ( result == 0.0 )
return result;
v7 = nullptr;
v8 = 0;
v9 = 0;
std::string::__init((int *)&v7, "C", 1u);
CCTextInputNode::setString(v6, (int)&v7);
}
else
{
v7 = nullptr;
v8 = 0;
v9 = 0;
std::string::__init((int *)&v7, "P2", 2u);
CCTextInputNode::setString(v6, (int)&v7);
}
}
else
{
v7 = nullptr;
v8 = 0;
v9 = 0;
std::string::__init((int *)&v7, "P1", 2u);
CCTextInputNode::setString(v6, (int)&v7);
}
return COERCE_FLOAT(std::string::~string((int)&v7));
}
return result;
}