//
// SetupKeyframePopup::init from 0x1001ffd50 to 0x10020121b (5323 bytes)
//
// 1 xrefs:
// > SetupKeyframePopup::create @ 0x1001ffd10
//
// 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
//
bool __fastcall SetupKeyframePopup::init(
SetupKeyframePopup *a1,
KeyframeGameObject *a2,
cocos2d::CCArray *a3,
LevelEditorLayer *a4)
{
SetupKeyframePopup *v5; // r14
bool v6; // bl
bool v7; // r12
cocos2d::CCString *v8; // rax
const char *CString; // rax
int v10; // r15d
cocos2d::CCObject *v11; // rax
double v12; // xmm0_8
cocos2d::CCMenu *m_buttonMenu; // r15
__int64 m_mainLayer; // rbx
_BYTE *ToggleButton; // r15
cocos2d::CCMenu *v16; // r15
__int64 v17; // rbx
_BYTE *v18; // r15
cocos2d::CCMenu *v19; // r15
__int64 v20; // rbx
_BYTE *v21; // r15
cocos2d::CCArray *m_timeModeToggles; // rax
cocos2d::ccArray *v23; // rax
CCMenuItemToggler **arr; // r13
CCMenuItemToggler **v25; // rbx
CCMenuItemToggler *v26; // r15
int v27; // eax
char v29; // [rsp+0h] [rbp-360h]
__int16 v30[8]; // [rsp+38h] [rbp-328h] BYREF
void *v31; // [rsp+48h] [rbp-318h]
__int16 v32[8]; // [rsp+50h] [rbp-310h] BYREF
void *v33; // [rsp+60h] [rbp-300h]
__int16 v34[8]; // [rsp+68h] [rbp-2F8h] BYREF
void *v35; // [rsp+78h] [rbp-2E8h]
__int16 v36[8]; // [rsp+80h] [rbp-2E0h] BYREF
void *v37; // [rsp+90h] [rbp-2D0h]
char v38; // [rsp+98h] [rbp-2C8h] BYREF
int v39; // [rsp+99h] [rbp-2C7h]
void *v40; // [rsp+A8h] [rbp-2B8h]
char v41; // [rsp+B0h] [rbp-2B0h] BYREF
char v42[15]; // [rsp+B1h] [rbp-2AFh] BYREF
void *v43; // [rsp+C0h] [rbp-2A0h]
char v44; // [rsp+C8h] [rbp-298h] BYREF
char v45[15]; // [rsp+C9h] [rbp-297h] BYREF
void *v46; // [rsp+D8h] [rbp-288h]
_QWORD v47[2]; // [rsp+E0h] [rbp-280h] BYREF
void *v48; // [rsp+F0h] [rbp-270h]
char v49[16]; // [rsp+F8h] [rbp-268h] BYREF
void *v50; // [rsp+108h] [rbp-258h]
char v51; // [rsp+110h] [rbp-250h] BYREF
_BYTE v52[23]; // [rsp+111h] [rbp-24Fh] BYREF
char v53; // [rsp+128h] [rbp-238h] BYREF
char v54[15]; // [rsp+129h] [rbp-237h] BYREF
void *v55; // [rsp+138h] [rbp-228h]
char v56; // [rsp+140h] [rbp-220h] BYREF
char v57[15]; // [rsp+141h] [rbp-21Fh] BYREF
void *v58; // [rsp+150h] [rbp-210h]
char v59; // [rsp+158h] [rbp-208h] BYREF
_BYTE v60[23]; // [rsp+159h] [rbp-207h] BYREF
char v61; // [rsp+170h] [rbp-1F0h] BYREF
char v62[15]; // [rsp+171h] [rbp-1EFh] BYREF
void *v63; // [rsp+180h] [rbp-1E0h]
char v64; // [rsp+188h] [rbp-1D8h] BYREF
_BYTE v65[23]; // [rsp+189h] [rbp-1D7h] BYREF
char v66; // [rsp+1A0h] [rbp-1C0h] BYREF
_BYTE v67[23]; // [rsp+1A1h] [rbp-1BFh] BYREF
char v68[8]; // [rsp+1B8h] [rbp-1A8h] BYREF
char v69; // [rsp+1C0h] [rbp-1A0h] BYREF
char v70[15]; // [rsp+1C1h] [rbp-19Fh] BYREF
void *v71; // [rsp+1D0h] [rbp-190h]
char v72; // [rsp+1D8h] [rbp-188h] BYREF
_BYTE v73[23]; // [rsp+1D9h] [rbp-187h] BYREF
char v74; // [rsp+1F0h] [rbp-170h] BYREF
_BYTE v75[23]; // [rsp+1F1h] [rbp-16Fh] BYREF
char v76; // [rsp+208h] [rbp-158h] BYREF
_BYTE v77[23]; // [rsp+209h] [rbp-157h] BYREF
char v78; // [rsp+220h] [rbp-140h] BYREF
_BYTE v79[23]; // [rsp+221h] [rbp-13Fh] BYREF
char v80; // [rsp+238h] [rbp-128h] BYREF
_BYTE v81[23]; // [rsp+239h] [rbp-127h] BYREF
char v82; // [rsp+250h] [rbp-110h] BYREF
_BYTE v83[23]; // [rsp+251h] [rbp-10Fh] BYREF
char v84; // [rsp+268h] [rbp-F8h] BYREF
_BYTE v85[23]; // [rsp+269h] [rbp-F7h] BYREF
char v86; // [rsp+280h] [rbp-E0h] BYREF
char v87[15]; // [rsp+281h] [rbp-DFh] BYREF
void *v88; // [rsp+290h] [rbp-D0h]
char v89[8]; // [rsp+298h] [rbp-C8h] BYREF
std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0 v90; // [rsp+2A0h] [rbp-C0h] BYREF
__int64 v91; // [rsp+2A1h] [rbp-BFh]
int v92; // [rsp+2A9h] [rbp-B7h]
__int16 v93; // [rsp+2ADh] [rbp-B3h]
std::string::value_type v94; // [rsp+2AFh] [rbp-B1h]
void *__p; // [rsp+2B0h] [rbp-B0h]
char v96[8]; // [rsp+2C0h] [rbp-A0h] BYREF
char v97[8]; // [rsp+2C8h] [rbp-98h] BYREF
__int128 v98; // [rsp+2D0h] [rbp-90h] BYREF
void *data; // [rsp+2E0h] [rbp-80h]
std::string v100; // [rsp+2E8h] [rbp-78h] BYREF
float v101; // [rsp+304h] [rbp-5Ch]
char v102[8]; // [rsp+308h] [rbp-58h] BYREF
float v103; // [rsp+310h] [rbp-50h] BYREF
float v104; // [rsp+314h] [rbp-4Ch]
std::string v105; // [rsp+318h] [rbp-48h] BYREF
float v106; // [rsp+330h] [rbp-30h] BYREF
float v107; // [rsp+334h] [rbp-2Ch]
v5 = a1;
v6 = SetupTriggerPopup::init(a1, a2, a3, 440.0, 280.0, 1);
if ( !v6 )
return v6;
SetupTriggerPopup::preSetup(a1);
a1->m_editorLayer = a4;
if ( !a2 )
{
v100.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)28;
strcpy(v100.__r_.__value_.__s.__data_, "Setup Keyframe");
v7 = 0;
goto LABEL_6;
}
v7 = a2->m_keyframeIndex == 0;
v100.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)28;
strcpy(v100.__r_.__value_.__s.__data_, "Setup Keyframe");
v8 = (cocos2d::CCString *)sub_1007AB580("Setup Keyframe %i", v29);
CString = cocos2d::CCString::getCString(v8);
std::string::assign(&v100, CString);
if ( (*(_BYTE *)&v100.__r_.__value_.__s.0 & 1) == 0 )
{
LABEL_6:
__p = v100.__r_.__value_.__l.__data_;
v90 = v100.__r_.__value_.__s.0;
v91 = *(std::string::size_type *)((char *)v100.__r_.__value_.__r.__words + 1);
v92 = *(_DWORD *)((char *)&v100.__r_.__value_.__r.__words[1] + 1);
v93 = *(_WORD *)((char *)&v100.__r_.__value_.__r.__words[1] + 5);
v94 = v100.__r_.__value_.__s.__data_[14];
goto LABEL_7;
}
sub_100006B70(&v90, v100.__r_.__value_.__l.__data_, v100.__r_.__value_.__l.__size_, COERCE_DOUBLE(1138491392));
LABEL_7:
SetupTriggerPopup::addTitle(a1, &v90);
if ( (*(_BYTE *)&v90 & 1) != 0 )
operator delete(__p);
v41 = 4;
strcpy(v42, "OK");
SetupTriggerPopup::addCloseButton(a1, &v41);
if ( (v41 & 1) != 0 )
operator delete(v43);
v44 = 8;
strcpy(v45, "Help");
v48 = operator new(0x2D0u);
v47[0] = 721;
v47[1] = 713;
strcpy(
(char *)v48,
"GroupID needs to contain a group parent.\n"
"Duration is time before next keyframe.\n"
"x360 lets you do full rotations before next keyframe.\n"
"CCW/CW to force rotation in a direction.\n"
"SpawnGID lets you spawn a group at the keyframe.\n"
"Prox will spawn the group when close to the keyframe.\n"
"Curve uses cubic interpolation to the next keyframe.\n"
"Close Loop returns to the first keyframe after the last.\n"
"Preview Art lets you preview the Group ID instead of an icon.\n"
"Ref Only will only be used as an inbetween frame.\n"
"Even = time between each keyframe is duration / keyframes.\n"
"Dist = time between each keyframe is distance / keyframes.");
SetupTriggerPopup::addHelpButton(a1, &v44, v47, 0.80000001);
if ( (v47[0] & 1) != 0 )
operator delete(v48);
if ( (v44 & 1) != 0 )
operator delete(v46);
cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)&v103);
sub_10028CBE0(v102, v103 * 0.5, (float)(v104 * 0.5) + 10.0);
strcpy(v49, "\nCurve");
sub_10028CBE0(
&v105,
(float)((float)(a1->m_width * 0.5) + (float)(v103 * 0.5)) + -80.0,
(float)((float)(a1->m_height * 0.5) + (float)(v104 * 0.5)) + -20.0);
SetupTriggerPopup::createToggleValueControl((_DWORD)a1, 378, (unsigned int)v49, (unsigned int)&v105, 0, 0, 0);
if ( (v49[0] & 1) != 0 )
operator delete(v50);
if ( v7 )
{
v69 = 14;
strcpy(v70, "GroupID");
sub_10028CBE0(&v105, (float)(v103 * 0.5) + -135.0, (float)(v104 * 0.5) + 105.0);
SetupTriggerPopup::createValueControlAdvanced(
(_DWORD)a1,
51,
(unsigned int)&v69,
(unsigned int)&v105,
1,
3,
6,
1,
1,
0,
0,
2,
0);
if ( (v69 & 1) != 0 )
operator delete(v71);
}
v51 = 16;
strcpy(v52, "Duration");
sub_10028CBE0(&v106, -85.0, 65.0);
sub_10028CCE0(&v105, v102);
SetupTriggerPopup::createValueControlAdvanced(
(_DWORD)a1,
10,
(unsigned int)&v51,
(unsigned int)&v105,
0,
1,
6,
0,
0,
0,
0,
2,
0);
if ( (v51 & 1) != 0 )
operator delete(*(void **)&v52[15]);
sub_10028CBE0(&v106, 90.0, 70.0);
sub_10028CCE0(&v105, v102);
SetupTriggerPopup::createEasingControls(a1, (cocos2d::CCPoint)1059481190LL, 70.0, (int)&v105, 0);
v53 = 8;
strcpy(v54, "x360");
sub_10028CBE0(&v106, -85.0, 10.0);
sub_10028CCE0(&v105, v102);
SetupTriggerPopup::createValueControlAdvanced(
(_DWORD)a1,
537,
(unsigned int)&v53,
(unsigned int)&v105,
0,
2,
6,
0,
0,
0,
0,
2,
0);
if ( (v53 & 1) != 0 )
operator delete(v55);
v101 = ((float (__fastcall *)(SetupKeyframePopup *, __int64, double, double, double))a1->getValue)(
a1,
536,
COERCE_DOUBLE(1060320051),
COERCE_DOUBLE(3240099840LL),
COERCE_DOUBLE(1092616192));
v38 = 6;
v39 = 5718851;
sub_10028CBE0(&v106, 40.0, 5.0);
sub_10028CCE0(&v105, v102);
v10 = (int)v101;
SetupTriggerPopup::createCustomToggleValueControl(
(_DWORD)a1,
2,
(int)v101 == 2,
1,
(unsigned int)&v38,
(unsigned int)&v105,
0,
0,
0);
if ( (v38 & 1) != 0 )
operator delete(v40);
v56 = 4;
strcpy(v57, "CW");
sub_10028CBE0(&v106, 130.0, 5.0);
sub_10028CCE0(&v105, v102);
SetupTriggerPopup::createCustomToggleValueControl(
(_DWORD)a1,
1,
v10 == 1,
1,
(unsigned int)&v56,
(unsigned int)&v105,
0,
0,
0);
if ( (v56 & 1) != 0 )
operator delete(v58);
v59 = 16;
strcpy(v60, "SpawnGID");
sub_10028CBE0(&v106, -110.0, -60.0);
sub_10028CCE0(&v105, v102);
SetupTriggerPopup::createValueControlAdvanced(
(_DWORD)a1,
71,
(unsigned int)&v59,
(unsigned int)&v105,
1,
3,
6,
1,
1,
0,
0,
2,
0);
if ( (v59 & 1) != 0 )
operator delete(*(void **)&v60[15]);
v72 = 20;
strcpy(v73, "SpawnDelay");
sub_10028CBE0(&v106, 30.0, -50.0);
sub_10028CCE0(&v105, v102);
SetupTriggerPopup::createValueControlAdvanced(
(_DWORD)a1,
557,
(unsigned int)&v72,
(unsigned int)&v105,
0,
1,
6,
0,
0,
0,
0,
2,
0);
if ( (v72 & 1) != 0 )
operator delete(*(void **)&v73[15]);
v61 = 8;
strcpy(v62, "Prox");
sub_10028CBE0(&v106, 130.0, -60.0);
sub_10028CCE0(&v105, v102);
SetupTriggerPopup::createToggleValueControl((_DWORD)a1, 377, (unsigned int)&v61, (unsigned int)&v105, 1, 0, 0);
if ( (v61 & 1) != 0 )
operator delete(v63);
v74 = 20;
strcpy(v75, "Close\nLoop");
sub_10028CBE0(&v105, (float)(v103 * 0.5) + -200.0, (float)((float)(v104 * 0.5) - (float)(a1->m_height * 0.5)) + 20.0);
SetupTriggerPopup::createToggleValueControl((_DWORD)a1, 376, (unsigned int)&v74, (unsigned int)&v105, 0, 0, 0);
if ( (v74 & 1) != 0 )
operator delete(*(void **)&v75[15]);
v76 = 22;
strcpy(v77, "Preview\nArt");
sub_10028CBE0(&v105, (float)(v103 * 0.5) + -120.0, (float)((float)(v104 * 0.5) - (float)(a1->m_height * 0.5)) + 20.0);
SetupTriggerPopup::createToggleValueControl((_DWORD)a1, 380, (unsigned int)&v76, (unsigned int)&v105, 0, 0, 0);
if ( (v76 & 1) != 0 )
operator delete(*(void **)&v77[15]);
v64 = 16;
strcpy(v65, "Ref\nOnly");
sub_10028CBE0(&v105, (float)(v103 * 0.5) + 60.0, (float)((float)(v104 * 0.5) - (float)(a1->m_height * 0.5)) + 20.0);
SetupTriggerPopup::createToggleValueControl((_DWORD)a1, 375, (unsigned int)&v64, (unsigned int)&v105, 0, 0, 0);
if ( (v64 & 1) != 0 )
operator delete(*(void **)&v65[15]);
v78 = 20;
strcpy(v79, "Auto\nLayer");
sub_10028CBE0(&v105, (float)(v103 * 0.5) + 140.0, (float)((float)(v104 * 0.5) - (float)(a1->m_height * 0.5)) + 20.0);
SetupTriggerPopup::createToggleValueControl((_DWORD)a1, 459, (unsigned int)&v78, (unsigned int)&v105, 0, 0, 0);
if ( (v78 & 1) != 0 )
operator delete(*(void **)&v79[15]);
sub_10028CBE0(&v106, (float)(v103 * 0.5) + -190.0, (float)(v104 * 0.5) + 60.0);
v80 = 20;
strcpy(v81, "Select\nAll");
v30[0] = 0;
sub_10028CBE0(&v105, v106, v107);
SetupTriggerPopup::createCustomButton(a1, 1, &v80, v30, &v105, 1, 0.69999999, 0.40000001, 0, 0);
if ( (v30[0] & 1) != 0 )
operator delete(v31);
if ( (v80 & 1) != 0 )
operator delete(*(void **)&v81[15]);
v82 = 20;
strcpy(v83, "Update\nArt");
v32[0] = 0;
sub_10028CBE0(&v105, v106, v107 + -46.0);
SetupTriggerPopup::createCustomButton(a1, 2, &v82, v32, &v105, 1, 0.69999999, 0.40000001, 0, 0);
if ( (v32[0] & 1) != 0 )
operator delete(v33);
if ( (v82 & 1) != 0 )
operator delete(*(void **)&v83[15]);
v66 = 16;
strcpy(v67, "Dup\nAnim");
v34[0] = 0;
sub_10028CBE0(&v105, v106, v107 + -92.0);
SetupTriggerPopup::createCustomButton(a1, 3, &v66, v34, &v105, 1, 0.69999999, 0.40000001, 0, 0);
if ( (v34[0] & 1) != 0 )
operator delete(v35);
if ( (v66 & 1) != 0 )
operator delete(*(void **)&v67[15]);
v84 = 26;
strcpy(v85, "Reverse\nOrder");
v36[0] = 0;
sub_10028CBE0(&v105, v106, v107 + -138.0);
SetupTriggerPopup::createCustomButton(a1, 4, &v84, v36, &v105, 1, 0.69999999, 0.40000001, 0, 0);
if ( (v36[0] & 1) != 0 )
operator delete(v37);
if ( (v84 & 1) != 0 )
operator delete(*(void **)&v85[15]);
v86 = 22;
strcpy(v87, "LineOpacity");
sub_10028CBE0(
&v105,
(float)((float)(a1->m_width * 0.5) + (float)(v103 * 0.5)) + -90.0,
(float)((float)(v104 * 0.5) - (float)(a1->m_height * 0.5)) + 50.0);
SetupTriggerPopup::createValueControlAdvanced(
(_DWORD)a1,
524,
(unsigned int)&v86,
(unsigned int)&v105,
0,
1,
1,
0,
0,
0,
1,
2,
0);
if ( (v86 & 1) != 0 )
{
a1 = (SetupKeyframePopup *)v88;
operator delete(v88);
}
v11 = (cocos2d::CCObject *)sub_10071F9E0(a1, 524);
v5->m_timeModeToggles = (cocos2d::CCArray *)v11;
cocos2d::CCObject::retain(v11);
LOBYTE(v101) = v6;
*(_QWORD *)&v12 = LODWORD(v103);
*(float *)&v12 = (float)((float)(v103 * 0.5) + 85.0) + 110.0;
sub_10028CBE0(v89, *(float *)&v12, (float)(0.5 * v104) + 50.0);
v105.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)4;
strcpy(v105.__r_.__value_.__s.__data_, "NA");
std::string::assign(&v105, "Time");
if ( (*(_BYTE *)&v105.__r_.__value_.__s.0 & 1) != 0 )
{
sub_100006B70(&v98, v105.__r_.__value_.__l.__data_, v105.__r_.__value_.__l.__size_, v12);
}
else
{
data = v105.__r_.__value_.__l.__data_;
v98 = *(_OWORD *)&v105.__r_.__value_.__l.0;
}
m_buttonMenu = v5->m_buttonMenu;
sub_10028CBE0(v97, 0.0, 0.0);
sub_10028CCE0(v96, v89);
m_mainLayer = (__int64)v5->m_mainLayer;
sub_10028CBE0(v68, 0.0, 4.0);
ToggleButton = (_BYTE *)GameToolbox::createToggleButton(
(unsigned int)&v98,
(unsigned int)SetupKeyframePopup::onTimeMode,
0,
0,
(_DWORD)m_buttonMenu,
(unsigned int)v96,
(__int64)v5,
m_mainLayer,
(__int64)v68,
(__int64)"bigFont.fnt",
1,
0,
0);
if ( (v98 & 1) != 0 )
operator delete(data);
ToggleButton[393] = 1;
(*(void (__fastcall **)(_BYTE *, _QWORD, double, double, double))(*(_QWORD *)ToggleButton + 72LL))(
ToggleButton,
0,
COERCE_DOUBLE(1060320051),
COERCE_DOUBLE(1051931443),
COERCE_DOUBLE(1121714176));
sub_10071FCD0(v5->m_timeModeToggles, ToggleButton);
if ( (*(_BYTE *)&v105.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v105.__r_.__value_.__l.__data_);
v105.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)4;
strcpy(v105.__r_.__value_.__s.__data_, "NA");
std::string::assign(&v105, "Even");
if ( (*(_BYTE *)&v105.__r_.__value_.__s.0 & 1) != 0 )
{
sub_100006B70(&v98, v105.__r_.__value_.__l.__data_, v105.__r_.__value_.__l.__size_, COERCE_DOUBLE(1060320051));
}
else
{
data = v105.__r_.__value_.__l.__data_;
v98 = *(_OWORD *)&v105.__r_.__value_.__l.0;
}
v16 = v5->m_buttonMenu;
sub_10028CBE0(v97, 0.0, -50.0);
sub_10028CCE0(v96, v89);
v17 = (__int64)v5->m_mainLayer;
sub_10028CBE0(v68, 0.0, 4.0);
v18 = (_BYTE *)GameToolbox::createToggleButton(
(unsigned int)&v98,
(unsigned int)SetupKeyframePopup::onTimeMode,
0,
0,
(_DWORD)v16,
(unsigned int)v96,
(__int64)v5,
v17,
(__int64)v68,
(__int64)"bigFont.fnt",
1,
0,
0);
if ( (v98 & 1) != 0 )
operator delete(data);
v18[393] = 1;
(*(void (__fastcall **)(_BYTE *, __int64, double, double, double))(*(_QWORD *)v18 + 72LL))(
v18,
1,
COERCE_DOUBLE(1060320051),
COERCE_DOUBLE(1051931443),
COERCE_DOUBLE(1121714176));
sub_10071FCD0(v5->m_timeModeToggles, v18);
if ( (*(_BYTE *)&v105.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v105.__r_.__value_.__l.__data_);
v105.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)4;
strcpy(v105.__r_.__value_.__s.__data_, "NA");
std::string::assign(&v105, "Dist");
if ( (*(_BYTE *)&v105.__r_.__value_.__s.0 & 1) != 0 )
{
sub_100006B70(&v98, v105.__r_.__value_.__l.__data_, v105.__r_.__value_.__l.__size_, COERCE_DOUBLE(1060320051));
}
else
{
data = v105.__r_.__value_.__l.__data_;
v98 = *(_OWORD *)&v105.__r_.__value_.__l.0;
}
v19 = v5->m_buttonMenu;
sub_10028CBE0(v97, 0.0, -100.0);
sub_10028CCE0(v96, v89);
v20 = (__int64)v5->m_mainLayer;
sub_10028CBE0(v68, 0.0, 4.0);
v21 = (_BYTE *)GameToolbox::createToggleButton(
(unsigned int)&v98,
(unsigned int)SetupKeyframePopup::onTimeMode,
0,
0,
(_DWORD)v19,
(unsigned int)v96,
(__int64)v5,
v20,
(__int64)v68,
(__int64)"bigFont.fnt",
1,
0,
0);
if ( (v98 & 1) != 0 )
operator delete(data);
v21[393] = 1;
(*(void (__fastcall **)(_BYTE *, __int64, double, double, double))(*(_QWORD *)v21 + 72LL))(
v21,
2,
COERCE_DOUBLE(1060320051),
COERCE_DOUBLE(1051931443),
COERCE_DOUBLE(1121714176));
sub_10071FCD0(v5->m_timeModeToggles, v21);
if ( (*(_BYTE *)&v105.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v105.__r_.__value_.__l.__data_);
((void (__fastcall *)(SetupKeyframePopup *, __int64))v5->getValue)(v5, 379);
m_timeModeToggles = v5->m_timeModeToggles;
if ( m_timeModeToggles )
{
v23 = m_timeModeToggles->data;
if ( v23->num )
{
arr = (CCMenuItemToggler **)v23->arr;
v25 = &arr[v23->num - 1];
do
{
v26 = *arr;
if ( !*arr )
break;
v27 = ((__int64 (__fastcall *)(CCMenuItemToggler *))v26->getTag)(*arr);
CCMenuItemToggler::toggle(v26, v27 == (int)0.69999999);
++arr;
}
while ( arr <= v25 );
}
}
SetupTriggerPopup::postSetup(v5);
v6 = LOBYTE(v101);
if ( (*(_BYTE *)&v100.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v100.__r_.__value_.__l.__data_);
return v6;
}