// // SetupCollisionTriggerPopup::init from 0x6259e8 to 0x625de2 (1018 bytes) // // 1 xrefs: // > SetupCollisionTriggerPopup::create @ 0x625e5a // // 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:55:09 +0000 // int __fastcall SetupCollisionTriggerPopup::init( SetupCollisionTriggerPopup *this, EffectGameObject *a2, cocos2d::CCArray *a3) { int v4; // r9 cocos2d::CCDirector *v5; // r0 float v6; // s18 float v7; // s20 float v8; // s19 float v10; // [sp+24h] [bp-30h] BYREF float v11; // [sp+28h] [bp-2Ch] _BYTE v12[8]; // [sp+2Ch] [bp-28h] BYREF int v13[3]; // [sp+34h] [bp-20h] BYREF int v14; // [sp+40h] [bp-14h] BYREF int v15; // [sp+44h] [bp-10h] int v16; // [sp+48h] [bp-Ch] v4 = SetupTriggerPopup::init(this, a2, a3, 340.0, 280.0, 1, 0.0); if ( v4 ) { SetupTriggerPopup::preSetup(this); v14 = 0; v15 = 0; v16 = 0; std::string::__init(&v14, "Collision Trigger", 0x11u); SetupTriggerPopup::addTitle(this, &v14); std::string::~string((int)&v14); v14 = 0; v15 = 0; v16 = 0; std::string::__init(&v14, "OK", 2u); SetupTriggerPopup::addCloseButton(this, &v14); std::string::~string((int)&v14); memset(v13, 0, sizeof(v13)); std::string::__init(v13, "Help", 4u); v14 = 0; v15 = 0; v16 = 0; std::string::__init( &v14, "Disables Target ID when Collision Blocks using BlockA ID and BlockB ID collide. This condition is " "checked constantly. Make sure that one of the blocks have Dynamic Block enabled.\n" "Use Activate Group to activate and spawn instead.\n" "P1 and P2 makes collision trigger upon the respective player touching BlockB ID.\n" "PP triggers when both players collide.\n" "Trigger On Exit makes it activate after collision between the blocks ends and not when it starts. ", 0x1EFu); SetupTriggerPopup::addHelpButton(this, v13, &v14, 1065353216); std::string::~string((int)&v14); v5 = (cocos2d::CCDirector *)std::string::~string((int)v13); cocos2d::CCDirector::sharedDirector(v5); cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)&v10); v14 = 0; v15 = 0; v16 = 0; v6 = (float)(v11 * 0.5) + 10.0; v7 = (float)(v11 * 0.5) + 70.0; v8 = (float)(v11 * 0.5) - 55.0; std::string::__init(&v14, "BlockA ID", 9u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v12, (float)(v10 * 0.5) - 70.0, v6); IDNameInput::create((int)this, (int)this + 440, 3, 80, (int)&v14, (int)v12, 0.7, 6, 0, 0, 0); std::string::~string((int)&v14); v14 = 0; v15 = 0; v16 = 0; std::string::__init(&v14, "BlockB ID", 9u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v12, (float)(v10 * 0.5) + 70.0, v6); IDNameInput::create((int)this, (int)this + 440, 3, 95, (int)&v14, (int)v12, 0.7, 6, 0, 0, 0); std::string::~string((int)&v14); v14 = 0; v15 = 0; v16 = 0; std::string::__init(&v14, "Target ID", 9u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v12, (float)(v10 * 0.5) - 70.0, v8); IDNameInput::create((int)this, (int)this + 440, 1, 51, (int)&v14, (int)v12, 0.7, 6, 0, 0, 0); std::string::~string((int)&v14); v14 = 0; v15 = 0; v16 = 0; std::string::__init(&v14, "P1", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v12, (float)(v10 * 0.5) - 70.0, v7); SetupTriggerPopup::createToggleValueControl((int)this, 138, (int)&v14, (int)v12, 0, 0, 0, 1.0); std::string::~string((int)&v14); v14 = 0; v15 = 0; v16 = 0; std::string::__init(&v14, "P2", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v12, v10 * 0.5, v7); SetupTriggerPopup::createToggleValueControl((int)this, 200, (int)&v14, (int)v12, 0, 0, 0, 1.0); std::string::~string((int)&v14); v14 = 0; v15 = 0; v16 = 0; std::string::__init(&v14, "PP", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v12, (float)(v10 * 0.5) + 70.0, v7); SetupTriggerPopup::createToggleValueControl((int)this, 201, (int)&v14, (int)v12, 0, 0, 0, 1.0); std::string::~string((int)&v14); v14 = 0; v15 = 0; v16 = 0; std::string::__init(&v14, "Activate\nGroup", 0xEu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v12, (float)(v10 * 0.5) + 70.0, v8 + 15.0); SetupTriggerPopup::createToggleValueControl((int)this, 56, (int)&v14, (int)v12, 0, 0, 0, 1.0); std::string::~string((int)&v14); v14 = 0; v15 = 0; v16 = 0; std::string::__init(&v14, "Trigger\nOn Exit", 0xFu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v12, (float)(v10 * 0.5) + 70.0, v8 - 30.0); SetupTriggerPopup::createToggleValueControl((int)this, 93, (int)&v14, (int)v12, 0, 0, 0, 1.0); std::string::~string((int)&v14); SetupTriggerPopup::createMultiTriggerItemsDefault(this); SetupTriggerPopup::postSetup(this); } return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source