//
// SetupTriggerPopup::updateCustomEaseLabel from 0x67bda8 to 0x67be9e (246 bytes)
//
// 3 xrefs:
// > SetupTriggerPopup::createCustomEasingControls @ 0x67c3d0
// > SetupTriggerPopup::onCustomEaseArrow @ 0x67e938
// > EasingSelectPopup::onCell @ 0x779f38
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:55:59 +0000
//
int __fastcall SetupTriggerPopup::updateCustomEaseLabel(cocos2d::CCDictionary **this, int a2, int a3)
{
int v6; // r0
int v7; // r1
char *v8; // r2
cocos2d::CCLabelBMFont *v9; // r0
cocos2d::CCLabelBMFont *v10; // r5
char *v12; // r1
int v13; // r0
float v14; // s15
int v15; // [sp+4h] [bp-20h] BYREF
int v16; // [sp+8h] [bp-1Ch]
char *v17; // [sp+Ch] [bp-18h]
int v18; // [sp+10h] [bp-14h] BYREF
int v19; // [sp+14h] [bp-10h]
char *v20; // [sp+18h] [bp-Ch]
v15 = 0;
v16 = 0;
v17 = nullptr;
std::string::__init(&v15, "Mixed", 5u);
if ( a3 != -99999 )
{
GameToolbox::easeToText((GameToolbox *)&v18, a3);
if ( (v15 & 1) != 0 )
{
*v17 = 0;
v16 = 0;
}
else
{
LOWORD(v15) = 0;
}
std::string::reserve(&v15, 0);
v6 = v18;
v7 = v19;
v8 = v20;
v18 = 0;
v19 = 0;
v20 = nullptr;
v15 = v6;
v16 = v7;
v17 = v8;
std::string::~string((int)&v18);
}
v9 = (cocos2d::CCLabelBMFont *)cocos2d::CCDictionary::objectForKey(*(this + 169), a2);
v10 = v9;
if ( v9 )
{
if ( (v15 & 1) != 0 )
v12 = v17;
else
v12 = (char *)&v15 + 1;
(*(void (__fastcall **)(cocos2d::CCLabelBMFont *, char *, int))(*(_DWORD *)v9 + 464))(
v9,
v12,
(unsigned __int8)v15 << 31);
v13 = cocos2d::CCDictionary::objectForKey(*(this + 171), a2);
if ( v13 )
v14 = *(float *)(v13 + 52);
else
v14 = 1.0;
cocos2d::CCLabelBMFont::limitLabelWidth(v10, v14 * 150.0, v14 * 0.7, 0.0);
}
return std::string::~string((int)&v15);
}