// // SetupTriggerPopup::valueChanged from 0x10012fd3c to 0x10013087c (2880 bytes) // // 20 xrefs: // > SetupTeleportPopup::onTeleportGravity @ 0x10000c1bc // > SetupAreaMoveTriggerPopup::onSpecialTarget @ 0x100035e54 // > SetupAreaMoveTriggerPopup::onMode @ 0x100035f3c // > SetupAreaMoveTriggerPopup::onMode @ 0x100035f4c // > SetupAreaMoveTriggerPopup::onMode @ 0x100035f5c // > SetupAdvFollowPopup::valueDidChange @ 0x100062cb0 // > SetupAdvFollowRetargetPopup::valueDidChange @ 0x100064afc // > SetupTriggerPopup::textChanged @ 0x10012fcfc // > SetupTriggerPopup::triggerSliderChanged @ 0x100130c84 // > SetupTriggerPopup::triggerArrowChanged @ 0x100130dd0 // > SetupTriggerPopup::updateValue @ 0x100131aa0 // > SetupTriggerPopup::onToggleTriggerValue @ 0x100131f54 // > SetupTriggerPopup::onEase @ 0x1001340c0 // > SetupTriggerPopup::valuePopupClosed @ 0x100134394 // > SetupTriggerPopup::valuePopupClosed @ 0x1001343c0 // > SetupTriggerPopup::onCustomEaseArrow @ 0x100134fd8 // > SetupShaderEffectPopup::onZLayer @ 0x100189c1c // > SetupShaderEffectPopup::onZLayer @ 0x100189c58 // > SetupShaderEffectPopup::valueDidChange @ 0x100189f18 // > SetupKeyframePopup::onTimeMode @ 0x1001b578c // // 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 // // local variable allocation has failed, the output may be wrong! void __fastcall SetupTriggerPopup::valueChanged(SetupTriggerPopup *a1, int a2, float a3) { __int64 v4; // x19 cocos2d::CCArray *m_gameObjects; // x21 __int64 v7; // x22 __int64 v8; // x26 float v9; // s0 int v10; // [xsp+0h] [xbp-70h] BYREF int *v11; // [xsp+8h] [xbp-68h] BYREF v4 = *(_QWORD *)&a2; if ( a1->m_gameObject ) { m_gameObjects = (cocos2d::CCArray *)sub_10024A15C(a1); sub_10024A2D0(m_gameObjects, a1->m_gameObject); if ( !m_gameObjects ) goto LABEL_11; } else { m_gameObjects = a1->m_gameObjects; if ( !m_gameObjects ) goto LABEL_11; } if ( (unsigned int)sub_10024A36C(m_gameObjects) && (unsigned int)sub_10024A36C(m_gameObjects) ) { v7 = 0; v8 = (unsigned int)(v4 - 10); do { sub_10024A388(m_gameObjects, v7); if ( (unsigned int)v8 <= 0x24D ) __asm { BR X8 } v7 = (unsigned int)(v7 + 1); } while ( (unsigned int)v7 < (unsigned int)sub_10024A36C(m_gameObjects) ); } LABEL_11: v10 = v4; v11 = &v10; if ( *((_BYTE *)sub_1000FE7D8((__int64)&a1->m_shouldLimitValues, &v10, (__int64)&unk_100637F00, &v11) + 32) == 1 && (cocos2d::CCDictionary::objectForKey(a1->m_minSliderValues, (int)v4) && (v9 = *(float *)&cocos2d::CCDictionary::objectForKey(a1->m_minSliderValues, (int)v4)[1].__vftable, v9 > a3) || cocos2d::CCDictionary::objectForKey(a1->m_maxSliderValues, (int)v4) && (v9 = *(float *)&cocos2d::CCDictionary::objectForKey(a1->m_maxSliderValues, (int)v4)[1].__vftable, v9 < a3)) ) { SetupTriggerPopup::updateValue(a1, v4, v9); } else { ((void (__fastcall *)(SetupTriggerPopup *, __int64, float))a1->valueDidChange)(a1, v4, a3); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source