// // SetupCollisionTriggerPopup::onTargetPP from 0x1003968f0 to 0x1003969c8 (216 bytes) // // 1 xrefs: // > SetupCollisionTriggerPopup::init @ 0x100395f37 // // 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; // al EffectGameObject *m_gameObject; // rcx bool v5; // al cocos2d::CCArray *m_gameObjects; // rdi unsigned int v7; // r14d 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_100720070(m_gameObjects) ) { v7 = 0; do *(_BYTE *)(sub_1007200C0(a1->m_gameObjects, v7++) + 1686) = a1->m_targetPP; while ( v7 < (unsigned int)sub_100720070(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