//
// CreateGuidelinesLayer::init from 0x10007c384 to 0x10007d084 (3328 bytes)
//
// 2 xrefs:
// > CreateGuidelinesLayer::create @ 0x10007c334
// > FindBPMLayer::init @ 0x10007e11c
//
// 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 CreateGuidelinesLayer::init(CreateGuidelinesLayer *a1, CustomSongDelegate *a2, AudioGuidelinesType a3)
{
_BOOL4 inited; // w19
cocos2d::CCDirector *v7; // x0
__int64 v8; // x0
cocos2d::CCArray *v9; // x0
__int64 v10; // x0
cocos2d::CCArray *v11; // x0
cocos2d::CCMenu *v12; // x0
cocos2d::extension::CCScale9Sprite *v13; // x22
__n128 v14; // q0
__n128 v15; // q1
const std::string::value_type *v16; // x1
std::string *v17; // x0
cocos2d::CCLabelBMFont *v18; // x22
__n128 v19; // q0
__n128 v20; // q1
cocos2d::CCLabelBMFont *v21; // x23
__n128 v22; // q0
__n128 v23; // q1
__n128 v24; // q0
cocos2d::CCTintTo *v25; // x24
cocos2d::CCActionInterval *v26; // x0
cocos2d::CCRepeatForever *v27; // x0
__n128 v28; // q1
__n128 v29; // q0
__int64 v30; // x23
__n128 v31; // q0
__n128 v32; // q1
float32x2_t *v33; // x24
__n128 v34; // q0
__n128 v35; // q1
double v36; // d0
__n128 v37; // q1
__n128 v38; // q0
__int64 v39; // x23
__n128 v40; // q0
__n128 v41; // q1
float32x2_t *v42; // x22
__n128 v43; // q0
__n128 v44; // q1
double v45; // d0
__n128 v46; // q0
__n128 v47; // q1
ButtonSprite *v48; // x0
CCMenuItemSpriteExtra *v49; // x22
__n128 v50; // q0
cocos2d::CCMenu *m_buttonMenu; // x23
__n128 v52; // q1
cocos2d::CCLabelBMFont *v53; // x22
__n128 v54; // q0
__n128 v55; // q1
double v56; // d0
double v57; // d0
cocos2d::extension::CCScale9Sprite *v58; // x22
CCTextInputNode *m_offsetInput; // x22
ButtonSprite *v60; // x0
CCMenuItemSpriteExtra *v61; // x22
__n128 v62; // q0
cocos2d::CCMenu *v63; // x23
__n128 v64; // q1
ButtonSprite *v65; // x0
CCMenuItemSpriteExtra *v66; // x22
__n128 v67; // q0
cocos2d::CCMenu *v68; // x23
__n128 v69; // q1
cocos2d::CCLabelBMFont *v70; // x22
__n128 v71; // q0
__n128 v72; // q1
cocos2d::CCSprite *v73; // x22
float v74; // s2
__n128 v75; // q0
__n128 v76; // q1
cocos2d::CCSprite *v77; // x0
CCMenuItemSpriteExtra *v78; // x22
__n128 v79; // q0
cocos2d::CCMenu *v80; // x23
__n128 v81; // q1
cocos2d::CCSprite *v82; // x0
CCMenuItemSpriteExtra *v83; // x21
__n128 v84; // q0
cocos2d::CCMenu *v85; // x22
__n128 v86; // q1
float v88; // s1
float v89; // s2
float v90; // s3
cocos2d::CCPoint v91; // [xsp+10h] [xbp-130h] BYREF
int v92; // [xsp+18h] [xbp-128h] BYREF
void *v93[2]; // [xsp+20h] [xbp-120h] BYREF
char v94; // [xsp+37h] [xbp-109h]
float32x2_t v95[2]; // [xsp+38h] [xbp-108h] BYREF
float32x2_t v96[2]; // [xsp+48h] [xbp-F8h] BYREF
float32x2_t v97; // [xsp+58h] [xbp-E8h] BYREF
std::string __dst; // [xsp+60h] [xbp-E0h] BYREF
std::string __p; // [xsp+80h] [xbp-C0h] BYREF
std::string v100; // [xsp+A0h] [xbp-A0h] BYREF
std::string v101; // [xsp+B8h] [xbp-88h] BYREF
std::string v102; // [xsp+D0h] [xbp-70h] BYREF
float v103; // [xsp+E8h] [xbp-58h]
float v104; // [xsp+ECh] [xbp-54h]
cocos2d::CCPoint v105; // 0:kr08_8.8
cocos2d::CCPoint v106; // 0:kr10_8.8
cocos2d::CCPoint v107; // 0:kr18_8.8
cocos2d::CCPoint v108; // 0:kr20_8.8
cocos2d::CCPoint v109; // 0:kr28_8.8
cocos2d::SEL_MenuHandler v110; // 0:x3.16
cocos2d::SEL_MenuHandler v111; // 0:x3.16
cocos2d::SEL_MenuHandler v112; // 0:x3.16
cocos2d::SEL_MenuHandler v113; // 0:x3.16
cocos2d::SEL_MenuHandler v114; // 0:x3.16
cocos2d::CCRect v115; // 0:kr30_16.16
cocos2d::CCRect v116; // 0:s0.4,4:s1.4,8:s2.4,12:s3.4
inited = FLAlertLayer::init_1(a1, 75);
if ( inited )
{
a1->m_delegate = a2;
v7 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::getWinSize(v7);
v9 = (cocos2d::CCArray *)sub_10024A15C(v8);
a1->m_nonRecordingObjects = v9;
cocos2d::CCObject::retain(v9);
v11 = (cocos2d::CCArray *)sub_10024A15C(v10);
a1->m_recordingObjects = v11;
cocos2d::CCObject::retain(v11);
v12 = cocos2d::CCMenu::create();
a1->m_buttonMenu = v12;
((void (__fastcall *)(cocos2d::CCLayer *, cocos2d::CCMenu *, __int64))a1->m_mainLayer->addChild_0)(
a1->m_mainLayer,
v12,
10);
sub_100022990((float *)&v102, 0.0, 0.0, 80.0, 80.0);
v13 = cocos2d::extension::CCScale9Sprite::create("GJ_square01.png", v116);
sub_100022988((float *)&v102, 440.0, 290.0);
((void (__fastcall *)(cocos2d::extension::CCScale9Sprite *, std::string *))v13->setContentSize)(v13, &v102);
v14 = ((__n128 (__fastcall *)(cocos2d::CCLayer *, cocos2d::extension::CCScale9Sprite *, __int64))a1->m_mainLayer->addChild_0)(
a1->m_mainLayer,
v13,
0xFFFFFFFFLL);
v14.n128_f32[0] = v103 * 0.5;
v15.n128_f32[0] = v104 * 0.5;
sub_100022980(v14, v15, &v102);
((void (__fastcall *)(cocos2d::extension::CCScale9Sprite *, std::string *))v13->setPosition)(v13, &v102);
memset(&v102, 0, sizeof(v102));
memset(&v101, 0, sizeof(v101));
memset(&v100, 0, sizeof(v100));
if ( a3 == BPMFinder )
{
std::string::assign(&v102, "BPM Finder");
std::string::assign(&v101, "- Find the BPM of a song.\n- Tap to the beat.\n- Recording starts on first tap.");
v16 = "- Tap on the screen to the beat.\n- Tap on the stop button to finish.";
}
else
{
std::string::assign(&v102, "Guideline Creator");
std::string::assign(
&v101,
"- Create guidelines for custom songs.\n"
"- Each tap will be shown as a line in the editor.\n"
"- Multiple recordings will be merged into one.\n"
"- Use the clear button to reset the guidelines.");
v16 = "- Tap on the screen to create markers.\n- Tap on the stop button to finish.";
}
std::string::assign(&v100, v16);
if ( (v102.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL )
v17 = &v102;
else
v17 = (std::string *)v102.__r_.__value_.__r.__words[0];
v18 = cocos2d::CCLabelBMFont::create_1((const char *)v17, "bigFont.fnt");
v19.n128_f32[0] = v103 * 0.5;
v20.n128_f32[0] = (float)((float)(v104 * 0.5) + 145.0) + -20.0;
sub_100022980(v19, v20, v96);
((void (__fastcall *)(cocos2d::CCLabelBMFont *, float32x2_t *))v18->setPosition)(v18, v96);
((void (__fastcall *)(cocos2d::CCLayer *, cocos2d::CCLabelBMFont *))a1->m_mainLayer->addChild)(a1->m_mainLayer, v18);
((void (__fastcall *)(cocos2d::CCLabelBMFont *, float))v18->setScale)(v18, 0.8);
sub_10024A2D0(a1->m_nonRecordingObjects, v18);
v21 = cocos2d::CCLabelBMFont::create_1("•Recording•", "bigFont.fnt");
v22.n128_f32[0] = v103 * 0.5;
v23.n128_f32[0] = (float)((float)(v104 * 0.5) + 145.0) + -20.0;
sub_100022980(v22, v23, v96);
((void (__fastcall *)(cocos2d::CCLabelBMFont *, float32x2_t *))v21->setPosition)(v21, v96);
((void (__fastcall *)(cocos2d::CCLayer *, cocos2d::CCLabelBMFont *))a1->m_mainLayer->addChild)(a1->m_mainLayer, v21);
((void (__fastcall *)(cocos2d::CCLabelBMFont *, float))v21->setScale)(v21, 0.8);
v24 = sub_10024A2D0(a1->m_recordingObjects, v21);
v96[0].i8[2] = 0;
v96[0].i16[0] = -26881;
((void (__fastcall *)(cocos2d::CCLabelBMFont *, float32x2_t *, __n128))v21->setColor)(v21, v96, v24);
v25 = cocos2d::CCTintTo::create(1.0, 0xFFu, 0x64u, 0);
cocos2d::CCTintTo::create(1.0, 0xFFu, 0x96u, 0);
v26 = (cocos2d::CCActionInterval *)sub_10018A494(v25);
v27 = cocos2d::CCRepeatForever::create(v26);
cocos2d::CCNode::runAction(v21, v27);
if ( SHIBYTE(v101.__r_.__value_.__r.__words[2]) < 0 )
{
sub_1000097D0(&__p, v101.__r_.__value_.__l.__data_, v101.__r_.__value_.__l.__size_);
}
else
{
v29 = *(__n128 *)&v101.__r_.__value_.__l.__data_;
__p = v101;
}
v29.n128_u32[0] = 0;
v28.n128_u32[0] = 1.0;
sub_100022980(v29, v28, v96);
v30 = TextArea::create(&__p, "goldFont.fnt", v96, 0, 1.0, 9999.0, 28.0);
if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 )
operator delete(__p.__r_.__value_.__l.__data_);
v31 = ((__n128 (__fastcall *)(__int64, float))*(_QWORD *)(*(_QWORD *)v30 + 160LL))(v30, 0.5);
v31.n128_u32[0] = 0;
v32.n128_u32[0] = 1.0;
sub_100022980(v31, v32, v96);
(*(void (__fastcall **)(__int64, float32x2_t *))(*(_QWORD *)v30 + 280LL))(v30, v96);
((void (__fastcall *)(cocos2d::CCLayer *, __int64))a1->m_mainLayer->addChild)(a1->m_mainLayer, v30);
v33 = (float32x2_t *)((__int64 (__fastcall *)(cocos2d::CCLabelBMFont *))v18->getPosition)(v18);
v34.n128_u32[0] = -1021640704;
v35.n128_u32[0] = -20.0;
sub_100022980(v34, v35, v95);
*(float32x2_t *)&v36 = sub_1000229DC(v33, v95, v96);
(*(void (__fastcall **)(__int64, float32x2_t *, double))(*(_QWORD *)v30 + 184LL))(v30, v96, v36);
sub_10024A2D0(a1->m_nonRecordingObjects, v30);
if ( SHIBYTE(v100.__r_.__value_.__r.__words[2]) < 0 )
{
sub_1000097D0(&__dst, v100.__r_.__value_.__l.__data_, v100.__r_.__value_.__l.__size_);
}
else
{
v38 = *(__n128 *)&v100.__r_.__value_.__l.__data_;
__dst = v100;
}
v38.n128_u32[0] = 0;
v37.n128_u32[0] = 1.0;
sub_100022980(v38, v37, v96);
v39 = TextArea::create(&__dst, "goldFont.fnt", v96, 0, 1.0, 9999.0, 28.0);
if ( SHIBYTE(__dst.__r_.__value_.__r.__words[2]) < 0 )
operator delete(__dst.__r_.__value_.__l.__data_);
v40 = ((__n128 (__fastcall *)(__int64, float))*(_QWORD *)(*(_QWORD *)v39 + 160LL))(v39, 0.5);
v40.n128_u32[0] = 0;
v41.n128_u32[0] = 1.0;
sub_100022980(v40, v41, v96);
(*(void (__fastcall **)(__int64, float32x2_t *))(*(_QWORD *)v39 + 280LL))(v39, v96);
((void (__fastcall *)(cocos2d::CCLayer *, __int64))a1->m_mainLayer->addChild)(a1->m_mainLayer, v39);
v42 = (float32x2_t *)((__int64 (__fastcall *)(cocos2d::CCLabelBMFont *))v18->getPosition)(v18);
v43.n128_u32[0] = -1021640704;
v44.n128_u32[0] = -20.0;
sub_100022980(v43, v44, v95);
*(float32x2_t *)&v45 = sub_1000229DC(v42, v95, v96);
(*(void (__fastcall **)(__int64, float32x2_t *, double))(*(_QWORD *)v39 + 184LL))(v39, v96, v45);
v46 = sub_10024A2D0(a1->m_recordingObjects, v39);
if ( a3 != BPMFinder )
{
v48 = sub_10005F2BC("Clear", 100, 0, 0, 0.6);
v110.ptr = (void (__cdecl *)(cocos2d::CCObject *))CreateGuidelinesLayer::onClearGuidelines;
v110.adj = 0;
v49 = CCMenuItemSpriteExtra::create(v48, nullptr, a1, v110);
((void (__fastcall *)(cocos2d::CCMenu *, CCMenuItemSpriteExtra *))a1->m_buttonMenu->addChild)(
a1->m_buttonMenu,
v49);
v50 = sub_10024A2D0(a1->m_nonRecordingObjects, v49);
m_buttonMenu = a1->m_buttonMenu;
v50.n128_f32[0] = (float)(v103 * 0.5) + -75.0;
v52.n128_f32[0] = v104 * 0.5;
sub_100022980(v50, v52, v95);
v105 = cocos2d::CCNode::convertToNodeSpace(m_buttonMenu, (const cocos2d::CCPoint *)v95);
v46 = ((__n128 (__fastcall *)(CCMenuItemSpriteExtra *, float32x2_t *, float, float))v49->setPosition)(
v49,
v96,
v105.x,
v105.y);
}
v46.n128_f32[0] = (float)(v103 * 0.5) + 75.0;
v47.n128_f32[0] = v104 * 0.5;
sub_100022980(v46, v47, &v97);
v53 = cocos2d::CCLabelBMFont::create_1("Start Offset", "bigFont.fnt");
v54 = ((__n128 (__fastcall *)(cocos2d::CCLabelBMFont *, float))v53->setScale)(v53, 0.4);
v54.n128_u32[0] = 0;
v55.n128_u32[0] = 25.0;
sub_100022980(v54, v55, v95);
*(float32x2_t *)&v56 = sub_1000229DC(&v97, v95, v96);
((void (__fastcall *)(cocos2d::CCLabelBMFont *, float32x2_t *, double))v53->setPosition)(v53, v96, v56);
((void (__fastcall *)(cocos2d::CCLayer *, cocos2d::CCLabelBMFont *))a1->m_mainLayer->addChild)(a1->m_mainLayer, v53);
sub_10024A2D0(a1->m_nonRecordingObjects, v53);
sub_100022990((float *)v96, 0.0, 0.0, 40.0, 40.0);
v57 = sub_100022B98(v95, (__int64)v96);
v115.origin.x = *(float *)&v57;
v115.origin.y = v88;
v115.size.width = v89;
v115.size.height = v90;
v58 = cocos2d::extension::CCScale9Sprite::create("square02_small.png", v115);
((void (__fastcall *)(cocos2d::extension::CCScale9Sprite *, __int64))v58->setOpacity)(v58, 100);
sub_100022988((float *)v95, 100.0, 30.0);
((void (__fastcall *)(cocos2d::extension::CCScale9Sprite *, float32x2_t *))v58->setContentSize)(v58, v95);
((void (__fastcall *)(cocos2d::CCLayer *, cocos2d::extension::CCScale9Sprite *, __int64))a1->m_mainLayer->addChild_0)(
a1->m_mainLayer,
v58,
0xFFFFFFFFLL);
((void (__fastcall *)(cocos2d::extension::CCScale9Sprite *, float32x2_t *))v58->setPosition)(v58, &v97);
sub_10024A2D0(a1->m_nonRecordingObjects, v58);
a1->m_offsetInput = CCTextInputNode::create(100.0, 50.0, "Seconds", "Thonburi", 24, "bigFont.fnt");
((void (__fastcall *)(cocos2d::CCLayer *))a1->m_mainLayer->addChild_0)(a1->m_mainLayer);
((void (__fastcall *)(CCTextInputNode *, float32x2_t *))a1->m_offsetInput->setPosition)(a1->m_offsetInput, &v97);
CCTextInputNode::setMaxLabelScale(a1->m_offsetInput, 0.7);
CCTextInputNode::setMaxLabelWidth(a1->m_offsetInput, 200.0);
((void (__fastcall *)(cocos2d::CCTextFieldTTF *, _QWORD))a1->m_offsetInput->m_textField->setVisible)(
a1->m_offsetInput->m_textField,
0);
m_offsetInput = a1->m_offsetInput;
m_offsetInput->m_maxLabelLength = 3;
sub_100009900(v93, "0123456789.");
CCTextInputNode::setAllowedChars(m_offsetInput, v93);
if ( v94 < 0 )
operator delete(v93[0]);
CCTextInputNode::setLabelPlaceholderColor(a1->m_offsetInput, (cocos2d::ccColor3B)-1004936);
CCTextInputNode::setLabelPlaceholderScale(a1->m_offsetInput, 0.5);
sub_10024A2D0(a1->m_nonRecordingObjects, a1->m_offsetInput);
v60 = sub_10005F3A0("Record", 120, 0, 1, "bigFont.fnt", "GJ_button_01.png", 0.8);
v111.ptr = (void (__cdecl *)(cocos2d::CCObject *))1344;
v111.adj = 1;
v61 = CCMenuItemSpriteExtra::create(v60, nullptr, a1, v111);
((void (__fastcall *)(cocos2d::CCMenu *, CCMenuItemSpriteExtra *))a1->m_buttonMenu->addChild)(a1->m_buttonMenu, v61);
v62 = sub_10024A2D0(a1->m_nonRecordingObjects, v61);
v63 = a1->m_buttonMenu;
v62.n128_f32[0] = v103 * 0.5;
v64.n128_f32[0] = (float)((float)(v104 * 0.5) + -145.0) + 50.0;
sub_100022980(v62, v64, &v91);
v106 = cocos2d::CCNode::convertToNodeSpace(v63, &v91);
((void (__fastcall *)(CCMenuItemSpriteExtra *, int *, float, float))v61->setPosition)(v61, &v92, v106.x, v106.y);
v65 = sub_10005F3A0("Stop", 100, 0, 0, "bigFont.fnt", "GJ_button_02.png", 0.6);
v112.ptr = (void (__cdecl *)(cocos2d::CCObject *))CreateGuidelinesLayer::onStop;
v112.adj = 0;
v66 = CCMenuItemSpriteExtra::create(v65, nullptr, a1, v112);
((void (__fastcall *)(cocos2d::CCMenu *, CCMenuItemSpriteExtra *))a1->m_buttonMenu->addChild)(a1->m_buttonMenu, v66);
v67 = sub_10024A2D0(a1->m_recordingObjects, v66);
v67.n128_f32[0] = (float)((float)(v103 * 0.5) + 220.0) + -40.0;
v68 = a1->m_buttonMenu;
v69.n128_f32[0] = (float)((float)(v104 * 0.5) + 145.0) + -25.0;
sub_100022980(v67, v69, &v91);
v107 = cocos2d::CCNode::convertToNodeSpace(v68, &v91);
((void (__fastcall *)(CCMenuItemSpriteExtra *, int *, float, float))v66->setPosition)(v66, &v92, v107.x, v107.y);
v70 = cocos2d::CCLabelBMFont::create_1("", "bigFont.fnt");
a1->m_infoLabel = v70;
v71.n128_f32[0] = v103 * 0.5;
v72.n128_f32[0] = (float)((float)(v104 * 0.5) + -145.0) + 90.0;
sub_100022980(v71, v72, &v92);
((void (__fastcall *)(cocos2d::CCLabelBMFont *, int *))v70->setPosition)(v70, &v92);
((void (__fastcall *)(cocos2d::CCLayer *, cocos2d::CCLabelBMFont *))a1->m_mainLayer->addChild)(
a1->m_mainLayer,
a1->m_infoLabel);
((void (__fastcall *)(cocos2d::CCLabelBMFont *, float))a1->m_infoLabel->setScale)(a1->m_infoLabel, 0.5);
((void (__fastcall *)(cocos2d::CCLabelBMFont *, void *))a1->m_infoLabel->setColor)(a1->m_infoLabel, &unk_100636564);
sub_10024A2D0(a1->m_nonRecordingObjects, a1->m_infoLabel);
v73 = cocos2d::CCSprite::createWithSpriteFrameName("d_ball_01_001.png");
v74 = v104;
v75.n128_f32[0] = (float)((float)(v103 * 0.5) + -220.0) + 30.0;
a1->m_circleSprite = v73;
v76.n128_f32[0] = (float)((float)(v74 * 0.5) + 145.0) + -30.0;
sub_100022980(v75, v76, &v92);
((void (__fastcall *)(cocos2d::CCSprite *, int *))v73->setPosition)(v73, &v92);
((void (__fastcall *)(cocos2d::CCSprite *, float))a1->m_circleSprite->setScale)(a1->m_circleSprite, 0.8);
((void (__fastcall *)(cocos2d::CCLayer *, cocos2d::CCSprite *))a1->m_mainLayer->addChild)(
a1->m_mainLayer,
a1->m_circleSprite);
sub_10024A2D0(a1->m_recordingObjects, a1->m_circleSprite);
v77 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_closeBtn_001.png");
v113.ptr = (void (__cdecl *)(cocos2d::CCObject *))1304;
v113.adj = 1;
v78 = CCMenuItemSpriteExtra::create(v77, nullptr, a1, v113);
CCMenuItemSpriteExtra::setSizeMult(v78, 1.5);
((void (__fastcall *)(cocos2d::CCMenu *, CCMenuItemSpriteExtra *))a1->m_buttonMenu->addChild)(a1->m_buttonMenu, v78);
v79 = sub_10024A2D0(a1->m_nonRecordingObjects, v78);
v79.n128_f32[0] = (float)((float)(v103 * 0.5) + -220.0) + 10.0;
v80 = a1->m_buttonMenu;
v81.n128_f32[0] = (float)((float)(v104 * 0.5) + 145.0) + -10.0;
sub_100022980(v79, v81, &v91);
v108 = cocos2d::CCNode::convertToNodeSpace(v80, &v91);
((void (__fastcall *)(CCMenuItemSpriteExtra *, int *, float, float))v78->setPosition)(v78, &v92, v108.x, v108.y);
if ( a3 != BPMFinder )
{
v82 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_infoIcon_001.png");
v114.ptr = (void (__cdecl *)(cocos2d::CCObject *))1336;
v114.adj = 1;
v83 = CCMenuItemSpriteExtra::create(v82, nullptr, a1, v114);
CCMenuItemSpriteExtra::setSizeMult(v83, 2.0);
v84 = ((__n128 (__fastcall *)(cocos2d::CCMenu *, CCMenuItemSpriteExtra *))a1->m_buttonMenu->addChild)(
a1->m_buttonMenu,
v83);
v85 = a1->m_buttonMenu;
v84.n128_f32[0] = (float)((float)(v103 * 0.5) + 220.0) + -17.0;
v86.n128_f32[0] = (float)((float)(v104 * 0.5) + 145.0) + -17.0;
sub_100022980(v84, v86, &v91);
v109 = cocos2d::CCNode::convertToNodeSpace(v85, &v91);
((void (__fastcall *)(CCMenuItemSpriteExtra *, int *, float, float))v83->setPosition)(v83, &v92, v109.x, v109.y);
sub_10024A2D0(a1->m_nonRecordingObjects, v83);
}
CreateGuidelinesLayer::toggleItems(a1, 0);
if ( SHIBYTE(v100.__r_.__value_.__r.__words[2]) < 0 )
operator delete(v100.__r_.__value_.__l.__data_);
if ( SHIBYTE(v101.__r_.__value_.__r.__words[2]) < 0 )
operator delete(v101.__r_.__value_.__l.__data_);
if ( SHIBYTE(v102.__r_.__value_.__r.__words[2]) < 0 )
operator delete(v102.__r_.__value_.__l.__data_);
}
return inited;
}