//
// SetupTriggerPopup::createValueControl from 0xb21218 to 0xb21360 (328 bytes)
//
// 61 xrefs:
// > SetupShaderEffectPopup::setupGlitch @ 0xb34404
// > SetupShaderEffectPopup::setupGlitch @ 0xb34470
// > SetupShaderEffectPopup::setupGlitch @ 0xb344d8
// > SetupShaderEffectPopup::setupGlitch @ 0xb34540
// > SetupShaderEffectPopup::setupGlitch @ 0xb345a8
// > SetupShaderEffectPopup::setupGlitch @ 0xb34614
// > SetupShaderEffectPopup::setupGlitch @ 0xb3467c
// > SetupShaderEffectPopup::setupChromatic @ 0xb349c0
// > SetupShaderEffectPopup::setupChromatic @ 0xb34a28
// > SetupShaderEffectPopup::setupChromatic @ 0xb34a90
// > SetupShaderEffectPopup::setupChromaticGlitch @ 0xb34ed0
// > SetupShaderEffectPopup::setupChromaticGlitch @ 0xb34f38
// > SetupShaderEffectPopup::setupChromaticGlitch @ 0xb34fa4
// > SetupShaderEffectPopup::setupChromaticGlitch @ 0xb3500c
// > SetupShaderEffectPopup::setupChromaticGlitch @ 0xb35078
// > SetupShaderEffectPopup::setupChromaticGlitch @ 0xb350e0
// > SetupShaderEffectPopup::setupChromaticGlitch @ 0xb35148
// > SetupShaderEffectPopup::setupPixelate @ 0xb355d4
// > SetupShaderEffectPopup::setupPixelate @ 0xb3563c
// > SetupShaderEffectPopup::setupPixelate @ 0xb356a4
// > SetupShaderEffectPopup::setupLensCircle @ 0xb35bf8
// > SetupShaderEffectPopup::setupLensCircle @ 0xb35c60
// > SetupShaderEffectPopup::setupLensCircle @ 0xb35ccc
// > SetupShaderEffectPopup::setupLensCircle @ 0xb35d34
// > SetupShaderEffectPopup::setupRadialBlur @ 0xb36448
// > SetupShaderEffectPopup::setupRadialBlur @ 0xb364b0
// > SetupShaderEffectPopup::setupRadialBlur @ 0xb3651c
// > SetupShaderEffectPopup::setupRadialBlur @ 0xb36614
// > SetupShaderEffectPopup::setupMotionBlur @ 0xb36d48
// > SetupShaderEffectPopup::setupMotionBlur @ 0xb36db0
// > SetupShaderEffectPopup::setupMotionBlur @ 0xb36e1c
// > SetupShaderEffectPopup::setupMotionBlur @ 0xb36f60
// > SetupShaderEffectPopup::setupMotionBlur @ 0xb36fc8
// > SetupShaderEffectPopup::setupMotionBlur @ 0xb370c0
// > SetupShaderEffectPopup::setupBulge @ 0xb377a8
// > SetupShaderEffectPopup::setupBulge @ 0xb37814
// > SetupShaderEffectPopup::setupBulge @ 0xb3787c
// > SetupShaderEffectPopup::setupPinch @ 0xb37f8c
// > SetupShaderEffectPopup::setupPinch @ 0xb37ff8
// > SetupShaderEffectPopup::setupPinch @ 0xb38064
// > SetupShaderEffectPopup::setupGrayscale @ 0xb389d4
// > SetupShaderEffectPopup::setupGrayscale @ 0xb38a3c
// > SetupShaderEffectPopup::setupSepia @ 0xb38e60
// > SetupShaderEffectPopup::setupSepia @ 0xb38ec8
// > SetupShaderEffectPopup::setupInvertColor @ 0xb39140
// > SetupShaderEffectPopup::setupInvertColor @ 0xb391a8
// > SetupShaderEffectPopup::setupInvertColor @ 0xb3921c
// > SetupShaderEffectPopup::setupInvertColor @ 0xb39284
// > SetupShaderEffectPopup::setupInvertColor @ 0xb392ec
// > SetupShaderEffectPopup::setupHueShift @ 0xb397c0
// > SetupShaderEffectPopup::setupColorChange @ 0xb39a4c
// > SetupShaderEffectPopup::setupColorChange @ 0xb39ac0
// > SetupShaderEffectPopup::setupColorChange @ 0xb39b28
// > SetupShaderEffectPopup::setupColorChange @ 0xb39b94
// > SetupShaderEffectPopup::setupColorChange @ 0xb39c00
// > SetupShaderEffectPopup::setupColorChange @ 0xb39c68
// > SetupShaderEffectPopup::setupColorChange @ 0xb39cd0
// > SetupShaderEffectPopup::setupSplitScreen @ 0xb3a058
// > SetupShaderEffectPopup::setupSplitScreen @ 0xb3a0c0
// > SetupShaderEffectPopup::setupSplitScreen @ 0xb3a128
// > ??> @ 0xaab90
//
// 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:37 +0000
//
__int64 __fastcall SetupTriggerPopup::createValueControl(
cocos2d::CCArray **a1,
int a2,
char *a3,
cocos2d::CCPoint *a4,
float a5,
float a6,
float a7)
{
char v9; // w0
__int64 v13; // x0
__int64 v14; // x1
cocos2d::CCPoint *v16; // [xsp+88h] [xbp+58h]
_BYTE v17[8]; // [xsp+98h] [xbp+68h] BYREF
__int64 v18; // [xsp+A0h] [xbp+70h] BYREF
__int64 v19; // [xsp+A8h] [xbp+78h]
void *v20; // [xsp+B0h] [xbp+80h]
v9 = *a3;
v18 = 0;
v19 = 0;
v20 = nullptr;
if ( (v9 & 1) != 0 )
{
v16 = a4;
std::string::__init(&v18, *((void **)a3 + 2), *((_QWORD *)a3 + 1));
a4 = v16;
}
else
{
v13 = *(_QWORD *)a3;
v14 = *((_QWORD *)a3 + 1);
v20 = *((void **)a3 + 2);
v18 = v13;
v19 = v14;
}
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v17, a4);
SetupTriggerPopup::createValueControlAdvanced(
a1,
a2,
(char *)&v18,
(__int64)v17,
0,
1,
6,
0,
a5,
a6,
a7,
0,
0,
0,
2,
0);
if ( (v18 & 1) != 0 )
operator delete(v20);
return _stack_chk_guard;
}