// // SetupAreaMoveTriggerPopup::init from 0x68fe54 to 0x690722 (2254 bytes) // // 1 xrefs: // > SetupAreaMoveTriggerPopup::create @ 0x690746 // // 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:11 +0000 // GameManager *__fastcall SetupAreaMoveTriggerPopup::init( cocos2d::CCDictionary **this, EnterEffectObject *a2, cocos2d::CCArray *a3) { GameManager *v4; // r10 cocos2d::CCDirector *MultiTriggerItemsDefaultHorizontal; // r0 int v6; // r0 cocos2d::CCDictionary *v7; // r3 void (__fastcall *v8)(cocos2d::CCDictionary **, int, _DWORD); // r3 float v9; // r2 float v11; // [sp+34h] [bp-40h] BYREF float v12; // [sp+38h] [bp-3Ch] _BYTE v13[8]; // [sp+3Ch] [bp-38h] BYREF _BYTE v14[8]; // [sp+44h] [bp-30h] BYREF _BYTE v15[8]; // [sp+4Ch] [bp-28h] BYREF int v16[3]; // [sp+54h] [bp-20h] BYREF int v17; // [sp+60h] [bp-14h] BYREF int v18; // [sp+64h] [bp-10h] int v19; // [sp+68h] [bp-Ch] v4 = SetupTriggerPopup::init((SetupTriggerPopup *)this, a2, a3, 420.0, 280.0, (_BYTE *)&dword_0 + 1, 0.0); if ( v4 ) { (*((void (__fastcall **)(cocos2d::CCDictionary **))*this + 170))(this); v17 = 0; v18 = 0; v19 = 0; std::string::__init(&v17, "Area Move Trigger", 0x11u); SetupTriggerPopup::addTitle((int)this, (unsigned __int8 *)&v17); std::string::~string((int)&v17); v17 = 0; v18 = 0; v19 = 0; std::string::__init(&v17, "OK", 2u); SetupTriggerPopup::addCloseButton((int)this, (int)&v17); std::string::~string((int)&v17); memset(v16, 0, sizeof(v16)); std::string::__init(v16, "Help", 4u); v17 = 0; v18 = 0; v19 = 0; std::string::__init( &v17, "Moves objects using Target Group ID within an area around Center Group ID. The area can be specifi" "ed by the arrow buttons and Length (for size).\n" "You can specify how much the objects in the area move depending on how close they are to the center.\n" "DEAP: Dont Edit Area Parent.\n" "Check the other pages for more settings.", 0x15Bu); SetupTriggerPopup::addHelpButton((int)this, (int)v16, (int)&v17, 1065353216); std::string::~string((int)&v17); std::string::~string((int)v16); MultiTriggerItemsDefaultHorizontal = (cocos2d::CCDirector *)SetupTriggerPopup::createMultiTriggerItemsDefaultHorizontal((SetupTriggerPopup *)this); cocos2d::CCDirector::sharedDirector(MultiTriggerItemsDefaultHorizontal); cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)&v11); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v13, v11 * 0.5, (float)(v12 * 0.5) + 95.0); v17 = 0; v18 = 0; v19 = 0; std::string::__init(&v17, "Length", 6u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v14, -75.0, 0.0); cocos2d::CCPoint::operator+(v15, v13, v14); SetupTriggerPopup::createValueControlAdvanced( this, 222, (unsigned __int8 *)&v17, (int)v15, 1059481190, 0, 2, 6, 0, 0, 1120403456, 0, 0, 1, 2, 0); std::string::~string((int)&v17); v17 = 0; v18 = 0; v19 = 0; std::string::__init(&v17, "+-", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v14, 75.0, 0.0); cocos2d::CCPoint::operator+(v15, v13, v14); SetupTriggerPopup::createValueControlAdvanced( this, 223, (unsigned __int8 *)&v17, (int)v15, 1059481190, 0, 2, 6, 0, 0, 1120403456, 0, 0, 1, 2, 0); std::string::~string((int)&v17); v17 = 0; v18 = 0; v19 = 0; std::string::__init(&v17, "Offset", 6u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v14, -75.0, -25.0); cocos2d::CCPoint::operator+(v15, v13, v14); SetupTriggerPopup::createValueControlAdvanced( this, 220, (unsigned __int8 *)&v17, (int)v15, 1059481190, 0, 2, 6, 0, -1027080192, 1120403456, 0, 0, 1, 2, 0); std::string::~string((int)&v17); v17 = 0; v18 = 0; v19 = 0; std::string::__init(&v17, "+-", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v14, 75.0, -25.0); cocos2d::CCPoint::operator+(v15, v13, v14); SetupTriggerPopup::createValueControlAdvanced( this, 221, (unsigned __int8 *)&v17, (int)v15, 1059481190, 0, 2, 6, 0, -1027080192, 1120403456, 0, 0, 1, 2, 0); std::string::~string((int)&v17); v17 = 0; v18 = 0; v19 = 0; std::string::__init(&v17, "MoveDist", 8u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v14, -75.0, -50.0); cocos2d::CCPoint::operator+(v15, v13, v14); SetupTriggerPopup::createValueControlAdvanced( this, 218, (unsigned __int8 *)&v17, (int)v15, 1059481190, 0, 2, 6, 0, 0, 1120403456, 0, 1, 1, 2, 0); std::string::~string((int)&v17); v17 = 0; v18 = 0; v19 = 0; std::string::__init(&v17, "+-", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v14, 75.0, -50.0); cocos2d::CCPoint::operator+(v15, v13, v14); SetupTriggerPopup::createValueControlAdvanced( this, 219, (unsigned __int8 *)&v17, (int)v15, 1059481190, 0, 2, 6, 0, 0, 1120403456, 0, 1, 1, 2, 0); std::string::~string((int)&v17); v17 = 0; v18 = 0; v19 = 0; std::string::__init(&v17, "MoveAngle", 9u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v14, -75.0, -75.0); cocos2d::CCPoint::operator+(v15, v13, v14); SetupTriggerPopup::createValueControlAdvanced( this, 231, (unsigned __int8 *)&v17, (int)v15, 1059481190, 0, 2, 6, 0, -1020002304, 1127481344, 0, 1, 1, 2, 0); std::string::~string((int)&v17); v17 = 0; v18 = 0; v19 = 0; std::string::__init(&v17, "+-", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v14, 75.0, -75.0); cocos2d::CCPoint::operator+(v15, v13, v14); SetupTriggerPopup::createValueControlAdvanced( this, 232, (unsigned __int8 *)&v17, (int)v15, 1059481190, 0, 2, 6, 0, 0, 1135869952, 0, 1, 1, 2, 0); std::string::~string((int)&v17); v17 = 0; v18 = 0; v19 = 0; std::string::__init(&v17, "XY\nMode", 7u); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v15, (float)((float)(*((float *)this + 139) * 0.5) + (float)(v11 * 0.5)) - 58.0, (float)((float)(*((float *)this + 140) * 0.5) + (float)(v12 * 0.5)) - 20.0); SetupTriggerPopup::createToggleValueControl((int)this, 241, (int)&v17, (const cocos2d::CCPoint *)v15, 0, 0, 0, 1.0); std::string::~string((int)&v17); v17 = 0; v18 = 0; v19 = 0; std::string::__init(&v17, "RFade", 5u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v14, 75.0, -100.0); cocos2d::CCPoint::operator+(v15, v13, v14); SetupTriggerPopup::createValueControlAdvanced( this, 288, (unsigned __int8 *)&v17, (int)v15, 1059481190, 0, 1, 6, 0, 0, 1114636288, 0, 1, 1, 2, 0); std::string::~string((int)&v17); v17 = 0; v18 = 0; v19 = 0; std::string::__init(&v17, "Relative", 8u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v14, -91.0, -110.0); cocos2d::CCPoint::operator+(v15, v13, v14); SetupTriggerPopup::createToggleValueControl((int)this, 287, (int)&v17, (const cocos2d::CCPoint *)v15, 0, 0, 1, 1.0); std::string::~string((int)&v17); v17 = 0; v18 = 0; v19 = 0; std::string::__init(&v17, "MoveX", 5u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v14, -75.0, -50.0); cocos2d::CCPoint::operator+(v15, v13, v14); SetupTriggerPopup::createValueControlAdvanced( this, 237, (unsigned __int8 *)&v17, (int)v15, 1059481190, 0, 2, 6, 0, 0, 1120403456, 0, 2, 1, 2, 0); std::string::~string((int)&v17); v17 = 0; v18 = 0; v19 = 0; std::string::__init(&v17, "+-", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v14, 75.0, -50.0); cocos2d::CCPoint::operator+(v15, v13, v14); SetupTriggerPopup::createValueControlAdvanced( this, 238, (unsigned __int8 *)&v17, (int)v15, 1059481190, 0, 2, 6, 0, 0, 1120403456, 0, 2, 1, 2, 0); std::string::~string((int)&v17); v17 = 0; v18 = 0; v19 = 0; std::string::__init(&v17, "MoveY", 5u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v14, -75.0, -75.0); cocos2d::CCPoint::operator+(v15, v13, v14); SetupTriggerPopup::createValueControlAdvanced( this, 239, (unsigned __int8 *)&v17, (int)v15, 1059481190, 0, 2, 6, 0, 0, 1128792064, 0, 2, 1, 2, 0); std::string::~string((int)&v17); v17 = 0; v18 = 0; v19 = 0; std::string::__init(&v17, "+-", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v14, 75.0, -75.0); cocos2d::CCPoint::operator+(v15, v13, v14); SetupTriggerPopup::createValueControlAdvanced( this, 240, (unsigned __int8 *)&v17, (int)v15, 1059481190, 0, 2, 6, 0, 0, 1128792064, 0, 2, 1, 2, 0); std::string::~string((int)&v17); SetupAreaMoveTriggerPopup::addAreaDefaultControls(this, 3006); (*((void (__fastcall **)(cocos2d::CCDictionary **))*this + 179))(this); SetupTriggerPopup::createPageButtons((SetupTriggerPopup *)this, (float)(*((float *)this + 139) * 0.5) + 15.0, 1u); SetupTriggerPopup::goToPage(this, nullptr, 0); v6 = cocos2d::CCDictionary::objectForKey(*(this + 154), 241); v7 = *this; if ( v6 ) { v8 = *((void (__fastcall **)(cocos2d::CCDictionary **, int, _DWORD))v7 + 182); if ( *(float *)(v6 + 52) == 0.0 ) v9 = 0.0; else v9 = 1.0; v8(this, 241, LODWORD(v9)); } else { (*((void (__fastcall **)(cocos2d::CCDictionary **, int, _DWORD))v7 + 169))(this, 1, 0); (*((void (__fastcall **)(cocos2d::CCDictionary **, int, _DWORD))*this + 169))(this, 2, 0); } *((_BYTE *)this + 568) = 0; } return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source