//
// SetupTriggerPopup::updateCustomEaseLabel from 0x1002252c0 to 0x10022539c (220 bytes)
//
// 5 xrefs:
// > SetupTriggerPopup::createCustomEasingControls @ 0x100225034
// > SetupTriggerPopup::onCustomEaseArrowUp @ 0x1002251e1
// > SetupTriggerPopup::onCustomEaseArrowDown @ 0x100225282
// > SetupTriggerPopup::onCustomEaseArrow @ 0x100225539
// > sub_1008DD540 @ 0x1008dd5a6
//
// This function is hookable on this platform (idp: pc, 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 12:27:04 +0000
//
void __fastcall SetupTriggerPopup::updateCustomEaseLabel(__int64 a1, __int64 a2, int a3)
{
__int64 v3; // rbx
char v4; // al
char *v5; // rsi
__int64 v6; // rax
float v7; // xmm1_4
__int128 v8; // [rsp+8h] [rbp-48h] BYREF
void *v9; // [rsp+18h] [rbp-38h]
__int128 v10; // [rsp+20h] [rbp-30h] BYREF
void *__p; // [rsp+30h] [rbp-20h]
strcpy((char *)&v10, "\nMixed");
if ( a3 != -99999 )
{
GameToolbox::easeToText(&v8);
__p = v9;
v10 = v8;
}
v3 = cocos2d::CCDictionary::objectForKey_1(*(_QWORD *)(a1 + 944));
v4 = v10;
if ( v3 )
{
if ( (v10 & 1) != 0 )
v5 = (char *)__p;
else
v5 = (char *)&v10 + 1;
(*(void (__fastcall **)(__int64, char *))(*(_QWORD *)v3 + 928LL))(v3, v5);
v6 = cocos2d::CCDictionary::objectForKey_1(*(_QWORD *)(a1 + 960));
if ( v6 )
v7 = *(float *)(v6 + 56);
else
v7 = 1.0;
cocos2d::CCLabelBMFont::limitLabelWidth(v3, 150.0 * v7, v7 * 0.69999999, 0.0);
v4 = v10;
}
if ( (v4 & 1) != 0 )
operator delete(__p);
}