// // SetupAdvFollowPopup::init from 0xb48b58 to 0xb4bdf8 (12960 bytes) // // 2 xrefs: // > SetupAdvFollowPopup::create @ 0xb4c0b4 // > @ 0x4d218 // // 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:01:56 +0000 // __int64 __fastcall SetupAdvFollowPopup::init( SetupAdvFollowPopup *this, AdvancedFollowTriggerObject *a2, cocos2d::CCArray *a3) { __int64 v5; // x2 __int64 v6; // x3 __int64 v7; // x4 __int64 v8; // x5 const char *v9; // x6 cocos2d::CCDirector *v10; // x0 cocos2d::CCDirector *v11; // x0 float v12; // s0 int v13; // w25 unsigned __int8 v14; // w26 int v15; // w26 unsigned int v16; // w24 const char *v17; // x6 ButtonSprite *v18; // x0 const char *v19; // x5 __int64 v20; // x23 __int64 v21; // x0 __int64 v22; // x1 cocos2d::CCObject *v23; // x28 cocos2d::CCNode *v24; // x23 void (__fastcall *v25)(cocos2d::CCObject *, __int64 *); // x25 float v26; // s0 const char *v27; // x6 __int64 v28; // x19 cocos2d::CCObject *v29; // x19 cocos2d::CCNode *v30; // x24 void (__fastcall *v31)(cocos2d::CCObject *, __int64 *); // x23 int v32; // [xsp+8h] [xbp-28h] int v33; // [xsp+8h] [xbp-28h] int v34; // [xsp+8h] [xbp-28h] int v35; // [xsp+8h] [xbp-28h] char *v36; // [xsp+E0h] [xbp+B0h] unsigned __int8 v37; // [xsp+EBh] [xbp+BBh] int v38; // [xsp+ECh] [xbp+BCh] __int64 v39; // [xsp+F0h] [xbp+C0h] BYREF float v40; // [xsp+F8h] [xbp+C8h] BYREF __int64 v41; // [xsp+100h] [xbp+D0h] BYREF _BYTE v42[8]; // [xsp+108h] [xbp+D8h] BYREF __int64 v43; // [xsp+110h] [xbp+E0h] BYREF cocos2d::CCDirector *v44[2]; // [xsp+118h] [xbp+E8h] BYREF void *v45; // [xsp+128h] [xbp+F8h] __int64 v46; // [xsp+130h] [xbp+100h] BYREF __int64 v47; // [xsp+138h] [xbp+108h] void *v48; // [xsp+140h] [xbp+110h] v37 = SetupTriggerPopup::init(this, a2, a3, 440.0, 310.0, 1u, 0.0); if ( v37 ) { SetupTriggerPopup::preSetup(this); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "OK", 2u); SetupTriggerPopup::addCloseButton((__int64)this, (__int64)&v46, v5, v6, v7, v8, v9); if ( (v46 & 1) != 0 ) operator delete(v48); SetupTriggerPopup::createMultiTriggerItemsDefaultHorizontal(this); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "Setup Advanced Follow", 0x15u); SetupTriggerPopup::addTitle((__int64)this, (__int64)&v46); if ( (v46 & 1) != 0 ) operator delete(v48); v44[0] = nullptr; v44[1] = nullptr; v45 = nullptr; std::string::__init((__int64 *)v44, "Help", 4u); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init( &v46, "Makes a group of objects follow an object.\n" "You can also follow the player using P1 and P2 or the center of the screen using C.\n" "Check the other pages for more settings.\n" "You can also use presets under Pre.\n" "This is an advanced trigger.\n" "View the editor guide for more details.", 0x130u); SetupTriggerPopup::addHelpButton((__int64)this, (char *)v44, (char *)&v46, 1.0); if ( (v46 & 1) != 0 ) operator delete(v48); v10 = (cocos2d::CCDirector *)LOBYTE(v44[0]); if ( ((__int64)v44[0] & 1) != 0 ) operator delete(v45); v11 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v10); cocos2d::CCDirector::getWinSize(&v39, v11); v36 = (char *)this + 544; cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)&v40, *(float *)&v39 * 0.5, (float)(*((float *)&v39 + 1) * 0.5) + 110.0); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v43, 0.0, -30.0); cocos2d::CCPoint::operator+(&v41, &v40); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "Target GID:", 0xBu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, -124.0, -0.0); cocos2d::CCPoint::operator+(&v43, &v41); IDNameInput::create(this, (char *)this + 544, 1, 51, &v46, &v43, 6, 0, 0.7, 0, 0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "Follow GID:", 0xBu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, 0.0, -0.0); cocos2d::CCPoint::operator+(&v43, &v41); LOBYTE(v32) = 0; IDNameInput::create(this, v36, 1, 71, &v46, &v43, 6, 0, 0.7, 0, v32); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "Priority:", 9u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, 124.0, -0.0); cocos2d::CCPoint::operator+(&v43, &v41); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 365, (char *)&v46, (__int64)&v43, 1, 2, 6, 1, 0.7, 0.0, 1.0, 0, 0, 0, 2, 0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "X\nOnly", 6u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, -164.0, -42.0); cocos2d::CCPoint::operator+(&v43, &v41); SetupTriggerPopup::createToggleValueControl( (__int64)this, 0x132u, &v46, (const cocos2d::CCPoint *)&v43, 0, 0, 0, 1.0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "Y\nOnly", 6u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, -84.0, -42.0); cocos2d::CCPoint::operator+(&v43, &v41); SetupTriggerPopup::createToggleValueControl( (__int64)this, 0x133u, &v46, (const cocos2d::CCPoint *)&v43, 0, 0, 0, 1.0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "P1", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, -4.0, -42.0); cocos2d::CCPoint::operator+(&v43, &v41); SetupTriggerPopup::createToggleValueControl( (__int64)this, 0x8Au, &v46, (const cocos2d::CCPoint *)&v43, 0, 0, 0, 1.0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "P2", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, 76.0, -42.0); cocos2d::CCPoint::operator+(&v43, &v41); SetupTriggerPopup::createToggleValueControl( (__int64)this, 0xC8u, &v46, (const cocos2d::CCPoint *)&v43, 0, 0, 0, 1.0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "C", 1u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, 156.0, -42.0); cocos2d::CCPoint::operator+(&v43, &v41); SetupTriggerPopup::createToggleValueControl( (__int64)this, 0xC9u, &v46, (const cocos2d::CCPoint *)&v43, 0, 0, 0, 1.0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "Rotation\nOffset:", 0x10u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, -84.0, -84.0); cocos2d::CCPoint::operator+(&v43, &v41); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 340, (char *)&v46, (__int64)&v43, 0, 2, 6, 0, 0.6, 0.0, 360.0, 0, 0, 1, 2, 0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "Ignore\nDisabled", 0xFu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, 34.0, -84.0); cocos2d::CCPoint::operator+(&v43, &v41); SetupTriggerPopup::createToggleValueControl( (__int64)this, 0x150u, &v46, (const cocos2d::CCPoint *)&v43, 0, 0, 0, 1.0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "Rotate\nDir", 0xAu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, 134.0, -84.0); cocos2d::CCPoint::operator+(&v43, &v41); SetupTriggerPopup::createToggleValueControl( (__int64)this, 0x153u, &v46, (const cocos2d::CCPoint *)&v43, 0, 0, 0, 1.0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "Rotate\nEasing:", 0xEu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, -84.0, -126.0); cocos2d::CCPoint::operator+(&v43, &v41); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 363, (char *)&v46, (__int64)&v43, 0, 3, 6, 0, 0.6, 0.0, 100.0, 0, 0, 1, 2, 0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "Rotate\nDeadZ:", 0xDu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, 84.0, -126.0); cocos2d::CCPoint::operator+(&v43, &v41); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 364, (char *)&v46, (__int64)&v43, 0, 3, 6, 0, 0.6, 0.0, 100.0, 0, 0, 1, 2, 0); if ( (v46 & 1) != 0 ) operator delete(v48); v12 = (*(float (__fastcall **)(SetupAdvFollowPopup *, __int64))(*(_QWORD *)this + 1464LL))(this, 572); v46 = 0; v13 = (int)v12; v47 = 0; v48 = nullptr; v14 = (int)v12 == 0; std::string::__init(&v46, "Init", 4u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, -164.0, -168.0); cocos2d::CCPoint::operator+(&v43, &v41); SetupTriggerPopup::createCustomToggleValueControl( (__int64)this, 0, v14, 1u, (char *)&v46, (const cocos2d::CCPoint *)&v43, 0, 0, 0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "Set", 3u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, -84.0, -168.0); cocos2d::CCPoint::operator+(&v43, &v41); SetupTriggerPopup::createCustomToggleValueControl( (__int64)this, 1u, v13 == 1, 1u, (char *)&v46, (const cocos2d::CCPoint *)&v43, 0, 0, 0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "Add", 3u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, -4.0, -168.0); cocos2d::CCPoint::operator+(&v43, &v41); SetupTriggerPopup::createCustomToggleValueControl( (__int64)this, 2u, v13 == 2, 1u, (char *)&v46, (const cocos2d::CCPoint *)&v43, 0, 0, 0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "Exclusive", 9u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, 76.0, -168.0); cocos2d::CCPoint::operator+(&v43, &v41); SetupTriggerPopup::createToggleValueControl( (__int64)this, 0x23Bu, &v46, (const cocos2d::CCPoint *)&v43, 0, 0, 0, 1.0); if ( (v46 & 1) != 0 ) operator delete(v48); v15 = 0; v16 = 0; v38 = (int)(*(float (__fastcall **)(SetupAdvFollowPopup *, __int64))(*(_QWORD *)this + 1464LL))(this, 367); do { GameToolbox::intToString((unsigned __int64 *)&v46, (GameToolbox *)(v16 + 1)); v18 = (ButtonSprite *)((char *)&v46 + 1); if ( (v46 & 1) != 0 ) v18 = (ButtonSprite *)v48; if ( v16 == v38 ) v19 = "GJ_button_02.png"; else v19 = "GJ_button_04.png"; v20 = ButtonSprite::create(v18, (const char *)&dword_14, 0, 1, 0.8, "bigFont.fnt", v19, v17, 30.0); if ( (v46 & 1) != 0 ) operator delete(v48); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v20 + 160LL))(v20, 0.6); v21 = CCMenuItemSpriteExtra::create(v20, 0, (__int64)this, (__int64)SetupAdvFollowPopup::onMode, 0); v22 = v16; v23 = (cocos2d::CCObject *)v21; ++v16; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v21 + 72LL))(v21, v22); (*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**((_QWORD **)this + 69) + 456LL))( *((_QWORD *)this + 69), v23); v24 = *((cocos2d::CCNode **)this + 69); v25 = *(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v23 + 184LL); v26 = (float)v15; v15 += 30; cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v42, (float)((float)((float)(*((float *)this + 183) * 0.5) + (float)(*(float *)&v39 * 0.5)) - 80.0) + v26, (float)((float)(*((float *)this + 184) * 0.5) + (float)(*((float *)&v39 + 1) * 0.5)) - 18.0); cocos2d::CCNode::convertToNodeSpace(&v43, v24, (const cocos2d::CCPoint *)v42); v25(v23, &v43); SetupTriggerPopup::addObjectToPage((cocos2d::CCArray **)this, v23, 1u); } while ( v16 != 3 ); v46 = 0; v47 = 0; v48 = nullptr; v40 = v40 - 44.0; std::string::__init(&v46, "Delay:", 6u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, -72.0, 0.0); cocos2d::CCPoint::operator+(&v43, &v40); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 292, (char *)&v46, (__int64)&v43, 0, 1, 6, 0, 0.6, 0.0, 2.0, 1, 0, 1, 2, 0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "+-", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, 72.0, 0.0); cocos2d::CCPoint::operator+(&v43, &v40); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 293, (char *)&v46, (__int64)&v43, 0, 1, 6, 0, 0.6, 0.0, 2.0, 1, 0, 1, 2, 0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "MaxSpeed:", 9u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, -72.0, -23.4); cocos2d::CCPoint::operator+(&v43, &v40); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 298, (char *)&v46, (__int64)&v43, 0, 1, 6, 0, 0.6, 0.0, 5.0, 1, 0, 1, 2, 0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "+-", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, 72.0, -23.4); cocos2d::CCPoint::operator+(&v43, &v40); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 299, (char *)&v46, (__int64)&v43, 0, 1, 6, 0, 0.6, 0.0, 5.0, 1, 0, 1, 2, 0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "MaxRange:", 9u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, -72.0, -46.8); cocos2d::CCPoint::operator+(&v43, &v40); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 308, (char *)&v46, (__int64)&v43, 0, 2, 6, 0, 0.6, 0.0, 200.0, 1, 0, 1, 2, 0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "+-", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, 72.0, -46.8); cocos2d::CCPoint::operator+(&v43, &v40); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 309, (char *)&v46, (__int64)&v43, 0, 2, 6, 0, 0.6, 0.0, 200.0, 1, 0, 1, 2, 0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, &byte_11B8890, 0); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, 211.0, -46.8); cocos2d::CCPoint::operator+(&v43, &v40); LOBYTE(v33) = 1; IDNameInput::create(this, v36, 1, 366, &v46, &v43, 6, 0, 0.6, 1, v33); if ( (v46 & 1) != 0 ) operator delete(v48); if ( v38 ) { v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "StartSpeed:", 0xBu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, -72.0, -70.2); cocos2d::CCPoint::operator+(&v43, &v40); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 300, (char *)&v46, (__int64)&v43, 0, 1, 6, 0, 0.6, 0.0, 5.0, 1, 0, 1, 2, 0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "+-", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, 72.0, -70.2); cocos2d::CCPoint::operator+(&v43, &v40); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 301, (char *)&v46, (__int64)&v43, 0, 1, 6, 0, 0.6, 0.0, 5.0, 1, 0, 1, 2, 0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, &byte_11B8890, 0); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, 211.0, -70.2); cocos2d::CCPoint::operator+(&v43, &v40); LOBYTE(v34) = 1; IDNameInput::create(this, v36, 1, 560, &v46, &v43, 6, 0, 0.6, 1, v34); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "StartDir:", 9u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, -72.0, -93.6); cocos2d::CCPoint::operator+(&v43, &v40); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 563, (char *)&v46, (__int64)&v43, 0, 2, 6, 0, 0.6, -180.0, 180.0, 1, 0, 1, 2, 0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "+-", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, 72.0, -93.6); cocos2d::CCPoint::operator+(&v43, &v40); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 564, (char *)&v46, (__int64)&v43, 0, 2, 6, 0, 0.6, 0.0, 360.0, 1, 0, 1, 2, 0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, &byte_11B8890, 0); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, 211.0, -93.6); cocos2d::CCPoint::operator+(&v43, &v40); LOBYTE(v35) = 1; IDNameInput::create(this, v36, 1, 565, &v46, &v43, 6, 0, 0.6, 1, v35); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "Acceleration:", 0xDu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, -72.0, -117.0); cocos2d::CCPoint::operator+(&v43, &v40); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 334, (char *)&v46, (__int64)&v43, 0, 1, 6, 0, 0.6, 0.0, 5.0, 1, 0, 1, 2, 0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "+-", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, 72.0, -117.0); cocos2d::CCPoint::operator+(&v43, &v40); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 335, (char *)&v46, (__int64)&v43, 0, 1, 6, 0, 0.6, 0.0, 5.0, 1, 0, 1, 2, 0); if ( (v46 & 1) != 0 ) operator delete(v48); if ( v38 == 2 ) { v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "SteerForce:", 0xBu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, -72.0, -140.4); cocos2d::CCPoint::operator+(&v43, &v40); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 316, (char *)&v46, (__int64)&v43, 0, 1, 6, 0, 0.6, 0.0, 5.0, 1, 0, 1, 2, 0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "+-", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, 72.0, -140.4); cocos2d::CCPoint::operator+(&v43, &v40); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 317, (char *)&v46, (__int64)&v43, 0, 1, 6, 0, 0.6, 0.0, 5.0, 1, 0, 1, 2, 0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "SteerForceLow:", 0xEu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, -72.0, -0.0); cocos2d::CCPoint::operator+(&v43, &v40); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 318, (char *)&v46, (__int64)&v43, 0, 1, 6, 0, 0.6, 0.0, 5.0, 2, 0, 1, 2, 0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "+-", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, 72.0, -0.0); cocos2d::CCPoint::operator+(&v43, &v40); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 319, (char *)&v46, (__int64)&v43, 0, 1, 6, 0, 0.6, 0.0, 5.0, 2, 0, 1, 2, 0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, &byte_11E1A70, 1u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, 178.0, 0.0); cocos2d::CCPoint::operator+(&v43, &v40); SetupTriggerPopup::createToggleValueControl( (__int64)this, 0x151u, &v46, (const cocos2d::CCPoint *)&v43, 0, 2u, 0, 1.0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "SpeedRangeLow:", 0xEu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, -72.0, -23.4); cocos2d::CCPoint::operator+(&v43, &v40); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 322, (char *)&v46, (__int64)&v43, 0, 1, 6, 0, 0.6, 0.0, 5.0, 2, 0, 1, 2, 0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "+-", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, 72.0, -23.4); cocos2d::CCPoint::operator+(&v43, &v40); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 323, (char *)&v46, (__int64)&v43, 0, 1, 6, 0, 0.6, 0.0, 5.0, 2, 0, 1, 2, 0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "SteerForceHigh:", 0xFu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, -72.0, -46.8); cocos2d::CCPoint::operator+(&v43, &v40); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 320, (char *)&v46, (__int64)&v43, 0, 1, 6, 0, 0.6, 0.0, 5.0, 2, 0, 1, 2, 0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "+-", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, 72.0, -46.8); cocos2d::CCPoint::operator+(&v43, &v40); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 321, (char *)&v46, (__int64)&v43, 0, 1, 6, 0, 0.6, 0.0, 5.0, 2, 0, 1, 2, 0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, &byte_11E1A70, 1u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, 178.0, -46.8); cocos2d::CCPoint::operator+(&v43, &v40); SetupTriggerPopup::createToggleValueControl( (__int64)this, 0x152u, &v46, (const cocos2d::CCPoint *)&v43, 0, 2u, 0, 1.0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "SpeedRangeHigh:", 0xFu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, -72.0, -70.2); cocos2d::CCPoint::operator+(&v43, &v40); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 324, (char *)&v46, (__int64)&v43, 0, 1, 6, 0, 0.6, 0.0, 5.0, 2, 0, 1, 2, 0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "+-", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, 72.0, -70.2); cocos2d::CCPoint::operator+(&v43, &v40); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 325, (char *)&v46, (__int64)&v43, 0, 1, 6, 0, 0.6, 0.0, 5.0, 2, 0, 1, 2, 0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "SlowAccel:", 0xAu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, -72.0, -93.6); cocos2d::CCPoint::operator+(&v43, &v40); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 357, (char *)&v46, (__int64)&v43, 0, 1, 6, 0, 0.6, 0.0, 5.0, 2, 0, 1, 2, 0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "+-", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, 72.0, -93.6); cocos2d::CCPoint::operator+(&v43, &v40); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 358, (char *)&v46, (__int64)&v43, 0, 1, 6, 0, 0.6, 0.0, 5.0, 2, 0, 1, 2, 0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "SlowDist:", 9u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, -72.0, -117.0); cocos2d::CCPoint::operator+(&v43, &v40); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 359, (char *)&v46, (__int64)&v43, 0, 3, 6, 0, 0.6, 0.0, 100.0, 2, 0, 1, 2, 0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "+-", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, 72.0, -117.0); cocos2d::CCPoint::operator+(&v43, &v40); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 360, (char *)&v46, (__int64)&v43, 0, 3, 6, 0, 0.6, 0.0, 100.0, 2, 0, 1, 2, 0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "BreakForce:", 0xBu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, -72.0, -140.4); cocos2d::CCPoint::operator+(&v43, &v40); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 326, (char *)&v46, (__int64)&v43, 0, 1, 6, 0, 0.6, 0.0, 1.0, 2, 0, 1, 2, 0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "+-", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, 72.0, -140.4); cocos2d::CCPoint::operator+(&v43, &v40); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 327, (char *)&v46, (__int64)&v43, 0, 1, 6, 0, 0.6, 0.0, 1.0, 2, 0, 1, 2, 0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "BreakAngle:", 0xBu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, -72.0, -163.8); cocos2d::CCPoint::operator+(&v43, &v40); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 328, (char *)&v46, (__int64)&v43, 0, 2, 6, 0, 0.6, 0.0, 180.0, 2, 0, 1, 2, 0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "+-", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, 72.0, -163.8); cocos2d::CCPoint::operator+(&v43, &v40); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 329, (char *)&v46, (__int64)&v43, 0, 2, 6, 0, 0.6, 0.0, 180.0, 2, 0, 1, 2, 0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "BreakSteerForce:", 0x10u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, -72.0, -187.2); cocos2d::CCPoint::operator+(&v43, &v40); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 330, (char *)&v46, (__int64)&v43, 0, 1, 6, 0, 0.6, 0.0, 5.0, 2, 0, 1, 2, 0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "+-", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, 72.0, -187.2); cocos2d::CCPoint::operator+(&v43, &v40); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 331, (char *)&v46, (__int64)&v43, 0, 1, 6, 0, 0.6, 0.0, 5.0, 2, 0, 1, 2, 0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "BreakSteer\nSpeedLimit:", 0x16u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, -72.0, -210.6); cocos2d::CCPoint::operator+(&v43, &v40); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 332, (char *)&v46, (__int64)&v43, 0, 1, 6, 0, 0.6, 0.0, 5.0, 2, 0, 1, 2, 0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "+-", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, 72.0, -210.6); cocos2d::CCPoint::operator+(&v43, &v40); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 333, (char *)&v46, (__int64)&v43, 0, 1, 6, 0, 0.6, 0.0, 5.0, 2, 0, 1, 2, 0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "Target\nDir", 0xAu); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)&v43, (float)(v40 + 84.0) - 10.0, 20.0 - (float)((float)(*((float *)this + 184) * 0.5) - (float)(*((float *)&v39 + 1) * 0.5))); SetupTriggerPopup::createToggleValueControl( (__int64)this, 0x131u, &v46, (const cocos2d::CCPoint *)&v43, 0, 2u, 0, 1.0); } else { if ( v38 != 1 ) { LABEL_73: v28 = ButtonSprite::create( (ButtonSprite *)"Pre", (const char *)&qword_28, 0, 1, 0.8, "bigFont.fnt", "GJ_button_04.png", v27, 30.0); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v28 + 160LL))(v28, 0.6); v29 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::create( v28, 0, (__int64)this, (__int64)SetupAdvFollowPopup::onPremade, 0); (*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**((_QWORD **)this + 69) + 456LL))( *((_QWORD *)this + 69), v29); v30 = *((cocos2d::CCNode **)this + 69); v31 = *(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v29 + 184LL); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v42, (float)((float)(*((float *)this + 183) * 0.5) + (float)(*(float *)&v39 * 0.5)) - 28.0, (float)((float)(*((float *)this + 184) * 0.5) + (float)(*((float *)&v39 + 1) * 0.5)) - 18.0); cocos2d::CCNode::convertToNodeSpace(&v43, v30, (const cocos2d::CCPoint *)v42); v31(v29, &v43); SetupTriggerPopup::addObjectToPage((cocos2d::CCArray **)this, v29, 0); SetupTriggerPopup::createPageButtons(this, (float)(*((float *)this + 183) * 0.5) + 15.0, 1); SetupTriggerPopup::goToPage((cocos2d::CCArray **)this, 0, 0); SetupTriggerPopup::postSetup(this); return v37; } v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "Friction:", 9u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, -72.0, -140.4); cocos2d::CCPoint::operator+(&v43, &v40); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 558, (char *)&v46, (__int64)&v43, 0, 1, 6, 0, 0.6, 0.0, 5.0, 1, 0, 1, 2, 0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "+-", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, 72.0, -140.4); cocos2d::CCPoint::operator+(&v43, &v40); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 559, (char *)&v46, (__int64)&v43, 0, 1, 6, 0, 0.6, 0.0, 5.0, 1, 0, 1, 2, 0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "NearDist:", 9u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, -72.0, -163.8); cocos2d::CCPoint::operator+(&v43, &v40); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 359, (char *)&v46, (__int64)&v43, 0, 1, 6, 0, 0.6, 0.0, 1.0, 1, 0, 1, 2, 0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "+-", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, 72.0, -163.8); cocos2d::CCPoint::operator+(&v43, &v40); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 360, (char *)&v46, (__int64)&v43, 0, 1, 6, 0, 0.6, 0.0, 1.0, 1, 0, 1, 2, 0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "NearFriction:", 0xDu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, -72.0, -187.2); cocos2d::CCPoint::operator+(&v43, &v40); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 561, (char *)&v46, (__int64)&v43, 0, 1, 6, 0, 0.6, 0.0, 5.0, 1, 0, 1, 2, 0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "+-", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, 72.0, -187.2); cocos2d::CCPoint::operator+(&v43, &v40); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 562, (char *)&v46, (__int64)&v43, 0, 1, 6, 0, 0.6, 0.0, 5.0, 1, 0, 1, 2, 0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "NearAccel:", 0xAu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, -72.0, -210.6); cocos2d::CCPoint::operator+(&v43, &v40); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 357, (char *)&v46, (__int64)&v43, 0, 1, 6, 0, 0.6, 0.0, 5.0, 1, 0, 1, 2, 0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "+-", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, 72.0, -210.6); cocos2d::CCPoint::operator+(&v43, &v40); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 358, (char *)&v46, (__int64)&v43, 0, 1, 6, 0, 0.6, 0.0, 5.0, 1, 0, 1, 2, 0); } } else { v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "Easing:", 7u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, -72.0, -70.2); cocos2d::CCPoint::operator+(&v43, &v40); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 361, (char *)&v46, (__int64)&v43, 0, 1, 6, 0, 0.6, 0.0, 100.0, 1, 0, 1, 2, 0); if ( (v46 & 1) != 0 ) operator delete(v48); v46 = 0; v47 = 0; v48 = nullptr; std::string::__init(&v46, "+-", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v42, 72.0, -70.2); cocos2d::CCPoint::operator+(&v43, &v40); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 362, (char *)&v46, (__int64)&v43, 0, 1, 6, 0, 0.6, 0.0, 100.0, 1, 0, 1, 2, 0); } if ( (v46 & 1) != 0 ) operator delete(v48); goto LABEL_73; } return v37; }
GD Web Decomp Icon

GD Web Decomp

Raw Source