//
// GauntletLayer::onBack from 0x1401f8410 to 0x1401f8452 (66 bytes)
//
// 2 xrefs:
// > GauntletLayer::init @ 0x1401f64e6
// > ??> @ 0x1406cc918
//
// 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 GauntletLayer::onBack(GauntletLayer *a1, cocos2d::CCObject *a2)
{
int v2; // ecx
struct cocos2d::CCScene *v3; // rax
struct cocos2d::CCTransitionFade *v4; // rbx
__int64 v5; // rcx
cocos2d::CCDirector *v6; // rax
a1->setKeypadEnabled(a1, 0);
v3 = GauntletSelectLayer::scene(v2);
v4 = cocos2d::CCTransitionFade::create(0.5, v3);
v6 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v5);
cocos2d::CCDirector::replaceScene(v6, v4);
}