//
// SetupAudioTriggerPopup::addTimeControls from 0xb6c584 to 0xb6c8f4 (880 bytes)
//
// 4 xrefs:
// > SetupSongTriggerPopup::init @ 0xaead98
// > SetupSFXPopup::init @ 0xb6ec6c
// > SetupSFXPopup::init @ 0xb6eca4
// > ??> @ 0xd7e48
//
// 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:02:18 +0000
//
__int64 __fastcall SetupAudioTriggerPopup::addTimeControls(cocos2d::CCArray **this, int a2, float a3)
{
cocos2d::CCDirector *v5; // x0
__int64 v8; // [xsp+B0h] [xbp+80h] BYREF
_BYTE v9[8]; // [xsp+B8h] [xbp+88h] BYREF
_BYTE v10[8]; // [xsp+C0h] [xbp+90h] BYREF
__int64 v11; // [xsp+C8h] [xbp+98h] BYREF
__int64 v12; // [xsp+D0h] [xbp+A0h] BYREF
__int64 v13; // [xsp+D8h] [xbp+A8h]
void *v14; // [xsp+E0h] [xbp+B0h]
v5 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(_stack_chk_guard);
cocos2d::CCDirector::getWinSize(&v8, v5);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, *(float *)&v8 * 0.5, a3 + (float)(*((float *)&v8 + 1) * 0.5));
v12 = 0;
v13 = 0;
v14 = nullptr;
std::string::__init(&v12, "Start:", 6u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v10, -91.0, -0.0);
cocos2d::CCPoint::operator+(&v11, v9);
SetupTriggerPopup::createValueControlAdvanced(
this,
408,
(char *)&v12,
(__int64)&v11,
0,
2,
6,
0,
0.65,
0.0,
1000.0,
a2,
0,
1,
2,
0);
if ( (v12 & 1) != 0 )
operator delete(v14);
v12 = 0;
v13 = 0;
v14 = nullptr;
std::string::__init(&v12, "FadeIn:", 7u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v10, 91.0, -0.0);
cocos2d::CCPoint::operator+(&v11, v9);
SetupTriggerPopup::createValueControlAdvanced(
this,
409,
(char *)&v12,
(__int64)&v11,
0,
2,
6,
0,
0.65,
0.0,
1000.0,
a2,
0,
1,
2,
0);
if ( (v12 & 1) != 0 )
operator delete(v14);
v12 = 0;
v13 = 0;
v14 = nullptr;
std::string::__init(&v12, "End:", 4u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v10, -91.0, -39.0);
cocos2d::CCPoint::operator+(&v11, v9);
SetupTriggerPopup::createValueControlAdvanced(
this,
410,
(char *)&v12,
(__int64)&v11,
0,
2,
6,
0,
0.65,
0.0,
1000.0,
a2,
0,
1,
2,
0);
if ( (v12 & 1) != 0 )
operator delete(v14);
v12 = 0;
v13 = 0;
v14 = nullptr;
std::string::__init(&v12, "FadeOut:", 8u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v10, 91.0, -39.0);
cocos2d::CCPoint::operator+(&v11, v9);
SetupTriggerPopup::createValueControlAdvanced(
this,
411,
(char *)&v12,
(__int64)&v11,
0,
2,
6,
0,
0.65,
0.0,
1000.0,
a2,
0,
1,
2,
0);
if ( (v12 & 1) != 0 )
operator delete(v14);
return _stack_chk_guard;
}