//
// cocos2d::CCLayer::ccTouchEnded from 0x1800512e0 to 0x18005131f (63 bytes)
//
// 7 xrefs:
// > ??> @ 0x1800f3468
// > ??> @ 0x1800f3948
// > ??> @ 0x1800f3eb8
// > ??> @ 0x1800f44b0
// > ??> @ 0x1800f4a20
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bc040
//
// 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:21:45 +0000
//
void __fastcall cocos2d::CCLayer::ccTouchEnded(
cocos2d::CCLayer *this,
struct cocos2d::CCTouch *a2,
struct cocos2d::CCEvent *a3)
{
char *v3; // rbx
struct cocos2d::CCScriptEngineManager *v5; // rax
v3 = (char *)this - 320;
if ( *((_DWORD *)this - 5) )
{
v5 = cocos2d::CCScriptEngineManager::sharedManager();
(*(void (__fastcall **)(_QWORD, char *, __int64, struct cocos2d::CCTouch *))(**(_QWORD **)v5 + 112LL))(
*(_QWORD *)v5,
v3,
2,
a2);
}
}