// // SetupAdvFollowPopup::init from 0x697480 to 0x699598 (8472 bytes) // // 1 xrefs: // > SetupAdvFollowPopup::create @ 0x69961a // // 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:56:17 +0000 // GameManager *__fastcall SetupAdvFollowPopup::init( SetupAdvFollowPopup *this, AdvancedFollowTriggerObject *a2, cocos2d::CCArray *a3) { cocos2d::CCDirector *v4; // r0 float v5; // r0 int v6; // s15 int v7; // r8 int v8; // r7 char *v9; // r3 ButtonSprite *v10; // r0 ButtonSprite *v11; // r6 cocos2d::CCObject *v12; // r11 ButtonSprite *v13; // r7 cocos2d::CCObject *v14; // r7 const cocos2d::CCPoint *v15; // r10 void (__fastcall *v16)(cocos2d::CCObject *, _BYTE *); // r9 float v18; // [sp+10h] [bp-A4h] float v19; // [sp+10h] [bp-A4h] char *v20; // [sp+34h] [bp-80h] GameManager *v21; // [sp+38h] [bp-7Ch] int v22; // [sp+3Ch] [bp-78h] void (__fastcall *v23)(cocos2d::CCObject *, _DWORD *); // [sp+40h] [bp-74h] cocos2d::CCPoint *v24; // [sp+54h] [bp-60h] float v25; // [sp+5Ch] [bp-58h] BYREF float v26; // [sp+60h] [bp-54h] float v27[2]; // [sp+64h] [bp-50h] BYREF _BYTE v28[8]; // [sp+6Ch] [bp-48h] BYREF _BYTE v29[8]; // [sp+74h] [bp-40h] BYREF _BYTE v30[8]; // [sp+7Ch] [bp-38h] BYREF _DWORD v31[2]; // [sp+84h] [bp-30h] BYREF _DWORD v32[2]; // [sp+8Ch] [bp-28h] BYREF int v33[3]; // [sp+94h] [bp-20h] BYREF int v34; // [sp+A0h] [bp-14h] BYREF int v35; // [sp+A4h] [bp-10h] ButtonSprite *v36; // [sp+A8h] [bp-Ch] v21 = SetupTriggerPopup::init(this, a2, a3, 440.0, 310.0, (_BYTE *)&dword_0 + 1, 0.0); if ( v21 ) { SetupTriggerPopup::preSetup(this); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "OK", 2u); SetupTriggerPopup::addCloseButton((int)this, (int)&v34); std::string::~string((int)&v34); SetupTriggerPopup::createMultiTriggerItemsDefaultHorizontal(this); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "Setup Advanced Follow", 0x15u); SetupTriggerPopup::addTitle((int)this, (unsigned __int8 *)&v34); std::string::~string((int)&v34); memset(v33, 0, sizeof(v33)); std::string::__init(v33, "Help", 4u); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init( &v34, "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((int)this, (int)v33, (int)&v34, 1065353216); std::string::~string((int)&v34); v4 = (cocos2d::CCDirector *)std::string::~string((int)v33); cocos2d::CCDirector::sharedDirector(v4); cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)&v25); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v27, v25 * 0.5, (float)(v26 * 0.5) + 110.0); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v32, 0.0, -30.0); cocos2d::CCPoint::operator+(v28, v27, v32); v20 = (char *)this + 440; v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "Target GID:", 0xBu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v31, -124.0, -0.0); cocos2d::CCPoint::operator+(v32, v28, v31); IDNameInput::create((int)this, (int)this + 440, 1, 51, (int)&v34, (int)v32, 0.7, 6, 0, 0, 0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "Follow GID:", 0xBu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v31, 0.0, -0.0); cocos2d::CCPoint::operator+(v32, v28, v31); IDNameInput::create((int)this, (int)this + 440, 1, 71, (int)&v34, (int)v32, 0.7, 6, 0, 0, 0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "Priority:", 9u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v31, 124.0, -0.0); cocos2d::CCPoint::operator+(v32, v28, v31); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 365, (unsigned __int8 *)&v34, (int)v32, 1060320051, 1, 2, 6, 1, 0, 1065353216, 0, 0, 0, 2, 0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "X\nOnly", 6u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v31, -164.0, -42.0); cocos2d::CCPoint::operator+(v32, v28, v31); SetupTriggerPopup::createToggleValueControl((int)this, 306, (int)&v34, (const cocos2d::CCPoint *)v32, 0, 0, 0, 1.0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "Y\nOnly", 6u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v31, -84.0, -42.0); cocos2d::CCPoint::operator+(v32, v28, v31); SetupTriggerPopup::createToggleValueControl((int)this, 307, (int)&v34, (const cocos2d::CCPoint *)v32, 0, 0, 0, 1.0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "P1", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v31, -4.0, -42.0); cocos2d::CCPoint::operator+(v32, v28, v31); SetupTriggerPopup::createToggleValueControl((int)this, 138, (int)&v34, (const cocos2d::CCPoint *)v32, 0, 0, 0, 1.0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "P2", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v31, 76.0, -42.0); cocos2d::CCPoint::operator+(v32, v28, v31); SetupTriggerPopup::createToggleValueControl((int)this, 200, (int)&v34, (const cocos2d::CCPoint *)v32, 0, 0, 0, 1.0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "C", 1u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v31, 156.0, -42.0); cocos2d::CCPoint::operator+(v32, v28, v31); SetupTriggerPopup::createToggleValueControl((int)this, 201, (int)&v34, (const cocos2d::CCPoint *)v32, 0, 0, 0, 1.0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "Rotation\nOffset:", 0x10u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v31, -84.0, -84.0); cocos2d::CCPoint::operator+(v32, v28, v31); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 340, (unsigned __int8 *)&v34, (int)v32, 1058642330, 0, 2, 6, 0, 0, 1135869952, 0, 0, 1, 2, 0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "Ignore\nDisabled", 0xFu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v31, 34.0, -84.0); cocos2d::CCPoint::operator+(v32, v28, v31); SetupTriggerPopup::createToggleValueControl((int)this, 336, (int)&v34, (const cocos2d::CCPoint *)v32, 0, 0, 0, 1.0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "Rotate\nDir", 0xAu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v31, 134.0, -84.0); cocos2d::CCPoint::operator+(v32, v28, v31); SetupTriggerPopup::createToggleValueControl((int)this, 339, (int)&v34, (const cocos2d::CCPoint *)v32, 0, 0, 0, 1.0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "Rotate\nEasing:", 0xEu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v31, -84.0, -126.0); cocos2d::CCPoint::operator+(v32, v28, v31); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 363, (unsigned __int8 *)&v34, (int)v32, 1058642330, 0, 3, 6, 0, 0, 1120403456, 0, 0, 1, 2, 0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "Rotate\nDeadZ:", 0xDu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v31, 84.0, -126.0); cocos2d::CCPoint::operator+(v32, v28, v31); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 364, (unsigned __int8 *)&v34, (int)v32, 1058642330, 0, 3, 6, 0, 0, 1120403456, 0, 0, 1, 2, 0); std::string::~string((int)&v34); v5 = (*(float (__fastcall **)(SetupAdvFollowPopup *, int))(*(_DWORD *)this + 732))(this, 572); v34 = 0; v35 = 0; v36 = nullptr; v6 = (int)v5; std::string::__init(&v34, "Init", 4u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v31, -164.0, -168.0); cocos2d::CCPoint::operator+(v32, v28, v31); SetupTriggerPopup::createCustomToggleValueControl( (int)this, 0, v6 == 0, 1, (int)&v34, (const cocos2d::CCPoint *)v32, 0, 0, 0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "Set", 3u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v31, -84.0, -168.0); cocos2d::CCPoint::operator+(v32, v28, v31); SetupTriggerPopup::createCustomToggleValueControl( (int)this, 1, v6 == 1, 1, (int)&v34, (const cocos2d::CCPoint *)v32, 0, 0, 0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "Add", 3u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v31, -4.0, -168.0); cocos2d::CCPoint::operator+(v32, v28, v31); v7 = 0; SetupTriggerPopup::createCustomToggleValueControl( (int)this, 2, v6 == 2, 1, (int)&v34, (const cocos2d::CCPoint *)v32, 0, 0, 0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "Exclusive", 9u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v31, 76.0, -168.0); cocos2d::CCPoint::operator+(v32, v28, v31); SetupTriggerPopup::createToggleValueControl((int)this, 571, (int)&v34, (const cocos2d::CCPoint *)v32, 0, 0, 0, 1.0); std::string::~string((int)&v34); v8 = (int)(*(float (__fastcall **)(SetupAdvFollowPopup *, int))(*(_DWORD *)this + 732))(this, 367); do { v22 = v7 + 1; GameToolbox::intToString((GameToolbox *)&v34, v7 + 1); v9 = "GJ_button_02.png"; if ( (v34 & 1) != 0 ) v10 = v36; else v10 = (ButtonSprite *)((char *)&v34 + 1); if ( v7 != v8 ) v9 = "GJ_button_04.png"; v11 = ButtonSprite::create( v10, (const char *)&dword_14, 0, 0.8, 1, "bigFont.fnt", v9, COERCE_CONST_CHAR_(30.0), v18); std::string::~string((int)&v34); (*(void (__fastcall **)(ButtonSprite *, int))(*(_DWORD *)v11 + 80))(v11, 1058642330); v31[0] = SetupAdvFollowPopup::onMode; v31[1] = 0; v12 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::create( (int)v11, 0, (int)this, (int)SetupAdvFollowPopup::onMode, 0); (*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v12 + 36))(v12, v7); (*(void (__fastcall **)(_DWORD, cocos2d::CCObject *))(**((_DWORD **)this + 111) + 228))( *((_DWORD *)this + 111), v12); v23 = *(void (__fastcall **)(cocos2d::CCObject *, _DWORD *))(*(_DWORD *)v12 + 92); v24 = *((cocos2d::CCPoint **)this + 111); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v30, (float)((float)((float)(*((float *)this + 139) * 0.5) + (float)(v25 * 0.5)) - 80.0) + (float)(30 * v7), (float)((float)(*((float *)this + 140) * 0.5) + (float)(v26 * 0.5)) - 18.0); cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v32, v24); v23(v12, v32); SetupTriggerPopup::addObjectToPage((cocos2d::CCArray **)this, v12, 1u); ++v7; } while ( v22 != 3 ); v34 = 0; v35 = 0; v36 = nullptr; v27[0] = v27[0] - 44.0; std::string::__init(&v34, "Delay:", 6u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30, -72.0, 0.0); cocos2d::CCPoint::operator+(v32, v27, v30); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 292, (unsigned __int8 *)&v34, (int)v32, 1058642330, 0, 1, 6, 0, 0, 0x40000000, 1, 0, 1, 2, 0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "+-", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30, 72.0, 0.0); cocos2d::CCPoint::operator+(v32, v27, v30); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 293, (unsigned __int8 *)&v34, (int)v32, 1058642330, 0, 1, 6, 0, 0, 0x40000000, 1, 0, 1, 2, 0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "MaxSpeed:", 9u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30, -72.0, -23.4); cocos2d::CCPoint::operator+(v32, v27, v30); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 298, (unsigned __int8 *)&v34, (int)v32, 1058642330, 0, 1, 6, 0, 0, 1084227584, 1, 0, 1, 2, 0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "+-", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30, 72.0, -23.4); cocos2d::CCPoint::operator+(v32, v27, v30); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 299, (unsigned __int8 *)&v34, (int)v32, 1058642330, 0, 1, 6, 0, 0, 1084227584, 1, 0, 1, 2, 0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "MaxRange:", 9u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30, -72.0, -46.8); cocos2d::CCPoint::operator+(v32, v27, v30); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 308, (unsigned __int8 *)&v34, (int)v32, 1058642330, 0, 2, 6, 0, 0, 1128792064, 1, 0, 1, 2, 0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "+-", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30, 72.0, -46.8); cocos2d::CCPoint::operator+(v32, v27, v30); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 309, (unsigned __int8 *)&v34, (int)v32, 1058642330, 0, 2, 6, 0, 0, 1128792064, 1, 0, 1, 2, 0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, &unk_B6B226, 0); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30, 211.0, -46.8); cocos2d::CCPoint::operator+(v32, v27, v30); IDNameInput::create((int)this, (int)v20, 1, 366, (int)&v34, (int)v32, 0.6, 6, 0, 1, 1); std::string::~string((int)&v34); if ( v8 ) { v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "StartSpeed:", 0xBu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30, -72.0, -70.2); cocos2d::CCPoint::operator+(v32, v27, v30); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 300, (unsigned __int8 *)&v34, (int)v32, 1058642330, 0, 1, 6, 0, 0, 1084227584, 1, 0, 1, 2, 0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "+-", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30, 72.0, -70.2); cocos2d::CCPoint::operator+(v32, v27, v30); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 301, (unsigned __int8 *)&v34, (int)v32, 1058642330, 0, 1, 6, 0, 0, 1084227584, 1, 0, 1, 2, 0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, &unk_B6B226, 0); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30, 211.0, -70.2); cocos2d::CCPoint::operator+(v32, v27, v30); IDNameInput::create((int)this, (int)v20, 1, 560, (int)&v34, (int)v32, 0.6, 6, 0, 1, 1); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "StartDir:", 9u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30, -72.0, -93.6); cocos2d::CCPoint::operator+(v32, v27, v30); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 563, (unsigned __int8 *)&v34, (int)v32, 1058642330, 0, 2, 6, 0, -1020002304, 1127481344, 1, 0, 1, 2, 0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "+-", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30, 72.0, -93.6); cocos2d::CCPoint::operator+(v32, v27, v30); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 564, (unsigned __int8 *)&v34, (int)v32, 1058642330, 0, 2, 6, 0, 0, 1135869952, 1, 0, 1, 2, 0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, &unk_B6B226, 0); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30, 211.0, -93.6); cocos2d::CCPoint::operator+(v32, v27, v30); IDNameInput::create((int)this, (int)v20, 1, 565, (int)&v34, (int)v32, 0.6, 6, 0, 1, 1); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "Acceleration:", 0xDu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30, -72.0, -117.0); cocos2d::CCPoint::operator+(v32, v27, v30); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 334, (unsigned __int8 *)&v34, (int)v32, 1058642330, 0, 1, 6, 0, 0, 1084227584, 1, 0, 1, 2, 0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "+-", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30, 72.0, -117.0); cocos2d::CCPoint::operator+(v32, v27, v30); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 335, (unsigned __int8 *)&v34, (int)v32, 1058642330, 0, 1, 6, 0, 0, 1084227584, 1, 0, 1, 2, 0); std::string::~string((int)&v34); if ( v8 == 2 ) { v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "SteerForce:", 0xBu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30, -72.0, -140.4); cocos2d::CCPoint::operator+(v32, v27, v30); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 316, (unsigned __int8 *)&v34, (int)v32, 1058642330, 0, 1, 6, 0, 0, 1084227584, 1, 0, 1, 2, 0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "+-", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30, 72.0, -140.4); cocos2d::CCPoint::operator+(v32, v27, v30); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 317, (unsigned __int8 *)&v34, (int)v32, 1058642330, 0, 1, 6, 0, 0, 1084227584, 1, 0, 1, 2, 0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "SteerForceLow:", 0xEu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30, -72.0, -0.0); cocos2d::CCPoint::operator+(v32, v27, v30); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 318, (unsigned __int8 *)&v34, (int)v32, 1058642330, 0, 1, 6, 0, 0, 1084227584, 2, 0, 1, 2, 0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "+-", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30, 72.0, -0.0); cocos2d::CCPoint::operator+(v32, v27, v30); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 319, (unsigned __int8 *)&v34, (int)v32, 1058642330, 0, 1, 6, 0, 0, 1084227584, 2, 0, 1, 2, 0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, " ", 1u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30, 178.0, 0.0); cocos2d::CCPoint::operator+(v32, v27, v30); SetupTriggerPopup::createToggleValueControl( (int)this, 337, (int)&v34, (const cocos2d::CCPoint *)v32, 0, 2u, 0, 1.0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "SpeedRangeLow:", 0xEu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30, -72.0, -23.4); cocos2d::CCPoint::operator+(v32, v27, v30); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 322, (unsigned __int8 *)&v34, (int)v32, 1058642330, 0, 1, 6, 0, 0, 1084227584, 2, 0, 1, 2, 0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "+-", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30, 72.0, -23.4); cocos2d::CCPoint::operator+(v32, v27, v30); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 323, (unsigned __int8 *)&v34, (int)v32, 1058642330, 0, 1, 6, 0, 0, 1084227584, 2, 0, 1, 2, 0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "SteerForceHigh:", 0xFu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30, -72.0, -46.8); cocos2d::CCPoint::operator+(v32, v27, v30); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 320, (unsigned __int8 *)&v34, (int)v32, 1058642330, 0, 1, 6, 0, 0, 1084227584, 2, 0, 1, 2, 0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "+-", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30, 72.0, -46.8); cocos2d::CCPoint::operator+(v32, v27, v30); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 321, (unsigned __int8 *)&v34, (int)v32, 1058642330, 0, 1, 6, 0, 0, 1084227584, 2, 0, 1, 2, 0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, " ", 1u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30, 178.0, -46.8); cocos2d::CCPoint::operator+(v32, v27, v30); SetupTriggerPopup::createToggleValueControl( (int)this, 338, (int)&v34, (const cocos2d::CCPoint *)v32, 0, 2u, 0, 1.0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "SpeedRangeHigh:", 0xFu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30, -72.0, -70.2); cocos2d::CCPoint::operator+(v32, v27, v30); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 324, (unsigned __int8 *)&v34, (int)v32, 1058642330, 0, 1, 6, 0, 0, 1084227584, 2, 0, 1, 2, 0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "+-", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30, 72.0, -70.2); cocos2d::CCPoint::operator+(v32, v27, v30); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 325, (unsigned __int8 *)&v34, (int)v32, 1058642330, 0, 1, 6, 0, 0, 1084227584, 2, 0, 1, 2, 0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "SlowAccel:", 0xAu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30, -72.0, -93.6); cocos2d::CCPoint::operator+(v32, v27, v30); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 357, (unsigned __int8 *)&v34, (int)v32, 1058642330, 0, 1, 6, 0, 0, 1084227584, 2, 0, 1, 2, 0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "+-", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30, 72.0, -93.6); cocos2d::CCPoint::operator+(v32, v27, v30); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 358, (unsigned __int8 *)&v34, (int)v32, 1058642330, 0, 1, 6, 0, 0, 1084227584, 2, 0, 1, 2, 0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "SlowDist:", 9u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30, -72.0, -117.0); cocos2d::CCPoint::operator+(v32, v27, v30); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 359, (unsigned __int8 *)&v34, (int)v32, 1058642330, 0, 3, 6, 0, 0, 1120403456, 2, 0, 1, 2, 0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "+-", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30, 72.0, -117.0); cocos2d::CCPoint::operator+(v32, v27, v30); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 360, (unsigned __int8 *)&v34, (int)v32, 1058642330, 0, 3, 6, 0, 0, 1120403456, 2, 0, 1, 2, 0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "BreakForce:", 0xBu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30, -72.0, -140.4); cocos2d::CCPoint::operator+(v32, v27, v30); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 326, (unsigned __int8 *)&v34, (int)v32, 1058642330, 0, 1, 6, 0, 0, 1065353216, 2, 0, 1, 2, 0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "+-", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30, 72.0, -140.4); cocos2d::CCPoint::operator+(v32, v27, v30); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 327, (unsigned __int8 *)&v34, (int)v32, 1058642330, 0, 1, 6, 0, 0, 1065353216, 2, 0, 1, 2, 0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "BreakAngle:", 0xBu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30, -72.0, -163.8); cocos2d::CCPoint::operator+(v32, v27, v30); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 328, (unsigned __int8 *)&v34, (int)v32, 1058642330, 0, 2, 6, 0, 0, 1127481344, 2, 0, 1, 2, 0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "+-", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30, 72.0, -163.8); cocos2d::CCPoint::operator+(v32, v27, v30); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 329, (unsigned __int8 *)&v34, (int)v32, 1058642330, 0, 2, 6, 0, 0, 1127481344, 2, 0, 1, 2, 0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "BreakSteerForce:", 0x10u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30, -72.0, -187.2); cocos2d::CCPoint::operator+(v32, v27, v30); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 330, (unsigned __int8 *)&v34, (int)v32, 1058642330, 0, 1, 6, 0, 0, 1084227584, 2, 0, 1, 2, 0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "+-", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30, 72.0, -187.2); cocos2d::CCPoint::operator+(v32, v27, v30); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 331, (unsigned __int8 *)&v34, (int)v32, 1058642330, 0, 1, 6, 0, 0, 1084227584, 2, 0, 1, 2, 0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "BreakSteer\nSpeedLimit:", 0x16u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30, -72.0, -210.6); cocos2d::CCPoint::operator+(v32, v27, v30); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 332, (unsigned __int8 *)&v34, (int)v32, 1058642330, 0, 1, 6, 0, 0, 1084227584, 2, 0, 1, 2, 0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "+-", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30, 72.0, -210.6); cocos2d::CCPoint::operator+(v32, v27, v30); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 333, (unsigned __int8 *)&v34, (int)v32, 1058642330, 0, 1, (int)&byte_6, 0, 0, 1084227584, 2, 0, 1, 2, 0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "Target\nDir", 0xAu); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v32, (float)(v27[0] + 84.0) - 10.0, (float)((float)(v26 * 0.5) - (float)(*((float *)this + 140) * 0.5)) + 20.0); SetupTriggerPopup::createToggleValueControl( (int)this, 305, (int)&v34, (const cocos2d::CCPoint *)v32, 0, 2u, 0, 1.0); } else { if ( v8 != 1 ) goto LABEL_13; v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "Friction:", 9u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30, -72.0, -140.4); cocos2d::CCPoint::operator+(v32, v27, v30); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 558, (unsigned __int8 *)&v34, (int)v32, 1058642330, 0, 1, 6, 0, 0, 1084227584, 1, 0, 1, 2, 0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "+-", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30, 72.0, -140.4); cocos2d::CCPoint::operator+(v32, v27, v30); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 559, (unsigned __int8 *)&v34, (int)v32, 1058642330, 0, 1, 6, 0, 0, 1084227584, 1, 0, 1, 2, 0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "NearDist:", 9u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30, -72.0, -163.8); cocos2d::CCPoint::operator+(v32, v27, v30); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 359, (unsigned __int8 *)&v34, (int)v32, 1058642330, 0, 1, 6, 0, 0, 1065353216, 1, 0, 1, 2, 0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "+-", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30, 72.0, -163.8); cocos2d::CCPoint::operator+(v32, v27, v30); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 360, (unsigned __int8 *)&v34, (int)v32, 1058642330, 0, 1, 6, 0, 0, 1065353216, 1, 0, 1, 2, 0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "NearFriction:", 0xDu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30, -72.0, -187.2); cocos2d::CCPoint::operator+(v32, v27, v30); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 561, (unsigned __int8 *)&v34, (int)v32, 1058642330, 0, 1, 6, 0, 0, 1084227584, 1, 0, 1, 2, 0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "+-", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30, 72.0, -187.2); cocos2d::CCPoint::operator+(v32, v27, v30); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 562, (unsigned __int8 *)&v34, (int)v32, 1058642330, 0, 1, 6, 0, 0, 1084227584, 1, 0, 1, 2, 0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "NearAccel:", 0xAu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30, -72.0, -210.6); cocos2d::CCPoint::operator+(v32, v27, v30); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 357, (unsigned __int8 *)&v34, (int)v32, 1058642330, 0, 1, 6, 0, 0, 1084227584, 1, 0, 1, 2, 0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "+-", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30, 72.0, -210.6); cocos2d::CCPoint::operator+(v32, v27, v30); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 358, (unsigned __int8 *)&v34, (int)v32, 1058642330, 0, 1, 6, 0, 0, 1084227584, 1, 0, 1, 2, 0); } } else { v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "Easing:", 7u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30, -72.0, -70.2); cocos2d::CCPoint::operator+(v32, v27, v30); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 361, (unsigned __int8 *)&v34, (int)v32, 1058642330, 0, 1, 6, 0, 0, 1120403456, 1, 0, 1, 2, 0); std::string::~string((int)&v34); v34 = 0; v35 = 0; v36 = nullptr; std::string::__init(&v34, "+-", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30, 72.0, -70.2); cocos2d::CCPoint::operator+(v32, v27, v30); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 362, (unsigned __int8 *)&v34, (int)v32, 1058642330, 0, 1, 6, 0, 0, 1120403456, 1, 0, 1, 2, 0); } std::string::~string((int)&v34); LABEL_13: v13 = ButtonSprite::create( (ButtonSprite *)"Pre", (const char *)&word_28, 0, 0.8, 1, "bigFont.fnt", "GJ_button_04.png", COERCE_CONST_CHAR_(30.0), v19); (*(void (__fastcall **)(ButtonSprite *, int))(*(_DWORD *)v13 + 80))(v13, 1058642330); v32[0] = SetupAdvFollowPopup::onPremade; v32[1] = 0; v14 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::create( (int)v13, 0, (int)this, (int)SetupAdvFollowPopup::onPremade, 0); (*(void (__fastcall **)(_DWORD, cocos2d::CCObject *))(**((_DWORD **)this + 111) + 228))( *((_DWORD *)this + 111), v14); v15 = *((const cocos2d::CCPoint **)this + 111); v16 = *(void (__fastcall **)(cocos2d::CCObject *, _BYTE *))(*(_DWORD *)v14 + 92); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v29, (float)((float)(*((float *)this + 139) * 0.5) + (float)(v25 * 0.5)) - 28.0, (float)((float)(*((float *)this + 140) * 0.5) + (float)(v26 * 0.5)) - 18.0); cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v30, v15); v16(v14, v30); SetupTriggerPopup::addObjectToPage((cocos2d::CCArray **)this, v14, 0); SetupTriggerPopup::createPageButtons(this, (float)(*((float *)this + 139) * 0.5) + 15.0, 1u); SetupTriggerPopup::goToPage((cocos2d::CCArray **)this, nullptr, 0); SetupTriggerPopup::postSetup(this); } return v21; }
GD Web Decomp Icon

GD Web Decomp

Raw Source