// // CreateGuidelinesLayer::init from 0x3f81a0 to 0x3f8c52 (2738 bytes) // // 2 xrefs: // > CreateGuidelinesLayer::create @ 0x3f8c86 // > FindBPMLayer::init @ 0x3f8cc8 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:47:19 +0000 // GameManager *__fastcall CreateGuidelinesLayer::init(int a1, int a2, int a3) { GameManager *v5; // r0 cocos2d::CCArray *WinSize; // r0 cocos2d::CCObject *v7; // r0 cocos2d::CCArray *v8; // r0 cocos2d::CCObject *v9; // r0 cocos2d::CCMenu *v10; // r0 int v11; // r0 int v12; // r6 void (__fastcall *v13)(int, _DWORD *); // r7 void (__fastcall *v14)(int, _DWORD *); // r7 char *v15; // r1 const char *v16; // r2 cocos2d::CCLabelBMFont *v17; // r0 cocos2d::CCObject *v18; // r7 void (__fastcall *v19)(cocos2d::CCObject *, _DWORD *); // r6 const char *v20; // r2 cocos2d::CCObject *v21; // r6 void (__fastcall *v22)(cocos2d::CCObject *, _DWORD *); // r8 void (__fastcall *v23)(cocos2d::CCObject *, _DWORD *); // r3 cocos2d::CCSequence *v24; // r8 cocos2d::CCFiniteTimeAction *v25; // r0 cocos2d::CCRepeatForever *v26; // r0 cocos2d::CCActionInterval *v27; // r1 cocos2d::CCAction *v28; // r0 cocos2d::CCObject *v29; // r8 void (__fastcall *v30)(cocos2d::CCObject *, _DWORD *); // r6 int v31; // r10 cocos2d::CCObject *v32; // r5 void (__fastcall *v33)(cocos2d::CCObject *, _DWORD *); // r10 void (__fastcall *v34)(cocos2d::CCObject *, _DWORD *); // r10 int v35; // r7 ButtonSprite *v36; // r0 cocos2d::CCObject *v37; // r5 const cocos2d::CCPoint *v38; // r10 void (__fastcall *v39)(cocos2d::CCObject *, _DWORD *); // r8 const char *v40; // r2 cocos2d::CCObject *v41; // r7 void (__fastcall *v42)(cocos2d::CCObject *, _DWORD *); // r10 cocos2d::CCObject *v43; // r6 int *v44; // r0 int v45; // r7 ButtonSprite *v46; // r0 cocos2d::CCObject *v47; // r7 const cocos2d::CCPoint *v48; // r10 void (__fastcall *v49)(cocos2d::CCObject *, _DWORD *); // r8 ButtonSprite *v50; // r0 cocos2d::CCObject *v51; // r7 const cocos2d::CCPoint *v52; // r10 void (__fastcall *v53)(cocos2d::CCObject *, _DWORD *); // r8 const char *v54; // r2 int v55; // r0 float v56; // s15 int v57; // r7 void (__fastcall *v58)(int, _DWORD *); // r8 const char *v59; // r1 int v60; // r0 float v61; // s15 int v62; // r7 void (__fastcall *v63)(int, _DWORD *); // r8 const char *v64; // r1 int v65; // r0 cocos2d::CCObject *v66; // r7 const cocos2d::CCPoint *v67; // r10 void (__fastcall *v68)(cocos2d::CCObject *, _DWORD *); // r8 const char *v69; // r1 int v70; // r0 cocos2d::CCObject *v71; // r5 const cocos2d::CCPoint *v72; // r10 void (__fastcall *v73)(cocos2d::CCObject *, _BYTE *); // r8 unsigned __int8 v75; // [sp+0h] [bp-DCh] unsigned __int8 v76; // [sp+0h] [bp-DCh] bool v77; // [sp+4h] [bp-D8h] char *v78; // [sp+8h] [bp-D4h] char *v79; // [sp+Ch] [bp-D0h] char *v80; // [sp+Ch] [bp-D0h] GameManager *v82; // [sp+14h] [bp-C8h] void (__fastcall *v83)(cocos2d::CCObject *, _DWORD *); // [sp+18h] [bp-C4h] int v84; // [sp+20h] [bp-BCh] float v85; // [sp+24h] [bp-B8h] BYREF float v86; // [sp+28h] [bp-B4h] _BYTE v87[8]; // [sp+2Ch] [bp-B0h] BYREF _BYTE v88[8]; // [sp+34h] [bp-A8h] BYREF char v89[8]; // [sp+3Ch] [bp-A0h] BYREF _BYTE v90[8]; // [sp+44h] [bp-98h] BYREF int (__fastcall *v91)(CreateGuidelinesLayer *, cocos2d::CCObject *); // [sp+4Ch] [bp-90h] int v92; // [sp+50h] [bp-8Ch] int v93; // [sp+54h] [bp-88h] int v94; // [sp+58h] [bp-84h] int (__fastcall *v95)(CreateGuidelinesLayer *, cocos2d::CCObject *); // [sp+5Ch] [bp-80h] int v96; // [sp+60h] [bp-7Ch] _DWORD v97[2]; // [sp+64h] [bp-78h] BYREF int v98[2]; // [sp+6Ch] [bp-70h] BYREF cocos2d::CCLabelBMFont *v99; // [sp+74h] [bp-68h] int v100[3]; // [sp+78h] [bp-64h] BYREF int v101[3]; // [sp+84h] [bp-58h] BYREF int v102[3]; // [sp+90h] [bp-4Ch] BYREF int v103[3]; // [sp+9Ch] [bp-40h] BYREF int v104[3]; // [sp+A8h] [bp-34h] BYREF _BYTE v105[16]; // [sp+B4h] [bp-28h] BYREF _DWORD v106[4]; // [sp+C4h] [bp-18h] BYREF v5 = FLAlertLayer::init((FLAlertLayer *)a1, 75); v82 = v5; if ( v5 ) { *(_DWORD *)(a1 + 524) = a2; cocos2d::CCDirector::sharedDirector(v5); WinSize = (cocos2d::CCArray *)cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)&v85); v7 = (cocos2d::CCObject *)cocos2d::CCArray::create(WinSize); *(_DWORD *)(a1 + 532) = v7; v8 = (cocos2d::CCArray *)cocos2d::CCObject::retain(v7); v9 = (cocos2d::CCObject *)cocos2d::CCArray::create(v8); *(_DWORD *)(a1 + 536) = v9; v10 = (cocos2d::CCMenu *)cocos2d::CCObject::retain(v9); v11 = cocos2d::CCMenu::create(v10); *(_DWORD *)(a1 + 444) = v11; (*(void (__fastcall **)(_DWORD, int, int))(**(_DWORD **)(a1 + 460) + 232))(*(_DWORD *)(a1 + 460), v11, 10); cocos2d::CCRect::CCRect((cocos2d::CCRect *)v106, 0.0, 0.0, 80.0, 80.0); v12 = cocos2d::extension::CCScale9Sprite::create("GJ_square01.png", v106); v13 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v12 + 160); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v106, 440.0, 290.0); v13(v12, v106); (*(void (__fastcall **)(_DWORD, int, int))(**(_DWORD **)(a1 + 460) + 232))(*(_DWORD *)(a1 + 460), v12, -1); v14 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v12 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v106, v85 * 0.5, v86 * 0.5); v14(v12, v106); v98[0] = 0; v98[1] = 0; v99 = nullptr; memset(v100, 0, sizeof(v100)); memset(v101, 0, sizeof(v101)); if ( a3 == 1 ) { std::string::assign(v98, "BPM Finder"); std::string::assign(v100, "- Find the BPM of a song.\n- Tap to the beat.\n- Recording starts on first tap."); v15 = "- Tap on the screen to the beat.\n- Tap on the stop button to finish."; } else { std::string::assign(v98, "Guideline Creator"); std::string::assign( v100, "- 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."); v15 = "- Tap on the screen to create markers.\n- Tap on the stop button to finish."; } std::string::assign(v101, v15); if ( (v98[0] & 1) != 0 ) v17 = v99; else v17 = (cocos2d::CCLabelBMFont *)((char *)v98 + 1); v18 = (cocos2d::CCObject *)cocos2d::CCLabelBMFont::create(v17, "bigFont.fnt", v16); v19 = *(void (__fastcall **)(cocos2d::CCObject *, _DWORD *))(*(_DWORD *)v18 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v106, v85 * 0.5, (float)((float)(v86 * 0.5) + 145.0) - 20.0); v19(v18, v106); (*(void (__fastcall **)(_DWORD, cocos2d::CCObject *))(**(_DWORD **)(a1 + 460) + 228))(*(_DWORD *)(a1 + 460), v18); (*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v18 + 80))(v18, 1061997773); cocos2d::CCArray::addObject(*(cocos2d::CCArray **)(a1 + 532), v18); v21 = (cocos2d::CCObject *)cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)&unk_B7C4B4, "bigFont.fnt", v20); v22 = *(void (__fastcall **)(cocos2d::CCObject *, _DWORD *))(*(_DWORD *)v21 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v106, v85 * 0.5, (float)((float)(v86 * 0.5) + 145.0) - 20.0); v22(v21, v106); (*(void (__fastcall **)(_DWORD, cocos2d::CCObject *))(**(_DWORD **)(a1 + 460) + 228))(*(_DWORD *)(a1 + 460), v21); (*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v21 + 80))(v21, 1061997773); cocos2d::CCArray::addObject(*(cocos2d::CCArray **)(a1 + 536), v21); v23 = *(void (__fastcall **)(cocos2d::CCObject *, _DWORD *))(*(_DWORD *)v21 + 536); LOWORD(v106[0]) = -26881; BYTE2(v106[0]) = 0; v23(v21, v106); v24 = (cocos2d::CCSequence *)cocos2d::CCTintTo::create( (cocos2d::CCTintTo *)0x3F800000, COERCE_FLOAT(255), 0x64u, 0, v75); v25 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCTintTo::create( (cocos2d::CCTintTo *)0x3F800000, COERCE_FLOAT(255), 0x96u, 0, v76); v26 = (cocos2d::CCRepeatForever *)cocos2d::CCSequence::create(v24, v25, 0); v28 = (cocos2d::CCAction *)cocos2d::CCRepeatForever::create(v26, v27); cocos2d::CCNode::runAction(v21, v28); std::string::basic_string(v102, (int)v100); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v106, 0.0, 1.0); v29 = (cocos2d::CCObject *)TextArea::create( (int)v102, "goldFont.fnt", 1065353216, 1176255488, (const cocos2d::CCPoint *)v106, 1105199104, 0, 0); std::string::~string((int)v102); (*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v29 + 80))(v29, 1056964608); v30 = *(void (__fastcall **)(cocos2d::CCObject *, _DWORD *))(*(_DWORD *)v29 + 148); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v106, 0.0, 1.0); v30(v29, v106); (*(void (__fastcall **)(_DWORD, cocos2d::CCObject *))(**(_DWORD **)(a1 + 460) + 228))(*(_DWORD *)(a1 + 460), v29); v83 = *(void (__fastcall **)(cocos2d::CCObject *, _DWORD *))(*(_DWORD *)v29 + 92); v31 = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v18 + 96))(v18); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v105, -155.0, -20.0); cocos2d::CCPoint::operator+(v106, v31, v105); v83(v29, v106); cocos2d::CCArray::addObject(*(cocos2d::CCArray **)(a1 + 532), v29); std::string::basic_string(v103, (int)v101); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v106, 0.0, 1.0); v32 = (cocos2d::CCObject *)TextArea::create( (int)v103, "goldFont.fnt", 1065353216, 1176255488, (const cocos2d::CCPoint *)v106, 1105199104, 0, 0); std::string::~string((int)v103); (*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v32 + 80))(v32, 1056964608); v33 = *(void (__fastcall **)(cocos2d::CCObject *, _DWORD *))(*(_DWORD *)v32 + 148); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v106, 0.0, 1.0); v33(v32, v106); (*(void (__fastcall **)(_DWORD, cocos2d::CCObject *))(**(_DWORD **)(a1 + 460) + 228))(*(_DWORD *)(a1 + 460), v32); v34 = *(void (__fastcall **)(cocos2d::CCObject *, _DWORD *))(*(_DWORD *)v32 + 92); v35 = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v18 + 96))(v18); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v105, -155.0, -20.0); cocos2d::CCPoint::operator+(v106, v35, v105); v34(v32, v106); cocos2d::CCArray::addObject(*(cocos2d::CCArray **)(a1 + 536), v32); if ( a3 != 1 ) { v36 = ButtonSprite::create((ButtonSprite *)"Clear", (const char *)&dword_64, 0, 0.6, 0.0, v77); v92 = 0; v91 = CreateGuidelinesLayer::onClearGuidelines; v37 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::create( (int)v36, 0, a1, (int)CreateGuidelinesLayer::onClearGuidelines, 0); (*(void (__fastcall **)(_DWORD, cocos2d::CCObject *))(**(_DWORD **)(a1 + 444) + 228))(*(_DWORD *)(a1 + 444), v37); cocos2d::CCArray::addObject(*(cocos2d::CCArray **)(a1 + 532), v37); v38 = *(const cocos2d::CCPoint **)(a1 + 444); v39 = *(void (__fastcall **)(cocos2d::CCObject *, _DWORD *))(*(_DWORD *)v37 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v105, (float)(v85 * 0.5) - 75.0, v86 * 0.5); cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v106, v38); v39(v37, v106); } cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v87, (float)(v85 * 0.5) + 75.0, v86 * 0.5); v41 = (cocos2d::CCObject *)cocos2d::CCLabelBMFont::create( (cocos2d::CCLabelBMFont *)"Start Offset", "bigFont.fnt", v40); (*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v41 + 80))(v41, 1053609165); v42 = *(void (__fastcall **)(cocos2d::CCObject *, _DWORD *))(*(_DWORD *)v41 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v105, 0.0, 25.0); cocos2d::CCPoint::operator+(v106, v87, v105); v42(v41, v106); (*(void (__fastcall **)(_DWORD, cocos2d::CCObject *))(**(_DWORD **)(a1 + 460) + 228))(*(_DWORD *)(a1 + 460), v41); cocos2d::CCArray::addObject(*(cocos2d::CCArray **)(a1 + 532), v41); cocos2d::CCRect::CCRect((cocos2d::CCRect *)v105, 0.0, 0.0, 40.0, 40.0); cocos2d::CCRect::CCRect((cocos2d::CCRect *)v106, (const cocos2d::CCRect *)v105); v43 = (cocos2d::CCObject *)cocos2d::extension::CCScale9Sprite::create("square02_small.png", v106); (*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v43 + 456))(v43, 100); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v88, 100.0, 30.0); (*(void (__fastcall **)(cocos2d::CCObject *, _BYTE *))(*(_DWORD *)v43 + 160))(v43, v88); (*(void (__fastcall **)(_DWORD, cocos2d::CCObject *, int))(**(_DWORD **)(a1 + 460) + 232))( *(_DWORD *)(a1 + 460), v43, -1); (*(void (__fastcall **)(cocos2d::CCObject *, _BYTE *))(*(_DWORD *)v43 + 92))(v43, v87); cocos2d::CCArray::addObject(*(cocos2d::CCArray **)(a1 + 532), v43); v44 = CCTextInputNode::create( (CCTextInputNode *)0x42C80000, 50.0, "Seconds", "Thonburi", (const char *)&dword_18, "bigFont.fnt", v78); *(_DWORD *)(a1 + 528) = v44; (*(void (__fastcall **)(_DWORD, int *, int))(**(_DWORD **)(a1 + 460) + 232))(*(_DWORD *)(a1 + 460), v44, 20); (*(void (__fastcall **)(_DWORD, _BYTE *))(**(_DWORD **)(a1 + 528) + 92))(*(_DWORD *)(a1 + 528), v87); CCTextInputNode::setMaxLabelScale(*(_DWORD *)(a1 + 528), 0.7); CCTextInputNode::setMaxLabelWidth(*(_DWORD *)(a1 + 528), 200.0); (*(void (__fastcall **)(_DWORD, _DWORD))(**(_DWORD **)(*(_DWORD *)(a1 + 528) + 416) + 172))( *(_DWORD *)(*(_DWORD *)(a1 + 528) + 416), 0); *(_DWORD *)(*(_DWORD *)(a1 + 528) + 424) = 3; v45 = *(_DWORD *)(a1 + 528); memset(v104, 0, sizeof(v104)); std::string::__init(v104, "0123456789.", 0xBu); CCTextInputNode::setAllowedChars(v45, (unsigned __int8 *)v104); std::string::~string((int)v104); LOWORD(v84) = -21896; BYTE2(v84) = -16; CCTextInputNode::setLabelPlaceholderColor(*(_DWORD *)(a1 + 528), v84); CCTextInputNode::setLabelPlaceholderScale(*(_DWORD *)(a1 + 528), 0.5); cocos2d::CCArray::addObject(*(cocos2d::CCArray **)(a1 + 532), *(cocos2d::CCObject **)(a1 + 528)); v46 = ButtonSprite::create( (ButtonSprite *)"Record", (const char *)&dword_78, 0, 0.8, COERCE_FLOAT(1), "bigFont.fnt", "GJ_button_01.png", v79); v93 = 696; v94 = 1; v47 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::create((int)v46, 0, a1, 696, 1); (*(void (__fastcall **)(_DWORD, cocos2d::CCObject *))(**(_DWORD **)(a1 + 444) + 228))(*(_DWORD *)(a1 + 444), v47); cocos2d::CCArray::addObject(*(cocos2d::CCArray **)(a1 + 532), v47); v48 = *(const cocos2d::CCPoint **)(a1 + 444); v49 = *(void (__fastcall **)(cocos2d::CCObject *, _DWORD *))(*(_DWORD *)v47 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v97, v85 * 0.5, (float)((float)(v86 * 0.5) - 145.0) + 50.0); cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v106, v48); v49(v47, v106); v50 = ButtonSprite::create( (ButtonSprite *)"Stop", (const char *)&dword_64, 0, 0.6, 0.0, "bigFont.fnt", "GJ_button_02.png", v80); v96 = 0; v95 = CreateGuidelinesLayer::onStop; v51 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::create((int)v50, 0, a1, (int)CreateGuidelinesLayer::onStop, 0); (*(void (__fastcall **)(_DWORD, cocos2d::CCObject *))(**(_DWORD **)(a1 + 444) + 228))(*(_DWORD *)(a1 + 444), v51); cocos2d::CCArray::addObject(*(cocos2d::CCArray **)(a1 + 536), v51); v52 = *(const cocos2d::CCPoint **)(a1 + 444); v53 = *(void (__fastcall **)(cocos2d::CCObject *, _DWORD *))(*(_DWORD *)v51 + 92); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v97, (float)((float)(v85 * 0.5) + 220.0) - 40.0, (float)((float)(v86 * 0.5) + 145.0) - 25.0); cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v106, v52); v53(v51, v106); v55 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)&unk_B6B226, "bigFont.fnt", v54); v56 = v86; v57 = v55; *(_DWORD *)(a1 + 540) = v55; v58 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v55 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v106, v85 * 0.5, (float)((float)(v56 * 0.5) - 145.0) + 90.0); v58(v57, v106); (*(void (__fastcall **)(_DWORD, _DWORD))(**(_DWORD **)(a1 + 460) + 228))( *(_DWORD *)(a1 + 460), *(_DWORD *)(a1 + 540)); (*(void (__fastcall **)(_DWORD, float))(**(_DWORD **)(a1 + 540) + 80))(*(_DWORD *)(a1 + 540), 0.5); (*(void (__fastcall **)(_DWORD, void *))(**(_DWORD **)(a1 + 540) + 536))(*(_DWORD *)(a1 + 540), &unk_BEB514); cocos2d::CCArray::addObject(*(cocos2d::CCArray **)(a1 + 532), *(cocos2d::CCObject **)(a1 + 540)); v60 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"d_ball_01_001.png", v59); v61 = v85; v62 = v60; *(_DWORD *)(a1 + 544) = v60; v63 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v60 + 92); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v106, (float)((float)(v61 * 0.5) - 220.0) + 30.0, (float)((float)(v86 * 0.5) + 145.0) - 30.0); v63(v62, v106); (*(void (__fastcall **)(_DWORD, int))(**(_DWORD **)(a1 + 544) + 80))(*(_DWORD *)(a1 + 544), 1061997773); (*(void (__fastcall **)(_DWORD, _DWORD))(**(_DWORD **)(a1 + 460) + 228))( *(_DWORD *)(a1 + 460), *(_DWORD *)(a1 + 544)); cocos2d::CCArray::addObject(*(cocos2d::CCArray **)(a1 + 536), *(cocos2d::CCObject **)(a1 + 544)); v65 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_closeBtn_001.png", v64); v97[0] = 676; v97[1] = 1; v66 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::create(v65, 0, a1, 676, 1); CCMenuItemSpriteExtra::setSizeMult((int)v66, 1.5); (*(void (__fastcall **)(_DWORD, cocos2d::CCObject *))(**(_DWORD **)(a1 + 444) + 228))(*(_DWORD *)(a1 + 444), v66); cocos2d::CCArray::addObject(*(cocos2d::CCArray **)(a1 + 532), v66); v67 = *(const cocos2d::CCPoint **)(a1 + 444); v68 = *(void (__fastcall **)(cocos2d::CCObject *, _DWORD *))(*(_DWORD *)v66 + 92); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v90, (float)((float)(v85 * 0.5) - 220.0) + 10.0, (float)((float)(v86 * 0.5) + 145.0) - 10.0); cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v106, v67); v68(v66, v106); if ( a3 != 1 ) { v70 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_infoIcon_001.png", v69); v106[0] = 692; v106[1] = 1; v71 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::create(v70, 0, a1, 692, 1); CCMenuItemSpriteExtra::setSizeMult((int)v71, 2.0); (*(void (__fastcall **)(_DWORD, cocos2d::CCObject *))(**(_DWORD **)(a1 + 444) + 228))(*(_DWORD *)(a1 + 444), v71); v72 = *(const cocos2d::CCPoint **)(a1 + 444); v73 = *(void (__fastcall **)(cocos2d::CCObject *, _BYTE *))(*(_DWORD *)v71 + 92); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v89, (float)((float)(v85 * 0.5) + 220.0) - 17.0, (float)((float)(v86 * 0.5) + 145.0) - 17.0); cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v90, v72); v73(v71, v90); cocos2d::CCArray::addObject(*(cocos2d::CCArray **)(a1 + 532), v71); } CreateGuidelinesLayer::toggleItems((cocos2d::CCArray **)a1, 0); std::string::~string((int)v101); std::string::~string((int)v100); std::string::~string((int)v98); } return v82; }
GD Web Decomp Icon

GD Web Decomp

Raw Source