//
// GauntletLayer::keyBackClicked from 0x1402fd280 to 0x1402fd2c9 (73 bytes)
//
// 2 xrefs:
// > ??> @ 0x1407684c8
// > ??> @ 0x14091e3b0
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:30:06 +0000
//
bool __fastcall GauntletLayer::keyBackClicked(__int64 a1)
{
struct cocos2d::CCScene *v1; // rax
struct cocos2d::CCScene *v2; // rbx
__int64 v3; // rcx
cocos2d::CCDirector *v4; // rax
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(a1 - 336) + 992LL))(a1 - 336, 0);
v1 = (struct cocos2d::CCScene *)GauntletSelectLayer::scene();
v2 = cocos2d::CCTransitionFade::create(0.5, v1);
v4 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v3);
return cocos2d::CCDirector::replaceScene(v4, v2);
}