// // SetupCollisionTriggerPopup::onTargetPP from 0x140419540 to 0x140419625 (229 bytes) // // 4 xrefs: // > SetupCollisionTriggerPopup::init @ 0x14041912d // > @ 0x14069fe7c // > @ 0x14069fe8c // > @ 0x1406d9128 // // 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) { bool v3; // cl EffectGameObject *m_gameObject; // rax cocos2d::CCArray *m_gameObjects; // rcx unsigned int v6; // edi struct cocos2d::CCObject *v7; // rax _BOOL8 v8; // rdx _BOOL8 v9; // rdx 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 ) { v6 = 0; if ( cocos2d::CCArray::count(m_gameObjects) ) { do { v7 = cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, v6++); BYTE2(v7[30].m_uReference) = a1->m_targetPP; } while ( v6 < cocos2d::CCArray::count(a1->m_gameObjects) ); } } } SetupCollisionTriggerPopup::updateItemIDInputLabel(a1); SetupCollisionTriggerPopup::updateItemID2InputLabel(a1); if ( a1->m_targetP2 || a1->m_targetP1 || a1->m_targetPP ) v8 = 0; else LOBYTE(v8) = 1; a1->m_blockAInput->setTouchEnabled(a1->m_blockAInput, v8); LOBYTE(v9) = !a1->m_targetPP; a1->m_blockBInput->setTouchEnabled(a1->m_blockBInput, v9); }
GD Web Decomp Icon

GD Web Decomp

Raw Source