// // SetupAreaTransformTriggerPopup::init from 0xb40004 to 0xb407a8 (1956 bytes) // // 2 xrefs: // > SetupAreaTransformTriggerPopup::create @ 0xb409ec // > @ 0x50b90 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 13:01:51 +0000 // __int64 __fastcall SetupAreaTransformTriggerPopup::init( SetupAreaTransformTriggerPopup *this, EnterEffectObject *a2, cocos2d::CCArray *a3) { unsigned __int8 v4; // w0 unsigned int v5; // w25 __int64 v7; // x2 __int64 v8; // x3 __int64 v9; // x4 __int64 v10; // x5 const char *v11; // x6 cocos2d::CCDirector *MultiTriggerItemsDefaultHorizontal; // x0 cocos2d::CCDirector *v13; // x0 __int64 v14; // [xsp+B8h] [xbp+88h] BYREF _BYTE v15[8]; // [xsp+C0h] [xbp+90h] BYREF _BYTE v16[8]; // [xsp+C8h] [xbp+98h] BYREF __int64 v17; // [xsp+D0h] [xbp+A0h] BYREF __int64 v18[2]; // [xsp+D8h] [xbp+A8h] BYREF void *v19; // [xsp+E8h] [xbp+B8h] __int64 v20; // [xsp+F0h] [xbp+C0h] BYREF __int64 v21; // [xsp+F8h] [xbp+C8h] void *v22; // [xsp+100h] [xbp+D0h] v4 = SetupTriggerPopup::init(this, a2, a3, 420.0, 280.0, 1u, 0.0); v5 = v4; if ( v4 ) { (*(void (__fastcall **)(SetupAreaTransformTriggerPopup *))(*(_QWORD *)this + 1360LL))(this); v20 = 0; v21 = 0; v22 = nullptr; std::string::__init(&v20, "Area Transform Trigger", 0x16u); SetupTriggerPopup::addTitle((__int64)this, (__int64)&v20); if ( (v20 & 1) != 0 ) operator delete(v22); v20 = 0; v21 = 0; v22 = nullptr; std::string::__init(&v20, "OK", 2u); SetupTriggerPopup::addCloseButton((__int64)this, (__int64)&v20, v7, v8, v9, v10, v11); if ( (v20 & 1) != 0 ) operator delete(v22); v18[0] = 0; v18[1] = 0; v19 = nullptr; std::string::__init(v18, "Help", 4u); v20 = 0; v21 = 0; v22 = nullptr; std::string::__init( &v20, "Scales objects using Target Group ID within an area around Center Group ID. The area can be specif" "ied by the arrow buttons and Length (for size).\n" "You can specify how much the objects in the area scale depending on how close they are to the center.\n" "Check the other pages for more settings.", 0x138u); SetupTriggerPopup::addHelpButton((__int64)this, (char *)v18, (char *)&v20, 1.0); if ( (v20 & 1) != 0 ) operator delete(v22); if ( (v18[0] & 1) != 0 ) operator delete(v19); MultiTriggerItemsDefaultHorizontal = (cocos2d::CCDirector *)SetupTriggerPopup::createMultiTriggerItemsDefaultHorizontal(this); v13 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(MultiTriggerItemsDefaultHorizontal); cocos2d::CCDirector::getWinSize(&v14, v13); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v15, *(float *)&v14 * 0.5, (float)(*((float *)&v14 + 1) * 0.5) + 95.0); v20 = 0; v21 = 0; v22 = nullptr; std::string::__init(&v20, "Length", 6u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v16, -75.0, 0.0); cocos2d::CCPoint::operator+(&v17, v15); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 222, (char *)&v20, (__int64)&v17, 0, 2, 6, 0, 0.65, 0.0, 100.0, 0, 0, 1, 2, 0); if ( (v20 & 1) != 0 ) operator delete(v22); v20 = 0; v21 = 0; v22 = nullptr; std::string::__init(&v20, "+-", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v16, 75.0, 0.0); cocos2d::CCPoint::operator+(&v17, v15); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 223, (char *)&v20, (__int64)&v17, 0, 2, 6, 0, 0.65, 0.0, 100.0, 0, 0, 1, 2, 0); if ( (v20 & 1) != 0 ) operator delete(v22); v20 = 0; v21 = 0; v22 = nullptr; std::string::__init(&v20, "Offset", 6u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v16, -75.0, -25.0); cocos2d::CCPoint::operator+(&v17, v15); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 220, (char *)&v20, (__int64)&v17, 0, 2, 6, 0, 0.65, -100.0, 100.0, 0, 0, 1, 2, 0); if ( (v20 & 1) != 0 ) operator delete(v22); v20 = 0; v21 = 0; v22 = nullptr; std::string::__init(&v20, "+-", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v16, 75.0, -25.0); cocos2d::CCPoint::operator+(&v17, v15); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 221, (char *)&v20, (__int64)&v17, 0, 2, 6, 0, 0.65, -100.0, 100.0, 0, 0, 1, 2, 0); if ( (v20 & 1) != 0 ) operator delete(v22); v20 = 0; v21 = 0; v22 = nullptr; std::string::__init(&v20, "ScaleX", 6u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v16, -75.0, -50.0); cocos2d::CCPoint::operator+(&v17, v15); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 233, (char *)&v20, (__int64)&v17, 0, 1, 6, 0, 0.65, 0.0, 4.0, 0, 0, 1, 2, 0); if ( (v20 & 1) != 0 ) operator delete(v22); v20 = 0; v21 = 0; v22 = nullptr; std::string::__init(&v20, "+-", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v16, 75.0, -50.0); cocos2d::CCPoint::operator+(&v17, v15); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 234, (char *)&v20, (__int64)&v17, 0, 1, 6, 0, 0.65, 0.0, 4.0, 0, 0, 1, 2, 0); if ( (v20 & 1) != 0 ) operator delete(v22); v20 = 0; v21 = 0; v22 = nullptr; std::string::__init(&v20, "ScaleY", 6u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v16, -75.0, -75.0); cocos2d::CCPoint::operator+(&v17, v15); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 235, (char *)&v20, (__int64)&v17, 0, 1, 6, 0, 0.65, 0.0, 4.0, 0, 0, 1, 2, 0); if ( (v20 & 1) != 0 ) operator delete(v22); v20 = 0; v21 = 0; v22 = nullptr; std::string::__init(&v20, "+-", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v16, 75.0, -75.0); cocos2d::CCPoint::operator+(&v17, v15); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCArray **)this, 236, (char *)&v20, (__int64)&v17, 0, 1, 6, 0, 0.65, 0.0, 4.0, 0, 0, 1, 2, 0); if ( (v20 & 1) != 0 ) operator delete(v22); SetupAreaMoveTriggerPopup::addAreaDefaultControls((cocos2d::CCArray **)this, 3008); (*(void (__fastcall **)(SetupAreaTransformTriggerPopup *))(*(_QWORD *)this + 1432LL))(this); SetupTriggerPopup::createPageButtons(this, (float)(*((float *)this + 183) * 0.5) + 15.0, 1); SetupTriggerPopup::goToPage((cocos2d::CCArray **)this, 0, 0); *((_BYTE *)this + 744) = 0; } return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source