//
// GJMapObject::touchMonster from 0x97e5e8 to 0x97e690 (168 bytes)
//
// 2 xrefs:
// > MapSelectLayer::checkTouchMonster @ 0x97ed84
// > ??> @ 0xbb0c8
//
// 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 GJMapObject::touchMonster(GJMapObject *a1)
{
int v1; // w1
cocos2d::CCSequence *v3; // x20
cocos2d::CCTintTo *v4; // x0
cocos2d::CCAction *v5; // x20
v1 = a1->m_monstersTouched + 1;
a1->m_monstersTouched = v1;
if ( v1 <= 9 )
{
cocos2d::CCNode::stopActionByTag(*(cocos2d::CCNode **)&a1->m_mainNode[4].m_sInverse.b, 2);
v3 = (cocos2d::CCSequence *)cocos2d::CCTintTo::create(0.05, 0xFFu, 0, 0);
v4 = cocos2d::CCTintTo::create(0.5, 0, 0, 0);
v5 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v3, v4, 0);
v5->setTag(v5, 2);
cocos2d::CCNode::runAction(*(cocos2d::CCNode **)&a1->m_mainNode[4].m_sInverse.b, v5);
}
}