// // SetupCollisionTriggerPopup::onTargetPP from 0x1002305f8 to 0x1002306cc (212 bytes) // // 1 xrefs: // > SetupCollisionTriggerPopup::init @ 0x10022ff64 // // 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 // void __fastcall SetupCollisionTriggerPopup::onTargetPP(SetupCollisionTriggerPopup *a1, cocos2d::CCObject *a2) { bool v3; // w8 EffectGameObject *m_gameObject; // x9 bool v5; // w8 cocos2d::CCArray *m_gameObjects; // x0 __int64 v7; // x20 v3 = !a1->m_targetPP; a1->m_targetPP = v3; m_gameObject = a1->m_gameObject; if ( m_gameObject ) { m_gameObject->m_followCPP = v3; } else { m_gameObjects = a1->m_gameObjects; if ( m_gameObjects && (unsigned int)sub_10024A36C(m_gameObjects) ) { v7 = 0; do { *(_BYTE *)(sub_10024A388(a1->m_gameObjects, v7) + 1686) = a1->m_targetPP; v7 = (unsigned int)(v7 + 1); } while ( (unsigned int)v7 < (unsigned int)sub_10024A36C(a1->m_gameObjects) ); } } SetupCollisionTriggerPopup::updateItemIDInputLabel(a1); SetupCollisionTriggerPopup::updateItemID2InputLabel(a1); v5 = !a1->m_targetP2 && !a1->m_targetP1 && !a1->m_targetPP; ((void (__fastcall *)(CCTextInputNode *, bool))a1->m_blockAInput->setTouchEnabled)(a1->m_blockAInput, v5); ((void (__fastcall *)(CCTextInputNode *, bool))a1->m_blockBInput->setTouchEnabled)(a1->m_blockBInput, !a1->m_targetPP); }
GD Web Decomp Icon

GD Web Decomp

Raw Source