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