//
// FriendsProfilePage::onBlocked from 0x1001d94a0 to 0x1001d952c (140 bytes)
//
// 1 xrefs:
// > FriendsProfilePage::init @ 0x1001d9120
//
// 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 FriendsProfilePage::onBlocked(FriendsProfilePage *a1, cocos2d::CCObject *a2)
{
cocos2d::CCDirector *v3; // x0
cocos2d::CCTouchDispatcher *v4; // x0
cocos2d::CCDirector *v5; // x0
cocos2d::CCTouchDispatcher *v6; // x0
FriendsProfilePage *v7; // x0
if ( a1->m_listLayer )
{
v3 = cocos2d::CCDirector::sharedDirector();
v4 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v3->getTouchDispatcher)(v3);
cocos2d::CCTouchDispatcher::unregisterForcePrio(v4, a1->m_listLayer);
}
v5 = cocos2d::CCDirector::sharedDirector();
v6 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v5->getTouchDispatcher)(v5);
cocos2d::CCTouchDispatcher::unregisterForcePrio(v6, a1);
v7 = FriendsProfilePage::create(Blocked);
((void (__fastcall *)(FriendsProfilePage *))v7->show)(v7);
((void (__fastcall *)(FriendsProfilePage *, _QWORD))a1->setKeypadEnabled)(a1, 0);
((void (__fastcall *)(FriendsProfilePage *, __int64))a1->removeFromParentAndCleanup)(a1, 1);
}