//
// SetupShaderEffectPopup::updateDefaultTriggerValues from 0xb32158 to 0xb322dc (388 bytes)
//
// 2 xrefs:
// > ??> @ 0x550d8
// > ??> @ 0x14b7f08
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:01:44 +0000
//
__int64 __fastcall SetupShaderEffectPopup::updateDefaultTriggerValues(cocos2d::CCDictionary **this)
{
_QWORD *v2; // x21
__int64 v4; // [xsp+30h] [xbp+30h] BYREF
__int64 v5; // [xsp+38h] [xbp+38h]
void *v6; // [xsp+40h] [xbp+40h]
SetupTriggerPopup::updateDefaultTriggerValues((SetupTriggerPopup *)this);
v2 = (_QWORD *)cocos2d::CCDictionary::objectForKey(*(this + 95), 51);
if ( v2 )
{
if ( (*((float (__fastcall **)(cocos2d::CCDictionary **, __int64))*this + 183))(this, 138) == 0.0 )
{
if ( (*((float (__fastcall **)(cocos2d::CCDictionary **, __int64))*this + 183))(this, 200) == 0.0 )
{
if ( (*((float (__fastcall **)(cocos2d::CCDictionary **, __int64))*this + 183))(this, 201) == 0.0 )
return _stack_chk_guard;
v4 = 0;
v5 = 0;
v6 = nullptr;
std::string::__init(&v4, "C", 1u);
CCTextInputNode::setString(v2, (char *)&v4);
}
else
{
v4 = 0;
v5 = 0;
v6 = nullptr;
std::string::__init(&v4, "P2", 2u);
CCTextInputNode::setString(v2, (char *)&v4);
}
}
else
{
v4 = 0;
v5 = 0;
v6 = nullptr;
std::string::__init(&v4, "P1", 2u);
CCTextInputNode::setString(v2, (char *)&v4);
}
if ( (v4 & 1) != 0 )
operator delete(v6);
}
return _stack_chk_guard;
}