//
// ConfigureValuePopup::create from 0x140131960 to 0x140131b31 (465 bytes)
//
// 5 xrefs:
// > SetGroupIDLayer::onGroupIDOptions @ 0x140593b25
// > SetupCameraOffsetTrigger::onEasingRate @ 0x1405adf18
// > SetupTriggerPopup::onEaseRate @ 0x1406149c9
// > SetupTriggerPopup::onCustomEaseRate @ 0x140615638
// > ??> @ 0x140916f28
//
// 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:27:03 +0000
//
// Hidden C++ exception states: #wind=4
_QWORD *__fastcall ConfigureValuePopup::create(
int a1,
__int64 a2,
__int64 a3,
float a4,
__int64 a5,
__int64 a6,
int a7)
{
_QWORD *v8; // rsi
__int64 v9; // rbx
void *v10; // rax
int v11; // r8d
int v12; // r9d
_BYTE v14[32]; // [rsp+50h] [rbp-C8h] BYREF
_BYTE v15[32]; // [rsp+70h] [rbp-A8h] BYREF
__int64 v16; // [rsp+90h] [rbp-88h]
__int64 v17; // [rsp+98h] [rbp-80h]
v16 = a5;
v17 = a6;
v8 = operator new(0x2C8u);
FLAlertLayer::FLAlertLayer((__int64)v8);
*v8 = &ConfigureValuePopup::`vftable';
v8[40] = &ConfigureValuePopup::`vftable';
v8[41] = &ConfigureValuePopup::`vftable';
v8[42] = &ConfigureValuePopup::`vftable';
v8[43] = &ConfigureValuePopup::`vftable';
v8[44] = &ConfigureValuePopup::`vftable';
v8[51] = &ConfigureValuePopup::`vftable';
v8[54] = &ConfigureValuePopup::`vftable';
v8[68] = &ConfigureValuePopup::`vftable';
*((_DWORD *)v8 + 166) = 0;
*((_WORD *)v8 + 340) = 0;
v8[86] = 0;
v8[87] = 0;
v8[88] = 0;
v9 = sub_14003F4F0((__int64)v14, a6);
v10 = (void *)sub_14003F4F0((__int64)v15, a5);
if ( (unsigned __int8)ConfigureValuePopup::init((int)v8, a1, v11, v12, SLODWORD(a4), v10, v9, a7) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v8);
}
else
{
(*(void (__fastcall **)(_QWORD *, __int64))(*v8 + 8LL))(v8, 1);
v8 = nullptr;
}
sub_14003D310(a5);
sub_14003D310(a6);
return v8;
}