//
// SetupTriggerPopup::updateEaseLabel from 0x67b74c to 0x67b81e (210 bytes)
//
// 3 xrefs:
// > SetupTriggerPopup::createEasingControls @ 0x67bd2a
// > SetupTriggerPopup::onEase @ 0x67e836
// > EasingSelectPopup::onCell @ 0x779f24
//
// 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::updateEaseLabel(SetupTriggerPopup *this)
{
int v2; // r1
int v3; // r0
int v4; // r1
char *v5; // r2
char *v6; // r1
int v8; // [sp+4h] [bp-20h] BYREF
int v9; // [sp+8h] [bp-1Ch]
char *v10; // [sp+Ch] [bp-18h]
int v11; // [sp+10h] [bp-14h] BYREF
int v12; // [sp+14h] [bp-10h]
char *v13; // [sp+18h] [bp-Ch]
v8 = 0;
v9 = 0;
v10 = nullptr;
std::string::__init(&v8, "Mixed", 5u);
v2 = *((_DWORD *)this + 151);
if ( v2 != -99999 )
{
GameToolbox::easeToText((GameToolbox *)&v11, v2);
if ( (v8 & 1) != 0 )
{
*v10 = 0;
v9 = 0;
}
else
{
LOWORD(v8) = 0;
}
std::string::reserve(&v8, 0);
v3 = v11;
v4 = v12;
v5 = v13;
v11 = 0;
v12 = 0;
v13 = nullptr;
v8 = v3;
v9 = v4;
v10 = v5;
std::string::~string((int)&v11);
}
if ( (v8 & 1) != 0 )
v6 = v10;
else
v6 = (char *)&v8 + 1;
(*(void (__fastcall **)(_DWORD, char *, int))(**((_DWORD **)this + 148) + 464))(
*((_DWORD *)this + 148),
v6,
(unsigned __int8)v8 << 31);
cocos2d::CCLabelBMFont::limitLabelWidth(
*((cocos2d::CCLabelBMFont **)this + 148),
*((float *)this + 166) * 150.0,
*((float *)this + 166) * 0.7,
0.0);
return std::string::~string((int)&v8);
}