// // SetupCollisionTriggerPopup::onTargetPP from 0x4f4734 to 0x4f47c0 (140 bytes) // // 0 xrefs: // // 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 SetupCollisionTriggerPopup::onTargetPP(SetupCollisionTriggerPopup *a1, cocos2d::CCObject *a2) { EffectGameObject *m_gameObject; // r5 bool v4; // r3 int v5; // r0 m_gameObject = a1->m_gameObject; v4 = !a1->m_targetPP; a1->m_targetPP = v4; if ( m_gameObject ) { m_gameObject->m_followCPP = v4; } else if ( a1->m_gameObjects ) { while ( (unsigned int)m_gameObject < cocos2d::CCArray::count(a1->m_gameObjects) ) { v5 = cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, (unsigned int)m_gameObject); m_gameObject = (EffectGameObject *)((char *)m_gameObject + 1); *(_BYTE *)(v5 + 1498) = a1->m_targetPP; } } SetupCollisionTriggerPopup::updateItemIDInputLabel(a1); SetupCollisionTriggerPopup::updateItemID2InputLabel(a1); ((void (__fastcall *)(CCTextInputNode *))a1->m_blockAInput->setTouchEnabled)(a1->m_blockAInput); a1->m_blockBInput->setTouchEnabled(a1->m_blockBInput, !a1->m_targetPP); }
GD Web Decomp Icon

GD Web Decomp

Raw Source