//
// InfoLayer::keyBackClicked from 0x1007b22c0 to 0x1007b2336 (118 bytes)
//
// 1 xrefs:
// > ??> @ 0x100992920
//
// 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 InfoLayer::keyBackClicked(InfoLayer *a1)
{
cocos2d::CCDirector *v1; // rax
cocos2d::CCTouchDispatcher *v2; // rax
if ( a1->m_list )
{
v1 = cocos2d::CCDirector::sharedDirector();
v2 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v1->getTouchDispatcher)(v1);
cocos2d::CCTouchDispatcher::unregisterForcePrio(v2, a1->m_list);
((void (__fastcall *)(GJCommentListLayer *))a1->m_list->removeMeAndCleanup)(a1->m_list);
a1->m_list = nullptr;
}
((void (__fastcall *)(InfoLayer *, _QWORD))a1->setKeypadEnabled)(a1, 0);
((void (__fastcall *)(InfoLayer *, __int64))a1->removeFromParentAndCleanup)(a1, 1);
}