//
// SetupTriggerPopup::onCustomEaseRate from 0xb1ec50 to 0xb1eddc (396 bytes)
//
// 3 xrefs:
// > ??> @ 0xc6d48
// > SetupTriggerPopup::createCustomEasingControls @ 0xb22510
// > ??> @ 0x1545ce8
//
// This function is hookable on this platform (idp: arm, 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 13:01:35 +0000
//
__int64 __fastcall SetupTriggerPopup::onCustomEaseRate(SetupTriggerPopup *this, cocos2d::CCObject *a2)
{
float (__fastcall *v4)(SetupTriggerPopup *, _QWORD); // x25
unsigned int v5; // w0
float v6; // s8
__int64 v7; // x20
cocos2d::CCObject *v8; // x0
__int64 (__fastcall *v9)(cocos2d::CCObject *); // x1
void (__fastcall *v10)(__int64, _QWORD); // x21
unsigned int v11; // w0
__int64 v13[2]; // [xsp+58h] [xbp+58h] BYREF
void *v14; // [xsp+68h] [xbp+68h]
__int64 v15[2]; // [xsp+70h] [xbp+70h] BYREF
void *v16; // [xsp+80h] [xbp+80h]
v4 = *(float (__fastcall **)(SetupTriggerPopup *, _QWORD))(*(_QWORD *)this + 1464LL);
v5 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2);
v13[0] = 0;
v6 = v4(this, v5);
v13[1] = 0;
v14 = nullptr;
std::string::__init(v13, "Easing Rate", 0xBu);
v15[0] = 0;
v15[1] = 0;
v16 = nullptr;
std::string::__init(v15, &byte_11B8890, 0);
v7 = ConfigureValuePopup::create((__int64)this + 664, (char *)v13, (char *)v15, 0, v6, 0.1, 4.0);
if ( (v15[0] & 1) != 0 )
operator delete(v16);
if ( (v13[0] & 1) != 0 )
operator delete(v14);
v8 = a2;
v9 = *(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL);
v10 = *(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v7 + 72LL);
v11 = v9(v8);
v10(v7, v11);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v7 + 1312LL))(v7);
return _stack_chk_guard;
}