//
// LeaderboardsLayer::onBack from 0x1003b17a0 to 0x1003b17ec (76 bytes)
//
// 3 xrefs:
// > LeaderboardsLayer::keyBackClicked @ 0x1003b20d4
// > sub_1003B20D8 @ 0x1003b20dc
// > LeaderboardsLayer::init @ 0x1003b0d3c
//
// 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 LeaderboardsLayer::onBack(LeaderboardsLayer *a1, cocos2d::CCObject *a2)
{
cocos2d::CCDirector *v3; // x0
cocos2d::CCTouchDispatcher *v4; // x0
GameManager *v5; // x0
v3 = cocos2d::CCDirector::sharedDirector();
v4 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v3->getTouchDispatcher)(v3);
cocos2d::CCTouchDispatcher::unregisterForcePrio(v4, a1);
((void (__fastcall *)(LeaderboardsLayer *, _QWORD))a1->setKeypadEnabled)(a1, 0);
v5 = GameManager::sharedState();
GameManager::safePopScene(v5);
}