//
// cocos2d::CCLayer::registerScriptTouchHandler from 0x1800526c0 to 0x180052722 (98 bytes)
//
// 8 xrefs:
// > ??> @ 0x1800f33c0
// > ??> @ 0x1800f38a0
// > ??> @ 0x1800f3df8
// > ??> @ 0x1800f4380
// > ??> @ 0x1800f4978
// > ??> @ 0x1800fd4b0
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bc2bc
//
// 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::registerScriptTouchHandler(
cocos2d::CCLayer *this,
unsigned int a2,
unsigned __int8 a3,
unsigned int a4,
bool a5)
{
cocos2d::CCObject *v9; // rax
(*(void (__fastcall **)(cocos2d::CCLayer *))(*(_QWORD *)this + 904LL))(this);
v9 = (cocos2d::CCObject *)cocos2d::CCTouchScriptHandlerEntry::create(a2, a3, a4, a5);
*((_QWORD *)this + 46) = v9;
cocos2d::CCObject::retain(v9);
}