// // SetupTriggerPopup::init from 0x9e3f54 to 0x9e4228 (724 bytes) // // 98 xrefs: // > ColorSelectPopup::init @ 0x73d25c // > GJRateLevelLayer::init @ 0x822b68 // > CustomizeObjectSettingsPopup::init @ 0x844234 // > UIPOptionsLayer::init @ 0x8c5e5c // > EditTriggersPopup::init @ 0x8c73ac // > SetupEnterTriggerPopup::init @ 0x8c7910 // > GJOptionsLayer::init @ 0x8c911c // > EditGameObjectPopup::init @ 0x8d12dc // > UIOptionsLayer::init @ 0x8d6354 // > UISaveLoadLayer::init @ 0x8d8ee4 // > SetupMoveCommandPopup::init @ 0x8e4638 // > SetupOpacityPopup::init @ 0x8e7d38 // > SetupObjectTogglePopup::init @ 0x8e9328 // > SetupSpawnPopup::init @ 0x8eae7c // > SetupPulsePopup::init @ 0x8ee9e8 // > GJFollowCommandLayer::init @ 0x92088c // > GJPFollowCommandLayer::init @ 0x923078 // > GJRotateCommandLayer::init @ 0x926654 // > SetupRotateCommandPopup::init @ 0x928e74 // > SetItemIDLayer::init @ 0x94b940 // > SetTargetIDLayer::init @ 0x94c6bc // > SetupAnimationPopup::init @ 0x94d3a4 // > SetupAnimSettingsPopup::init @ 0x94e70c // > SetupCollisionTriggerPopup::init @ 0x94ff60 // > SetupInstantCollisionTriggerPopup::init @ 0x951478 // > SetupCollisionStateTriggerPopup::init @ 0x95246c // > SetupCountTriggerPopup::init @ 0x953264 // > SetupInteractObjectPopup::init @ 0x954af0 // > SetupInstantCountPopup::init @ 0x95604c // > SetupPickupTriggerPopup::init @ 0x957824 // > SetupRotatePopup::init @ 0x958714 // > SetupShakePopup::init @ 0x9597e4 // > SetupTouchTogglePopup::init @ 0x95ade0 // > SetupCameraOffsetTrigger::init @ 0x967d34 // > SetupStaticCameraPopup::init @ 0x96ade0 // > SetupZoomTriggerPopup::init @ 0x96bc68 // > SetupRandTriggerPopup::init @ 0x96cbd0 // > SetupEndPopup::init @ 0x96e42c // > SetupPlatformerEndPopup::init @ 0x96f2e8 // > SetupObjectOptions2Popup::init @ 0x97c280 // > SetupTransformPopup::init @ 0x9a8968 // > SetupSongTriggerPopup::init @ 0x9a9ff4 // > SetupTimeWarpPopup::init @ 0x9ab04c // > SetupCameraRotatePopup::init @ 0x9ac40c // > SetupCameraRotatePopup2::init @ 0x9adc58 // > SetupRandAdvTriggerPopup::init @ 0x9afa40 // > SetupOptionsTriggerPopup::init @ 0x9e26bc // > SetupTriggerPopup::create @ 0x9e43dc // > SetupCameraEdgePopup::init @ 0x9ee06c // > SetupRotateGameplayPopup::init @ 0x9ef580 // > SetupGameplayOffsetPopup::init @ 0x9f03ec // > SetupTeleportPopup::init @ 0x9f12dc // > SetupGradientPopup::init @ 0x9fa420 // > SetupShaderEffectPopup::init @ 0xa08480 // > SetupAreaMoveTriggerPopup::init @ 0xa0b2a0 // > SetupAreaTransformTriggerPopup::init @ 0xa0c748 // > SetupAreaRotateTriggerPopup::init @ 0xa0d430 // > SetupAreaFadeTriggerPopup::init @ 0xa0df78 // > SetupAreaTintTriggerPopup::init @ 0xa0eb84 // > SetupAreaTriggerPopup::init @ 0xa0fa0c // > SetupAreaAnimTriggerPopup::init @ 0xa10620 // > SetupEnterEffectPopup::init @ 0xa1325c // > SetupCameraModePopup::init @ 0xa16480 // > SetupAdvFollowPopup::init @ 0xa18544 // > SetupAdvFollowEditPhysicsPopup::init @ 0xa1d390 // > SetupAdvFollowRetargetPopup::init @ 0xa1e5ec // > SetupMGTrigger::init @ 0xa1fcd8 // > SetupBGSpeedTrigger::init @ 0xa21580 // > SetupGravityTriggerPopup::init @ 0xa21f74 // > SetupKeyframeAnimPopup::init @ 0xa3a404 // > SetupKeyframePopup::init @ 0xa3b344 // > SetupReverbPopup::init @ 0xa3f3f0 // > SetupSFXPopup::init @ 0xa40284 // > SetupSFXEditPopup::init @ 0xa419f8 // > SetupEventLinkPopup::init @ 0xa441c0 // > SetupPlayerControlPopup::init @ 0xa44bf4 // > SetupSpawnParticlePopup::init @ 0xa45624 // > SetupCheckpointPopup::init @ 0xa46584 // > MultiTriggerPopup::init @ 0xa46e94 // > UIObjectSettingsPopup::init @ 0xa474b4 // > SetupResetTriggerPopup::init @ 0xa485a8 // > SetupItemEditTriggerPopup::init @ 0xa4a524 // > SetupItemCompareTriggerPopup::init @ 0xa4cc60 // > SetupCoinLayer::init @ 0xa4e55c // > SetupPersistentItemTriggerPopup::init @ 0xa4eca0 // > SetupAudioLineGuidePopup::init @ 0xa4f640 // > SetupCameraGuidePopup::init @ 0xa50130 // > SetupForceBlockPopup::init @ 0xa50a98 // > SetupArtSwitchPopup::init @ 0xa5176c // > SetupStopTriggerPopup::init @ 0xa5202c // > SetupObjectControlPopup::init @ 0xa52b64 // > SetupDashRingPopup::init @ 0xa531e4 // > SelectEventLayer::init @ 0xa54b60 // > SetupSequenceTriggerPopup::init @ 0xa58a50 // > SetupTimerTriggerPopup::init @ 0xa7b5f0 // > SetupTimerEventTriggerPopup::init @ 0xa7c30c // > SetupTimerControlTriggerPopup::init @ 0xa7cc2c // > @ 0xc9288 // // 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 SetupTriggerPopup::init( SetupTriggerPopup *a1, EffectGameObject *a2, cocos2d::CCArray *a3, float a4, float a5, int a6) { cocos2d::CCArray *v12; // x0 bool v13; // w23 cocos2d::CCArray *v15; // x0 cocos2d::CCArray *v16; // x0 cocos2d::CCArray *v17; // x0 cocos2d::CCDictionary *v18; // x0 cocos2d::CCDictionary *v19; // x0 cocos2d::CCDictionary *v20; // x0 cocos2d::CCDictionary *v21; // x0 cocos2d::CCDictionary *v22; // x0 cocos2d::CCDictionary *v23; // x0 cocos2d::CCDictionary *v24; // x0 cocos2d::CCDictionary *v25; // x0 cocos2d::CCDictionary *v26; // x0 cocos2d::CCDictionary *v27; // x0 cocos2d::CCDictionary *v28; // x0 cocos2d::CCDictionary *v29; // x0 cocos2d::CCDictionary *v30; // x0 cocos2d::CCDictionary *v31; // x0 cocos2d::CCDirector *v32; // x0 cocos2d::CCString *v33; // x0 cocos2d::extension::CCScale9Sprite *CString; // x22 cocos2d::CCNode *v35; // x22 void (__fastcall *setContentSize)(cocos2d::CCNode *__hidden, const cocos2d::CCSize *); // x24 void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x24 cocos2d::CCMenu *v38; // x0 cocos2d::CCMenu *m_buttonMenu; // x22 void (__fastcall *v40)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x24 cocos2d::CCArray *v41; // x0 double v42; // d0 double v43; // d1 float v44; // [xsp+60h] [xbp+60h] float v45; // [xsp+64h] [xbp+64h] cocos2d::CCRect v46; // [xsp+68h] [xbp+68h] BYREF cocos2d::CCSize WinSize; // 0:kr00_8.8 cocos2d::CCRect v48; // 0:s0.4,4:s1.4,8:s2.4,12:s3.4 v12 = (cocos2d::CCArray *)(unsigned __int8)FLAlertLayer::init(a1, 0x96u); v13 = (char)v12; if ( (_BYTE)v12 ) { v15 = (cocos2d::CCArray *)cocos2d::CCArray::create(v12); a1->m_pageContainers = v15; cocos2d::CCObject::retain(v15); v17 = (cocos2d::CCArray *)cocos2d::CCArray::create(v16); a1->m_groupContainers = v17; cocos2d::CCObject::retain(v17); v18 = cocos2d::CCDictionary::create(); a1->m_inputNodes = v18; cocos2d::CCObject::retain(v18); v19 = cocos2d::CCDictionary::create(); a1->m_valueControls = v19; cocos2d::CCObject::retain(v19); v20 = cocos2d::CCDictionary::create(); a1->m_valueToggles = v20; cocos2d::CCObject::retain(v20); v21 = cocos2d::CCDictionary::create(); a1->m_customValueToggles = v21; cocos2d::CCObject::retain(v21); v22 = cocos2d::CCDictionary::create(); a1->m_inputLabels = v22; cocos2d::CCObject::retain(v22); v23 = cocos2d::CCDictionary::create(); a1->m_triggerValues = v23; cocos2d::CCObject::retain(v23); v24 = cocos2d::CCDictionary::create(); a1->m_minSliderValues = v24; cocos2d::CCObject::retain(v24); v25 = cocos2d::CCDictionary::create(); a1->m_maxSliderValues = v25; cocos2d::CCObject::retain(v25); v26 = cocos2d::CCDictionary::create(); a1->m_customEasingLabels = v26; cocos2d::CCObject::retain(v26); v27 = cocos2d::CCDictionary::create(); a1->m_customEasingButtons = v27; cocos2d::CCObject::retain(v27); v28 = cocos2d::CCDictionary::create(); a1->m_customEasingTags = v28; cocos2d::CCObject::retain(v28); v29 = cocos2d::CCDictionary::create(); a1->m_customEasingScales = v29; cocos2d::CCObject::retain(v29); v30 = cocos2d::CCDictionary::create(); a1->m_disabledEasingButtons = v30; cocos2d::CCObject::retain(v30); v31 = cocos2d::CCDictionary::create(); a1->m_disableButtons = v31; cocos2d::CCObject::retain(v31); if ( a2 ) { a1->m_gameObject = a2; cocos2d::CCObject::retain(a2); } else if ( a3 ) { a1->m_gameObjects = a3; cocos2d::CCObject::retain(a3); } a1->m_noElasticity = (unsigned __int8)&dword_0 + 1; a1->m_disableTextDelegate = (unsigned __int8)&dword_0 + 1; a1->m_width = a4; a1->m_height = a5; v32 = cocos2d::CCDirector::sharedDirector(); WinSize = cocos2d::CCDirector::getWinSize(v32); *(float *)&v42 = WinSize.width; *(float *)&v43 = WinSize.height; v33 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"GJ_square0%i.png", (const char *)(unsigned int)a6, v42, v43); CString = (cocos2d::extension::CCScale9Sprite *)cocos2d::CCString::getCString(v33); cocos2d::CCRect::CCRect(&v46, 0.0, 0.0, 80.0, 80.0); v35 = (cocos2d::CCNode *)cocos2d::extension::CCScale9Sprite::create(CString, (const char *)&v46, v48); setContentSize = v35->setContentSize; cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v46, a4, a5); setContentSize(v35, (const cocos2d::CCSize *)&v46); a1->m_mainLayer->addChild_0(a1->m_mainLayer, v35, -2); setPosition = v35->setPosition; cocos2d::CCPoint::CCPoint(&v46.origin, v44 * 0.5, v45 * 0.5); setPosition(v35, &v46.origin); v35->setTag(v35, 1); v38 = cocos2d::CCMenu::create(); a1->m_buttonMenu = v38; a1->m_mainLayer->addChild_0(a1->m_mainLayer, v38, 10); m_buttonMenu = a1->m_buttonMenu; v40 = m_buttonMenu->setPosition; cocos2d::CCPoint::CCPoint(&v46.origin, v44 * 0.5, 24.0 - (float)((float)(a5 * 0.5) - (float)(v45 * 0.5))); v40(m_buttonMenu, &v46.origin); a1->m_joystickConnected = -1; v41 = (cocos2d::CCArray *)cocos2d::CCArray::create((cocos2d::CCArray *)0xFFFFFFFFLL); a1->m_multiTriggerContainer = v41; cocos2d::CCObject::retain(v41); } return v13; }
GD Web Decomp Icon

GD Web Decomp

Raw Source