// // SetupDashRingPopup::init from 0x6b6bd0 to 0x6b6fd4 (1028 bytes) // // 1 xrefs: // > SetupDashRingPopup::create @ 0x6b704a // // 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:43 +0000 // GameManager *__fastcall SetupDashRingPopup::init(SetupDashRingPopup *this, DashRingObject *a2, cocos2d::CCArray *a3) { GameManager *v4; // r10 cocos2d::CCDirector *v5; // r0 float v7; // [sp+34h] [bp-40h] BYREF float v8; // [sp+38h] [bp-3Ch] _BYTE v9[8]; // [sp+3Ch] [bp-38h] BYREF _BYTE v10[8]; // [sp+44h] [bp-30h] BYREF _BYTE v11[8]; // [sp+4Ch] [bp-28h] BYREF int v12[3]; // [sp+54h] [bp-20h] BYREF int v13; // [sp+60h] [bp-14h] BYREF int v14; // [sp+64h] [bp-10h] int v15; // [sp+68h] [bp-Ch] v4 = SetupTriggerPopup::init(this, a2, a3, 320.0, 240.0, (_BYTE *)&dword_0 + 1, 0.0); if ( v4 ) { SetupTriggerPopup::preSetup(this); v13 = 0; v14 = 0; v15 = 0; std::string::__init(&v13, "Dash Orb", 8u); SetupTriggerPopup::addTitle((int)this, (unsigned __int8 *)&v13); std::string::~string((int)&v13); v13 = 0; v14 = 0; v15 = 0; std::string::__init(&v13, "OK", 2u); SetupTriggerPopup::addCloseButton((int)this, (int)&v13); std::string::~string((int)&v13); memset(v12, 0, sizeof(v12)); std::string::__init(v12, "Help", 4u); v13 = 0; v14 = 0; v15 = 0; std::string::__init( &v13, "Speed changes the speed of the dash.\n" "End Boost is the force applied when the dash stops.\n" "Max Duration will end the dash automatically after this time.\n" "Allow Collide makes the dash not end on collision.\n" "Stop Slide will limit the end momentum.", 0x119u); SetupTriggerPopup::addHelpButton((int)this, (int)v12, (int)&v13, 1065353216); std::string::~string((int)&v13); v5 = (cocos2d::CCDirector *)std::string::~string((int)v12); cocos2d::CCDirector::sharedDirector(v5); cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)&v7); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, v7 * 0.5, (float)(v8 * 0.5) + 70.0); v13 = 0; v14 = 0; v15 = 0; std::string::__init(&v13, "Speed", 5u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v10, 0.0, 0.0); cocos2d::CCPoint::operator+(v11, v9, v10); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 586, (unsigned __int8 *)&v13, (int)v11, 1061997773, 0, 1, 6, 0, 0, 0x40000000, 0, 0, 1, 2, 0); std::string::~string((int)&v13); v13 = 0; v14 = 0; v15 = 0; std::string::__init(&v13, "End Boost", 9u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v10, 0.0, -40.0); cocos2d::CCPoint::operator+(v11, v9, v10); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 588, (unsigned __int8 *)&v13, (int)v11, 1061997773, 0, 1, 6, 0, 0, 0x40000000, 0, 0, 1, 2, 0); std::string::~string((int)&v13); v13 = 0; v14 = 0; v15 = 0; std::string::__init(&v13, "Max Duration", 0xCu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v10, 0.0, -80.0); cocos2d::CCPoint::operator+(v11, v9, v10); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 590, (unsigned __int8 *)&v13, (int)v11, 1061997773, 0, 1, 6, 0, 0, 0x40000000, 0, 0, 1, 2, 0); std::string::~string((int)&v13); v13 = 0; v14 = 0; v15 = 0; std::string::__init(&v13, "Allow\nCollide", 0xDu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v10, -80.0, -120.0); cocos2d::CCPoint::operator+(v11, v9, v10); SetupTriggerPopup::createToggleValueControl((int)this, 587, (int)&v13, (const cocos2d::CCPoint *)v11, 0, 0, 0, 1.0); std::string::~string((int)&v13); v13 = 0; v14 = 0; v15 = 0; std::string::__init(&v13, "Stop\nSlide", 0xAu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v10, 20.0, -120.0); cocos2d::CCPoint::operator+(v11, v9, v10); SetupTriggerPopup::createToggleValueControl((int)this, 589, (int)&v13, (const cocos2d::CCPoint *)v11, 0, 0, 0, 1.0); std::string::~string((int)&v13); v13 = 0; v14 = 0; v15 = 0; std::string::__init(&v13, "NO Multi\nActivate", 0x11u); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v11, (float)((float)(v7 * 0.5) - (float)(*((float *)this + 139) * 0.5)) + 20.0, (float)((float)(v8 * 0.5) - (float)(*((float *)this + 140) * 0.5)) + 25.0); SetupTriggerPopup::createToggleValueControl((int)this, 444, (int)&v13, (const cocos2d::CCPoint *)v11, 0, 0, 0, 1.0); std::string::~string((int)&v13); SetupTriggerPopup::postSetup(this); } return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source