// // SetupCountTriggerPopup::init from 0x626a14 to 0x626d0a (758 bytes) // // 1 xrefs: // > SetupCountTriggerPopup::create @ 0x626f4c // // 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:10 +0000 // int __fastcall SetupCountTriggerPopup::init(SetupCountTriggerPopup *this, EffectGameObject *a2, cocos2d::CCArray *a3) { int v4; // r9 cocos2d::CCDirector *v5; // r0 float v7; // [sp+34h] [bp-30h] BYREF float v8; // [sp+38h] [bp-2Ch] _BYTE v9[8]; // [sp+3Ch] [bp-28h] BYREF int v10[3]; // [sp+44h] [bp-20h] BYREF int v11; // [sp+50h] [bp-14h] BYREF int v12; // [sp+54h] [bp-10h] int v13; // [sp+58h] [bp-Ch] v4 = SetupTriggerPopup::init(this, a2, a3, 380.0, 240.0, 1, 0.0); if ( v4 ) { SetupTriggerPopup::preSetup(this); v11 = 0; v12 = 0; v13 = 0; std::string::__init(&v11, "Count Trigger", 0xDu); SetupTriggerPopup::addTitle(this, &v11); std::string::~string((int)&v11); v11 = 0; v12 = 0; v13 = 0; std::string::__init(&v11, "OK", 2u); SetupTriggerPopup::addCloseButton(this, &v11); std::string::~string((int)&v11); memset(v10, 0, sizeof(v10)); std::string::__init(v10, "Help", 4u); v11 = 0; v12 = 0; v13 = 0; std::string::__init( &v11, "Disable objects using Target ID when an Item ID reaches a certain Target Count. The condit" "ion is checked constantly.\n" "Activate Group makes the trigger enable and spawn the group instead.\n" "Multi Activate allows the trigger to activate more than once.", 0x11Fu); SetupTriggerPopup::addHelpButton(this, v10, &v11, 1065353216); std::string::~string((int)&v11); v5 = (cocos2d::CCDirector *)std::string::~string((int)v10); cocos2d::CCDirector::sharedDirector(v5); cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)&v7); v11 = 0; v12 = 0; v13 = 0; std::string::__init(&v11, "Item ID", 7u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, (float)(v7 * 0.5) - 90.0, (float)(v8 * 0.5) + 40.0); IDNameInput::create((int)this, (int)this + 440, 2, 80, (int)&v11, (int)v9, 1.0, 6, 0, 0, 0); std::string::~string((int)&v11); v11 = 0; v12 = 0; v13 = 0; std::string::__init(&v11, "Target ID", 9u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, (float)(v7 * 0.5) + 90.0, (float)(v8 * 0.5) + 40.0); IDNameInput::create((int)this, (int)this + 440, 1, 51, (int)&v11, (int)v9, 1.0, 6, 0, 0, 0); std::string::~string((int)&v11); v11 = 0; v12 = 0; v13 = 0; std::string::__init(&v11, "Target Count", 0xCu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, (float)(v7 * 0.5) - 90.0, (float)(v8 * 0.5) - 25.0); SetupTriggerPopup::createValueControlAdvanced( this, 77, &v11, v9, 1061997773, 1, 2, 6, 1, 0, 1120403456, 1, 0, 0, 2, 0); std::string::~string((int)&v11); SetupTriggerPopup::createMultiTriggerItemsDefault(this); v11 = 0; v12 = 0; v13 = 0; std::string::__init(&v11, "Activate\nGroup", 0xEu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, (float)(v7 * 0.5) + 50.0, (float)(v8 * 0.5) - 10.0); SetupTriggerPopup::createToggleValueControl((int)this, 56, (int)&v11, (int)v9, 0, 0, 0, 1.0); std::string::~string((int)&v11); v11 = 0; v12 = 0; v13 = 0; std::string::__init(&v11, "Multi\nActivate", 0xEu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, (float)(v7 * 0.5) + 50.0, (float)(v8 * 0.5) - 45.0); SetupTriggerPopup::createToggleValueControl((int)this, 104, (int)&v11, (int)v9, 0, 0, 0, 1.0); std::string::~string((int)&v11); SetupTriggerPopup::postSetup(this); } return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source