//
// CreatorLayer::keyBackClicked from 0x14009f9c0 to 0x14009fa1b (91 bytes)
//
// 2 xrefs:
// > ??> @ 0x1405432e0
// > ??> @ 0x1406c7674
//
// 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 CreatorLayer::keyBackClicked(CreatorLayer *a1)
{
char *p_height; // rdi
struct cocos2d::CCScene *v2; // rax
struct cocos2d::CCTransitionFade *v3; // rbx
__int64 v4; // rcx
cocos2d::CCDirector *v5; // rax
p_height = (char *)&a1[-1].m_obContentSize.height;
v2 = MenuLayer::scene(0);
v3 = cocos2d::CCTransitionFade::create(0.5, v2);
v5 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v4);
if ( cocos2d::CCDirector::replaceScene(v5, v3) )
(*(void (__fastcall **)(char *, _QWORD))(*(_QWORD *)p_height + 976LL))(p_height, 0);
}