//
// SetupTriggerPopup::updateCustomEaseRateLabel from 0x140615980 to 0x140615a94 (276 bytes)
//
// 4 xrefs:
// > EasingSelectPopup::valueDidChange @ 0x140176a48
// > SetupTriggerPopup::valuePopupClosed @ 0x140614dba
// > SetupTriggerPopup::createCustomEasingControls @ 0x1406154f6
// > ??> @ 0x1409300ec
//
// 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 11:35:17 +0000
//
// Hidden C++ exception states: #wind=1
void __fastcall SetupTriggerPopup::updateCustomEaseRateLabel(__int64 a1, int a2, float a3)
{
struct cocos2d::CCObject *v3; // rbx
cocos2d::CCString *v4; // rax
const char *CString; // rax
size_t v6; // r8
void **v7; // rdx
void *v8; // rcx
void *Block[2]; // [rsp+30h] [rbp-48h] BYREF
__int128 v10; // [rsp+40h] [rbp-38h]
v3 = cocos2d::CCDictionary::objectForKey(*(cocos2d::CCDictionary **)(a1 + 928), a2);
if ( v3 )
{
v4 = cocos2d::CCString::createWithFormat("%.02f", a3);
CString = cocos2d::CCString::getCString(v4);
*(_OWORD *)Block = 0;
v10 = 0;
v6 = -1;
do
++v6;
while ( CString[v6] );
sub_14003D230(Block, CString, v6);
v7 = Block;
if ( *((_QWORD *)&v10 + 1) > 0xFu )
v7 = (void **)Block[0];
(**((void (__fastcall ***)(__int64, void **))v3 + 45))((__int64)v3 + 360, v7);
if ( *((_QWORD *)&v10 + 1) > 0xFu )
{
v8 = Block[0];
if ( (unsigned __int64)(*((_QWORD *)&v10 + 1) + 1LL) >= 0x1000 )
{
v8 = *((void **)Block[0] - 1);
if ( (unsigned __int64)((char *)Block[0] - (char *)v8 - 8) > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
j_j_free(v8);
}
}
}