//
// SetupAudioTriggerPopup::addTimeControls from 0x6afae0 to 0x6afcf6 (534 bytes)
//
// 2 xrefs:
// > SetupSongTriggerPopup::init @ 0x658c14
// > SetupSFXPopup::init @ 0x6b1bfc
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:56:38 +0000
//
int __fastcall SetupAudioTriggerPopup::addTimeControls(SetupAudioTriggerPopup *this, int a2, float a3)
{
float v7[2]; // [sp+30h] [bp-10h] BYREF
_BYTE v8[8]; // [sp+38h] [bp-8h] BYREF
_BYTE v9[8]; // [sp+40h] [bp+0h] BYREF
_BYTE v10[8]; // [sp+48h] [bp+8h] BYREF
int v11; // [sp+50h] [bp+10h] BYREF
int v12; // [sp+54h] [bp+14h]
int v13; // [sp+58h] [bp+18h]
cocos2d::CCDirector::sharedDirector(this);
cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v7);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v8, v7[0] * 0.5, a3 + (float)(v7[1] * 0.5));
v11 = 0;
v12 = 0;
v13 = 0;
std::string::__init(&v11, "Start:", 6u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, -91.0, -0.0);
cocos2d::CCPoint::operator+(v10, v8, v9);
SetupTriggerPopup::createValueControlAdvanced(
(cocos2d::CCDictionary **)this,
408,
(unsigned __int8 *)&v11,
(int)v10,
1059481190,
0,
2,
6,
0,
0,
1148846080,
a2,
0,
1,
2,
0);
std::string::~string((int)&v11);
v11 = 0;
v12 = 0;
v13 = 0;
std::string::__init(&v11, "FadeIn:", 7u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, 91.0, -0.0);
cocos2d::CCPoint::operator+(v10, v8, v9);
SetupTriggerPopup::createValueControlAdvanced(
(cocos2d::CCDictionary **)this,
409,
(unsigned __int8 *)&v11,
(int)v10,
1059481190,
0,
2,
6,
0,
0,
1148846080,
a2,
0,
1,
2,
0);
std::string::~string((int)&v11);
v11 = 0;
v12 = 0;
v13 = 0;
std::string::__init(&v11, "End:", 4u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, -91.0, -39.0);
cocos2d::CCPoint::operator+(v10, v8, v9);
SetupTriggerPopup::createValueControlAdvanced(
(cocos2d::CCDictionary **)this,
410,
(unsigned __int8 *)&v11,
(int)v10,
1059481190,
0,
2,
6,
0,
0,
1148846080,
a2,
0,
1,
2,
0);
std::string::~string((int)&v11);
v11 = 0;
v12 = 0;
v13 = 0;
std::string::__init(&v11, "FadeOut:", 8u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, 91.0, -39.0);
cocos2d::CCPoint::operator+(v10, v8, v9);
SetupTriggerPopup::createValueControlAdvanced(
(cocos2d::CCDictionary **)this,
411,
(unsigned __int8 *)&v11,
(int)v10,
1059481190,
0,
2,
6,
0,
0,
1148846080,
a2,
0,
1,
2,
0);
return std::string::~string((int)&v11);
}