//
// SetupTriggerPopup::updateCustomEaseLabel from 0x545c0c to 0x545cc8 (188 bytes)
//
// 2 xrefs:
// > SetupTriggerPopup::createCustomEasingControls @ 0x5462e0
// > SetupTriggerPopup::onCustomEaseArrow @ 0x548918
//
// 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 SetupTriggerPopup::updateCustomEaseLabel(SetupTriggerPopup *a1, int a2, int a3)
{
cocos2d::CCObject *v6; // r0
cocos2d::CCLabelBMFont *v7; // r4
cocos2d::CCObject *v8; // r0
float v9; // s15
cocos2d::CCDataVisitor *v10; // [sp+4h] [bp-10h] BYREF
GameToolbox v11; // [sp+8h] [bp-Ch] BYREF
sub_776584((int)&v10, "Mixed");
if ( a3 != -99999 )
{
GameToolbox::easeToText(&v11, a3);
sub_774794(&v10, &v11);
sub_774008(&v11);
}
v6 = cocos2d::CCDictionary::objectForKey(a1->m_customEasingLabels, a2);
v7 = (cocos2d::CCLabelBMFont *)v6;
if ( v6 )
{
v6->__vftable[11].acceptVisitor(v6, v10);
v8 = cocos2d::CCDictionary::objectForKey(a1->m_customEasingScales, a2);
if ( v8 )
v9 = *(float *)&v8[1].__vftable;
else
v9 = 1.0;
cocos2d::CCLabelBMFont::limitLabelWidth(v7, v9 * 150.0, v9 * 0.7, 0.0);
}
sub_774008(&v10);
}