//
// ConfigureValuePopup::create from 0x4d0088 to 0x4d01e0 (344 bytes)
//
// 7 xrefs:
// > GJRotateCommandLayer::onEasingRate @ 0x4dee22
// > SetupCameraOffsetTrigger::onEasingRate @ 0x5018b6
// > SetGroupIDLayer::onGroupIDOptions @ 0x50882e
// > SetupCameraRotatePopup::onEasingRate @ 0x52639e
// > SetupTriggerPopup::onEaseRate @ 0x540cd6
// > SetupTriggerPopup::onCustomEaseRate @ 0x540d92
// > SetupMGTrigger::onEasingRate @ 0x5626a2
//
// 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
//
unsigned int __fastcall ConfigureValuePopup::create(int a1, int a2, int a3, int a4, int a5, int a6, int a7)
{
unsigned int v11; // r4
char *v12; // r7
int v13; // r3
unsigned int v14; // r0
const char *v16; // [sp+1Ch] [bp-10h] BYREF
int v17; // [sp+20h] [bp-Ch] BYREF
v11 = operator new(0x214u);
cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v11);
*(_DWORD *)(v11 + 480) = -1;
*(_DWORD *)(v11 + 488) = -1;
*(_DWORD *)(v11 + 440) = 0;
*(_DWORD *)(v11 + 444) = 0;
*(_DWORD *)(v11 + 448) = 0;
*(_DWORD *)v11 = &off_A75F98;
*(_BYTE *)(v11 + 452) = 0;
*(_DWORD *)(v11 + 264) = &off_A76230;
*(_DWORD *)(v11 + 456) = 0;
*(_DWORD *)(v11 + 268) = &off_A76268;
*(_DWORD *)(v11 + 460) = 0;
*(_DWORD *)(v11 + 272) = &off_A76274;
*(_BYTE *)(v11 + 464) = 0;
*(_DWORD *)(v11 + 276) = &off_A76284;
*(_DWORD *)(v11 + 468) = 0;
*(_DWORD *)(v11 + 280) = &off_A76294;
*(_DWORD *)(v11 + 472) = 0;
*(_DWORD *)(v11 + 316) = &off_A762A8;
*(_DWORD *)(v11 + 476) = 0;
*(_DWORD *)(v11 + 332) = &off_A762E8;
*(_BYTE *)(v11 + 484) = 0;
*(_BYTE *)(v11 + 485) = 0;
*(_BYTE *)(v11 + 492) = 0;
*(_DWORD *)(v11 + 496) = &off_A762F8;
*(_DWORD *)(v11 + 500) = 0;
*(_BYTE *)(v11 + 516) = 0;
*(_BYTE *)(v11 + 517) = 0;
*(_DWORD *)(v11 + 520) = 0;
*(_DWORD *)(v11 + 524) = 0;
*(_DWORD *)(v11 + 528) = 0;
sub_775C20(&v16);
sub_775C20(&v17);
v12 = ConfigureValuePopup::init(v11, a1, a2, a3, a4, &v16, &v17, a7);
sub_774008(&v17);
sub_774008(&v16);
if ( v12 )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v11);
}
else
{
v13 = *(_DWORD *)v11;
v14 = v11;
v11 = 0;
(*(void (__fastcall **)(unsigned int))(v13 + 8))(v14);
}
return v11;
}