//
// SetupCameraOffsetTrigger::updateEasingLabel from 0x100190458 to 0x100190514 (188 bytes)
//
// 2 xrefs:
// > SetupCameraOffsetTrigger::init @ 0x10018fce8
// > SetupCameraOffsetTrigger::onEasing @ 0x100190154
//
// 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 SetupCameraOffsetTrigger::updateEasingLabel(SetupCameraOffsetTrigger *a1)
{
EasingType m_cameraEasingType; // w0
void **v3; // x1
__int128 v4; // [xsp+8h] [xbp-48h] BYREF
__int64 v5; // [xsp+18h] [xbp-38h]
void *__p[2]; // [xsp+20h] [xbp-30h] BYREF
__int64 v7; // [xsp+30h] [xbp-20h]
sub_100009900(__p, "Mixed");
m_cameraEasingType = a1->m_cameraEasingType;
if ( m_cameraEasingType != -99999 )
{
GameToolbox::easeToText(m_cameraEasingType, &v4);
if ( SHIBYTE(v7) < 0 )
operator delete(__p[0]);
*(_OWORD *)__p = v4;
v7 = v5;
}
if ( v7 >= 0 )
v3 = __p;
else
v3 = (void **)__p[0];
((void (__fastcall *)(cocos2d::CCLabelBMFont *, void **))a1->m_cameraEasingLabel->setString)(
a1->m_cameraEasingLabel,
v3);
cocos2d::CCLabelBMFont::limitLabelWidth(a1->m_cameraEasingLabel, 150.0, 0.7, 0.0);
if ( SHIBYTE(v7) < 0 )
operator delete(__p[0]);
}