//
// FriendsProfilePage::onBlocked from 0x100658390 to 0x10065841d (141 bytes)
//
// 1 xrefs:
// > FriendsProfilePage::init @ 0x100657fad
//
// 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 *m_listLayer)
{
cocos2d::CCDirector *v2; // rax
cocos2d::CCTouchDispatcher *v3; // rax
cocos2d::CCDirector *v4; // rax
cocos2d::CCTouchDispatcher *v5; // rax
FriendsProfilePage *v6; // rax
if ( a1->m_listLayer )
{
v2 = cocos2d::CCDirector::sharedDirector();
v3 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *, cocos2d::CCObject *))v2->getTouchDispatcher)(
v2,
m_listLayer);
m_listLayer = a1->m_listLayer;
cocos2d::CCTouchDispatcher::unregisterForcePrio(v3, m_listLayer);
}
v4 = cocos2d::CCDirector::sharedDirector();
v5 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *, cocos2d::CCObject *))v4->getTouchDispatcher)(
v4,
m_listLayer);
cocos2d::CCTouchDispatcher::unregisterForcePrio(v5, a1);
v6 = FriendsProfilePage::create(Blocked);
((void (__fastcall *)(FriendsProfilePage *))v6->show)(v6);
((void (__fastcall *)(FriendsProfilePage *, _QWORD))a1->setKeypadEnabled)(a1, 0);
((void (__fastcall *)(FriendsProfilePage *, __int64))a1->removeFromParentAndCleanup)(a1, 1);
}