// // MultiTriggerPopup::init from 0x5794a0 to 0x5795dc (316 bytes) // // 1 xrefs: // > MultiTriggerPopup::create @ 0x579672 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // bool MultiTriggerPopup::init(MultiTriggerPopup *a1, EffectGameObject *a2, cocos2d::CCArray *a3) { _BOOL4 v4; // r9 cocos2d::CCDirector *v5; // r0 _BYTE v7[4]; // [sp+18h] [bp-20h] BYREF cocos2d::CCSize v8; // [sp+1Ch] [bp-1Ch] BYREF cocos2d::CCPoint v9; // [sp+24h] [bp-14h] BYREF cocos2d::CCPoint v10; // [sp+2Ch] [bp-Ch] BYREF v4 = SetupTriggerPopup::init(a1, a2, a3, 200.0, 120.0, 1); if ( v4 ) { SetupTriggerPopup::preSetup(a1); sub_776584((int)&v10, "Setup"); SetupTriggerPopup::addTitle((int)a1); sub_774008(&v10); sub_776584((int)&v10, "OK"); SetupTriggerPopup::addCloseButton((unsigned int)a1, (ButtonSprite **)&v10); sub_774008(&v10); sub_776584((int)&v9, "Help"); sub_776584((int)&v10, "Allow Multi makes it so the object can be activated several times."); SetupTriggerPopup::addHelpButton((int)a1, (int)&v9, (int)&v10, 1065353216); sub_774008(&v10); sub_774008(&v9); v5 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize(&v8, v5); cocos2d::CCPoint::CCPoint(&v9, (float)(v8.width * 0.5) - 30.0, (float)(v8.height * 0.5) + 10.0); sub_776584((int)v7, "Allow Multi"); cocos2d::CCPoint::CCPoint(&v10, &v9); SetupTriggerPopup::createToggleValueControl(a1, 87, (int)v7, &v10, 0, 0, 0, 1.0); sub_774008(v7); SetupTriggerPopup::postSetup(a1); } return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source