//
// SetupTriggerPopup::updateCustomEaseLabel from 0x10023fc00 to 0x10023fcdc (220 bytes)
//
// 4 xrefs:
// > SetupTriggerPopup::createCustomEasingControls @ 0x10023f97d
// > SetupTriggerPopup::onCustomEaseArrowUp @ 0x10023fb21
// > SetupTriggerPopup::onCustomEaseArrowDown @ 0x10023fbc2
// > SetupTriggerPopup::onCustomEaseArrow @ 0x10023fe79
//
// 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 v3; // r15
cocos2d::CCLabelBMFont *v4; // rbx
char v5; // al
char *v6; // rsi
cocos2d::CCObject *v7; // rax
float v8; // xmm1_4
__int128 v9; // [rsp+8h] [rbp-48h] BYREF
void *v10; // [rsp+18h] [rbp-38h]
__int128 v11; // [rsp+20h] [rbp-30h] BYREF
void *__p; // [rsp+30h] [rbp-20h]
strcpy((char *)&v11, "\nMixed");
if ( a3 != -99999 )
{
GameToolbox::easeToText(&v9);
__p = v10;
v11 = v9;
}
v3 = a2;
v4 = (cocos2d::CCLabelBMFont *)cocos2d::CCDictionary::objectForKey(a1->m_customEasingLabels, a2);
v5 = v11;
if ( v4 )
{
if ( (v11 & 1) != 0 )
v6 = (char *)__p;
else
v6 = (char *)&v11 + 1;
((void (__fastcall *)(cocos2d::CCLabelBMFont *, char *))v4->setString)(v4, v6);
v7 = cocos2d::CCDictionary::objectForKey(a1->m_customEasingScales, v3);
if ( v7 )
v8 = *(float *)&v7[1].__vftable;
else
v8 = 1.0;
cocos2d::CCLabelBMFont::limitLabelWidth(v4, 150.0 * v8, v8 * 0.69999999, 0.0);
v5 = v11;
}
if ( (v5 & 1) != 0 )
operator delete(__p);
}