//
// MessagesProfilePage::onSentMessages from 0x8f3cc0 to 0x8f3d50 (144 bytes)
//
// 3 xrefs:
// > ??> @ 0x38490
// > MessagesProfilePage::init @ 0x8f3a94
// > ??> @ 0x1229bd0
//
// 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 MessagesProfilePage::onSentMessages(MessagesProfilePage *a1, cocos2d::CCObject *a2)
{
cocos2d::CCDirector *v3; // x0
cocos2d::CCTouchDispatcher *v4; // x0
cocos2d::CCDirector *v5; // x0
cocos2d::CCTouchDispatcher *v6; // x0
MessagesProfilePage *v7; // x0
if ( a1->m_listLayer )
{
v3 = cocos2d::CCDirector::sharedDirector();
v4 = v3->getTouchDispatcher(v3);
cocos2d::CCTouchDispatcher::unregisterForcePrio(v4, a1->m_listLayer);
}
v5 = cocos2d::CCDirector::sharedDirector();
v6 = v5->getTouchDispatcher(v5);
cocos2d::CCTouchDispatcher::unregisterForcePrio(v6, a1);
v7 = MessagesProfilePage::create((bool)&dword_0 + 1);
v7->show(v7);
a1->setKeypadEnabled(a1, 0);
a1->removeFromParentAndCleanup(a1, 1);
}