// // SetupAreaTransformTriggerPopup::init from 0x14040e0e0 to 0x14040e992 (2226 bytes) // // 2 xrefs: // > EditorUI::editObject @ 0x14011c84b // > @ 0x1406d8c18 // // 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 // // Hidden C++ exception states: #wind=3 bool SetupAreaTransformTriggerPopup::init( SetupAreaTransformTriggerPopup *a1, EnterEffectObject *a2, cocos2d::CCArray *a3) { bool result; // al _QWORD *v5; // r8 _OWORD *v6; // rcx const char *v7; // rax __int64 v8; // rdx double v9; // xmm0_8 __int64 v10; // rcx cocos2d::CCDirector *v11; // rax int v12; // r8d char v13; // [rsp+80h] [rbp-88h] __int64 v14; // [rsp+80h] [rbp-88h] __int64 v15; // [rsp+80h] [rbp-88h] __int64 v16; // [rsp+80h] [rbp-88h] __int64 v17; // [rsp+80h] [rbp-88h] __int64 v18; // [rsp+80h] [rbp-88h] __int64 v19; // [rsp+80h] [rbp-88h] __int64 v20; // [rsp+80h] [rbp-88h] float v21; // [rsp+88h] [rbp-80h] _QWORD v22[2]; // [rsp+90h] [rbp-78h] BYREF __int128 *v23; // [rsp+A0h] [rbp-68h] __int128 v24; // [rsp+A8h] [rbp-60h] BYREF __int64 v25; // [rsp+B8h] [rbp-50h] __int64 v26; // [rsp+C0h] [rbp-48h] __int128 v27; // [rsp+C8h] [rbp-40h] BYREF __int64 v28; // [rsp+D8h] [rbp-30h] __int64 v29; // [rsp+E0h] [rbp-28h] char v30; // [rsp+170h] [rbp+68h] BYREF result = SetupTriggerPopup::init(a1, a2, a3, 420.0, 280.0, 1); if ( result ) { a1->determineStartValues(a1); v24 = 0; *(_QWORD *)&v24 = sub_14003AA10(0x20u); v25 = 22; v26 = 31; strcpy((char *)v24, "Area Transform Trigger"); SetupTriggerPopup::addTitle(a1, &v24); v24 = 0; v25 = 2; v26 = 15; strcpy((char *)&v24, "OK"); SetupTriggerPopup::addCloseButton(a1, &v24); v22[0] = &v24; v24 = 0; v25 = 0; v26 = 15; v5 = sub_14003AA10(0x140u); *(_QWORD *)&v24 = v5; v25 = 312; v26 = 319; v6 = v5; v7 = "Scales objects using Target Group ID within an area around Center Group ID. The area can be spe" "cified 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."; v8 = 2; do { *v6 = *(_OWORD *)v7; v6[1] = *((_OWORD *)v7 + 1); v6[2] = *((_OWORD *)v7 + 2); v6[3] = *((_OWORD *)v7 + 3); v6[4] = *((_OWORD *)v7 + 4); v6[5] = *((_OWORD *)v7 + 5); v6[6] = *((_OWORD *)v7 + 6); v6 += 8; *(v6 - 1) = *((_OWORD *)v7 + 7); v7 += 128; --v8; } while ( v8 ); *v6 = *(_OWORD *)v7; v6[1] = *((_OWORD *)v7 + 1); v6[2] = *((_OWORD *)v7 + 2); *((_QWORD *)v6 + 6) = *((_QWORD *)v7 + 6); *((_BYTE *)v5 + 312) = 0; v27 = 0; v28 = 4; v29 = 15; strcpy((char *)&v27, "Help"); v9 = SetupTriggerPopup::addHelpButton(a1, &v27, &v24); SetupTriggerPopup::createMultiTriggerItemsDefaultHorizontal(a1); v11 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v10); cocos2d::CCDirector::getWinSize(v11); cocos2d::CCPoint::CCPoint(*(float *)&v9, v21 * 0.5); v22[1] = &v24; v24 = 0; v25 = 6; v26 = 15; strcpy((char *)&v24, "Length"); cocos2d::CCPoint::CCPoint(0.0, -75.0); cocos2d::CCPoint::operator+(&v30, v22); v13 = 0; SetupTriggerPopup::createValueControlAdvanced( (_DWORD)a1, 222, (unsigned int)&v24, (unsigned int)v22, 1059481190, 0, 2, 6, 0, 0, 1120403456, 0, 0, 1, 2, v13); v23 = &v27; v27 = 0; v28 = 2; v29 = 15; strcpy((char *)&v27, "+-"); cocos2d::CCPoint::CCPoint(0.0, 75.0); cocos2d::CCPoint::operator+(&v30, v22); LOBYTE(v14) = 0; SetupTriggerPopup::createValueControlAdvanced( (_DWORD)a1, 223, (unsigned int)&v27, (unsigned int)v22, 1059481190, 0, 2, 6, 0, 0, 1120403456, 0, 0, 1, 2, v14); v23 = &v24; v24 = 0; v25 = 6; v26 = 15; strcpy((char *)&v24, "Offset"); cocos2d::CCPoint::CCPoint(0.0, -75.0); cocos2d::CCPoint::operator+(&v30, v22); LOBYTE(v15) = 0; SetupTriggerPopup::createValueControlAdvanced( (_DWORD)a1, 220, (unsigned int)&v24, (unsigned int)v22, 1059481190, 0, 2, 6, 0, -1027080192, 1120403456, 0, 0, 1, 2, v15); v23 = &v27; v27 = 0; v28 = 2; v29 = 15; strcpy((char *)&v27, "+-"); cocos2d::CCPoint::CCPoint(0.0, 75.0); cocos2d::CCPoint::operator+(&v30, v22); LOBYTE(v16) = 0; SetupTriggerPopup::createValueControlAdvanced( (_DWORD)a1, 221, (unsigned int)&v27, (unsigned int)v22, 1059481190, 0, 2, 6, 0, -1027080192, 1120403456, 0, 0, 1, 2, v16); v23 = &v24; v24 = 0; v25 = 6; v26 = 15; strcpy((char *)&v24, "ScaleX"); cocos2d::CCPoint::CCPoint(0.0, -75.0); cocos2d::CCPoint::operator+(&v30, v22); LOBYTE(v17) = 0; SetupTriggerPopup::createValueControlAdvanced( (_DWORD)a1, 233, (unsigned int)&v24, (unsigned int)v22, 1059481190, 0, 1, 6, 0, 0, 1082130432, 0, 0, 1, 2, v17); v23 = &v27; v27 = 0; v28 = 2; v29 = 15; strcpy((char *)&v27, "+-"); cocos2d::CCPoint::CCPoint(0.0, 75.0); cocos2d::CCPoint::operator+(&v30, v22); LOBYTE(v18) = 0; SetupTriggerPopup::createValueControlAdvanced( (_DWORD)a1, 234, (unsigned int)&v27, (unsigned int)v22, 1059481190, 0, 1, 6, 0, 0, 1082130432, 0, 0, 1, 2, v18); v23 = &v24; v24 = 0; v25 = 6; v26 = 15; strcpy((char *)&v24, "ScaleY"); cocos2d::CCPoint::CCPoint(0.0, -75.0); cocos2d::CCPoint::operator+(&v30, v22); LOBYTE(v19) = 0; SetupTriggerPopup::createValueControlAdvanced( (_DWORD)a1, 235, (unsigned int)&v24, (unsigned int)v22, 1059481190, 0, 1, 6, 0, 0, 1082130432, 0, 0, 1, 2, v19); v23 = &v27; v27 = 0; v28 = 2; v29 = 15; strcpy((char *)&v27, "+-"); cocos2d::CCPoint::CCPoint(0.0, 75.0); cocos2d::CCPoint::operator+(&v30, v22); LOBYTE(v20) = 0; SetupTriggerPopup::createValueControlAdvanced( (_DWORD)a1, 236, (unsigned int)&v27, (unsigned int)v22, 1059481190, 0, 1, 6, 0, 0, 1082130432, 0, 0, 1, 2, v20); SetupAreaMoveTriggerPopup::addAreaDefaultControls(a1, 3008); a1->updateDefaultTriggerValues(a1); SetupTriggerPopup::createPageButtons(a1, (float)(a1->m_width * 0.5) + 15.0, v12); SetupTriggerPopup::goToPage(a1, 0, 0); a1->m_disableTextDelegate = 0; return 1; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source