//
// SetupTriggerPopup::updateCustomEaseLabel from 0x100134d3c to 0x100134e44 (264 bytes)
//
// 2 xrefs:
// > SetupTriggerPopup::createCustomEasingControls @ 0x100134b40
// > SetupTriggerPopup::onCustomEaseArrow @ 0x100134fe8
//
// 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 __fastcall SetupTriggerPopup::updateCustomEaseLabel(SetupTriggerPopup *a1, int a2, int a3)
{
intptr_t v6; // x21
cocos2d::CCObject *v7; // x0
cocos2d::CCLabelBMFont *v8; // x20
void **v9; // x1
cocos2d::CCObject *v10; // x0
float v11; // s1
__int128 v12; // [xsp+8h] [xbp-58h] BYREF
__int64 v13; // [xsp+18h] [xbp-48h]
void *__p[2]; // [xsp+20h] [xbp-40h] BYREF
__int64 v15; // [xsp+30h] [xbp-30h]
sub_100009900(__p, "Mixed");
if ( a3 != -99999 )
{
GameToolbox::easeToText(a3, &v12);
if ( SHIBYTE(v15) < 0 )
operator delete(__p[0]);
*(_OWORD *)__p = v12;
v15 = v13;
}
v6 = a2;
v7 = cocos2d::CCDictionary::objectForKey(a1->m_customEasingLabels, a2);
v8 = (cocos2d::CCLabelBMFont *)v7;
if ( v7 )
{
if ( v15 >= 0 )
v9 = __p;
else
v9 = (void **)__p[0];
((void (__fastcall *)(cocos2d::CCObject *, void **))v7->__vftable[11].acceptVisitor)(v7, v9);
v10 = cocos2d::CCDictionary::objectForKey(a1->m_customEasingScales, v6);
if ( v10 )
v11 = *(float *)&v10[1].__vftable;
else
v11 = 1.0;
cocos2d::CCLabelBMFont::limitLabelWidth(v8, v11 * 150.0, v11 * 0.7, 0.0);
}
if ( SHIBYTE(v15) < 0 )
operator delete(__p[0]);
}