//
// SetupAudioTriggerPopup::addTimeControls from 0x140445300 to 0x1404456bd (957 bytes)
//
// 3 xrefs:
// > SetupSFXPopup::init @ 0x140447aac
// > SetupSongTriggerPopup::init @ 0x14045d1e0
// > ??> @ 0x1406da5a4
//
// 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
//
// Hidden C++ exception states: #wind=2
void SetupAudioTriggerPopup::addTimeControls(SetupAudioTriggerPopup *a1, int a2, float a3)
{
float v3; // xmm0_4
int v4; // ebx
cocos2d::CCDirector *v5; // rax
double ValueControlAdvanced; // xmm0_8
char v7; // [rsp+80h] [rbp-31h]
__int64 v8; // [rsp+80h] [rbp-31h]
__int64 v9; // [rsp+80h] [rbp-31h]
__int64 v10; // [rsp+80h] [rbp-31h]
float v11; // [rsp+88h] [rbp-29h]
_BYTE v12[8]; // [rsp+90h] [rbp-21h] BYREF
__int128 *v13; // [rsp+98h] [rbp-19h]
__int128 *v14; // [rsp+A0h] [rbp-11h]
__int128 v15; // [rsp+A8h] [rbp-9h] BYREF
__int64 v16; // [rsp+B8h] [rbp+7h]
__int64 v17; // [rsp+C0h] [rbp+Fh]
char v18; // [rsp+130h] [rbp+7Fh] BYREF
v4 = (int)a1;
v5 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(a1);
cocos2d::CCDirector::getWinSize(v5);
cocos2d::CCPoint::CCPoint(v3, v11 * 0.5);
v13 = &v15;
v15 = 0;
v16 = 6;
v17 = 15;
strcpy((char *)&v15, "Start:");
cocos2d::CCPoint::CCPoint(0.0, -91.0);
cocos2d::CCPoint::operator+(&v18, v12);
v7 = 0;
ValueControlAdvanced = SetupTriggerPopup::createValueControlAdvanced(
v4,
408,
(unsigned int)&v15,
(unsigned int)v12,
1059481190,
0,
2,
6,
0,
0,
1148846080,
1,
0,
1,
2,
v7);
v14 = &v15;
v16 = 7;
v17 = 15;
v15 = 0x3A6E4965646146uLL;
cocos2d::CCPoint::CCPoint(*(float *)&ValueControlAdvanced, 91.0);
cocos2d::CCPoint::operator+(&v18, v12);
LOBYTE(v8) = 0;
SetupTriggerPopup::createValueControlAdvanced(
v4,
409,
(unsigned int)&v15,
(unsigned int)v12,
1059481190,
0,
2,
6,
0,
0,
1148846080,
1,
0,
1,
2,
v8);
v14 = &v15;
v15 = 0;
v16 = 4;
v17 = 15;
strcpy((char *)&v15, "End:");
cocos2d::CCPoint::CCPoint(0.0, -91.0);
cocos2d::CCPoint::operator+(&v18, v12);
LOBYTE(v9) = 0;
SetupTriggerPopup::createValueControlAdvanced(
v4,
410,
(unsigned int)&v15,
(unsigned int)v12,
1059481190,
0,
2,
6,
0,
0,
1148846080,
1,
0,
1,
2,
v9);
v14 = &v15;
v16 = 8;
v17 = 15;
v15 = 0x3A74754F65646146uLL;
cocos2d::CCPoint::CCPoint(0.0, 91.0);
cocos2d::CCPoint::operator+(&v18, v12);
LOBYTE(v10) = 0;
SetupTriggerPopup::createValueControlAdvanced(
v4,
411,
(unsigned int)&v15,
(unsigned int)v12,
1059481190,
0,
2,
6,
0,
0,
1148846080,
1,
0,
1,
2,
v10);
}