//
// cocos2d::CCLayer::keyBackClicked from 0xd5bf94 to 0xd5bfe4 (80 bytes)
//
// 92 xrefs:
// > `non-virtual thunk to'cocos2d::CCLayer::keyBackClicked @ 0xd5bfe8
// > ??> @ 0xdadb8
// > ??> @ 0x1411cb8
// > ??> @ 0x1412318
// > ??> @ 0x14128a8
// > ??> @ 0x1412ec8
// > ??> @ 0x1413488
// > ??> @ 0x14146b8
// > ??> @ 0x1416558
// > ??> @ 0x1418188
// > ??> @ 0x1418758
// > ??> @ 0x1418e28
// > ??> @ 0x1419488
// > ??> @ 0x141ae08
// > ??> @ 0x141e1b8
// > ??> @ 0x141e848
// > ??> @ 0x141edf8
// > ??> @ 0x141f898
// > ??> @ 0x141fed8
// > ??> @ 0x1422738
// > ??> @ 0x1423078
// > ??> @ 0x1425028
// > ??> @ 0x1427628
// > ??> @ 0x1428898
// > ??> @ 0x142ae78
// > ??> @ 0x142b4d8
// > ??> @ 0x142ba68
// > ??> @ 0x142bff8
// > ??> @ 0x142c588
// > ??> @ 0x142cb18
// > ??> @ 0x142d0a8
// > ??> @ 0x142d688
// > ??> @ 0x142dcc8
// > ??> @ 0x142e2a8
// > ??> @ 0x142e838
// > ??> @ 0x142edc8
// > ??> @ 0x142f398
// > ??> @ 0x142f948
// > ??> @ 0x142fed8
// > ??> @ 0x1430468
// > ??> @ 0x14309f8
// > ??> @ 0x1430f88
// > ??> @ 0x1431a18
// > ??> @ 0x1431fc8
// > ??> @ 0x14325c8
// > ??> @ 0x1432b58
// > ??> @ 0x14330e8
// > ??> @ 0x1435df8
// > ??> @ 0x1436668
// > ??> @ 0x1439758
// > ??> @ 0x1441ce8
// > ??> @ 0x145a2d8
// > ??> @ 0x145d2d8
// > ??> @ 0x145d8a8
// > ??> @ 0x145f1d8
// > ??> @ 0x14687f8
// > ??> @ 0x1468da8
// > ??> @ 0x1469358
// > ??> @ 0x14756c8
// > ??> @ 0x14761e8
// > ??> @ 0x1476928
// > ??> @ 0x147c6b8
// > ??> @ 0x1491708
// > ??> @ 0x149a2b8
// > ??> @ 0x14b09d8
// > ??> @ 0x14b6fe8
// > ??> @ 0x14c3568
// > ??> @ 0x14e0a88
// > ??> @ 0x14e1db8
// > ??> @ 0x14e2348
// > ??> @ 0x14e28d8
// > ??> @ 0x14e2e88
// > ??> @ 0x14fe5b8
// > ??> @ 0x1507b88
// > ??> @ 0x150a148
// > ??> @ 0x150a8c8
// > ??> @ 0x150b098
// > ??> @ 0x150b7a8
// > ??> @ 0x150bec8
// > ??> @ 0x150c5e8
// > ??> @ 0x150d348
// > ??> @ 0x150e028
// > ??> @ 0x150e728
// > ??> @ 0x150ee68
// > ??> @ 0x150f4f8
// > ??> @ 0x1510048
// > ??> @ 0x1519558
// > ??> @ 0x1519ae8
// > ??> @ 0x151a168
// > ??> @ 0x151a838
// > ??> @ 0x151af78
// > ??> @ 0x1524398
//
// This function is hookable on this platform (idp: arm, 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 13:07:47 +0000
//
__int64 __fastcall cocos2d::CCLayer::keyBackClicked(__int64 this)
{
_QWORD *v1; // x0
__int64 v2; // [xsp+18h] [xbp+18h]
if ( *(_QWORD *)(this + 376) || *(_DWORD *)(this + 300) == 2 )
{
v2 = this;
v1 = (_QWORD *)cocos2d::CCScriptEngineManager::sharedManager((cocos2d::CCScriptEngineManager *)this);
return (*(__int64 (__fastcall **)(_QWORD, __int64, __int64))(*(_QWORD *)*v1 + 128LL))(*v1, v2, 1);
}
return this;
}