// // SetupTimerTriggerPopup::init from 0x6da038 to 0x6da52e (1270 bytes) // // 1 xrefs: // > SetupTimerTriggerPopup::create @ 0x6da5b6 // // 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:57:10 +0000 // GameManager *__fastcall SetupTimerTriggerPopup::init( SetupTimerTriggerPopup *this, TimerTriggerGameObject *a2, cocos2d::CCArray *a3) { GameManager *v4; // r10 cocos2d::CCDirector *MultiTriggerItemsDefault; // r0 float v7[2]; // [sp+3Ch] [bp-40h] BYREF _BYTE v8[8]; // [sp+44h] [bp-38h] BYREF _BYTE v9[8]; // [sp+4Ch] [bp-30h] BYREF _BYTE v10[8]; // [sp+54h] [bp-28h] BYREF int v11[3]; // [sp+5Ch] [bp-20h] BYREF int v12; // [sp+68h] [bp-14h] BYREF int v13; // [sp+6Ch] [bp-10h] int v14; // [sp+70h] [bp-Ch] v4 = SetupTriggerPopup::init(this, a2, a3, 400.0, 280.0, (_BYTE *)&dword_0 + 1, 0.0); if ( v4 ) { SetupTriggerPopup::preSetup(this); v12 = 0; v13 = 0; v14 = 0; std::string::__init(&v12, "Time Trigger", 0xCu); SetupTriggerPopup::addTitle((int)this, (unsigned __int8 *)&v12); std::string::~string((int)&v12); v12 = 0; v13 = 0; v14 = 0; std::string::__init(&v12, "OK", 2u); SetupTriggerPopup::addCloseButton((int)this, (int)&v12); std::string::~string((int)&v12); memset(v11, 0, sizeof(v11)); std::string::__init(v11, "Help", 4u); v12 = 0; v13 = 0; v14 = 0; std::string::__init( &v12, "These function as an in-game timer using ItemID.\n" "TargetID is spawned when StopTime is hit.\n" "TimeMod modifies the timer with multiplication (Can be negative).\n" "StartPaused pauses at starting time until activated by another Time trigger.", 0x119u); SetupTriggerPopup::addHelpButton((int)this, (int)v11, (int)&v12, 1065353216); std::string::~string((int)&v12); std::string::~string((int)v11); MultiTriggerItemsDefault = (cocos2d::CCDirector *)SetupTriggerPopup::createMultiTriggerItemsDefault(this); cocos2d::CCDirector::sharedDirector(MultiTriggerItemsDefault); cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v7); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v8, v7[0] * 0.5, (float)(v7[1] * 0.5) + 85.0); v12 = 0; v13 = 0; v14 = 0; std::string::__init(&v12, "StartTime", 9u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, -85.0, 0.0); cocos2d::CCPoint::operator+(v10, v8, v9); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 467, (unsigned __int8 *)&v12, (int)v10, 1061997773, 0, 1, 10, 0, 0, 1120403456, 0, 0, 0, 2, 0); std::string::~string((int)&v12); v12 = 0; v13 = 0; v14 = 0; std::string::__init(&v12, "StopTime", 8u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, 85.0, 0.0); cocos2d::CCPoint::operator+(v10, v8, v9); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 473, (unsigned __int8 *)&v12, (int)v10, 1061997773, 0, 1, 10, 0, 0, 1120403456, 0, 0, 0, 2, 0); std::string::~string((int)&v12); v12 = 0; v13 = 0; v14 = 0; std::string::__init(&v12, &unk_B6B226, 0); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, 175.0, 0.0); cocos2d::CCPoint::operator+(v10, v8, v9); SetupTriggerPopup::createToggleValueControl((int)this, 474, (int)&v12, (const cocos2d::CCPoint *)v10, 0, 0, 0, 1.0); std::string::~string((int)&v12); v12 = 0; v13 = 0; v14 = 0; std::string::__init(&v12, "TimerID", 7u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, -85.0, -75.0); cocos2d::CCPoint::operator+(v10, v8, v9); IDNameInput::create((int)this, (int)this + 440, 4, 80, (int)&v12, (int)v10, 0.8, 6, 0, 0, 0); std::string::~string((int)&v12); v12 = 0; v13 = 0; v14 = 0; std::string::__init(&v12, "TimeMod", 7u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, 85.0, -60.0); cocos2d::CCPoint::operator+(v10, v8, v9); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 470, (unsigned __int8 *)&v12, (int)v10, 1061997773, 0, 1, 10, 0, 1008981770, 0x40000000, 0, 0, 0, 2, 0); std::string::~string((int)&v12); v12 = 0; v13 = 0; v14 = 0; std::string::__init(&v12, "TargetID", 8u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, -85.0, -135.0); cocos2d::CCPoint::operator+(v10, v8, v9); IDNameInput::create((int)this, (int)this + 440, 1, 51, (int)&v12, (int)v10, 0.8, 6, 0, 0, 0); std::string::~string((int)&v12); v12 = 0; v13 = 0; v14 = 0; std::string::__init(&v12, "Ignore\nTimeWarp", 0xFu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, 10.0, -128.0); cocos2d::CCPoint::operator+(v10, v8, v9); SetupTriggerPopup::createToggleValueControl((int)this, 469, (int)&v12, (const cocos2d::CCPoint *)v10, 0, 0, 0, 1.0); std::string::~string((int)&v12); v12 = 0; v13 = 0; v14 = 0; std::string::__init(&v12, "Start\nPaused", 0xCu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, 120.0, -128.0); cocos2d::CCPoint::operator+(v10, v8, v9); SetupTriggerPopup::createToggleValueControl((int)this, 471, (int)&v12, (const cocos2d::CCPoint *)v10, 0, 0, 0, 1.0); std::string::~string((int)&v12); v12 = 0; v13 = 0; v14 = 0; std::string::__init(&v12, "Dont\nOverride", 0xDu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, 120.0, -163.0); cocos2d::CCPoint::operator+(v10, v8, v9); SetupTriggerPopup::createToggleValueControl((int)this, 468, (int)&v12, (const cocos2d::CCPoint *)v10, 0, 0, 0, 1.0); std::string::~string((int)&v12); SetupTriggerPopup::postSetup(this); } return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source