//
// TouchControlEditLayer::create from 0x100979480 to 0x1009794e8 (104 bytes)
//
// 1 xrefs:
// > sub_10095E510 @ 0x10095e54c
//
// 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 12:38:56 +0000
//
void *__fastcall TouchControlEditLayer::create(char a1, __int64 a2)
{
void *v2; // rbx
v2 = operator new(0x548u);
__bzero(v2, 1352);
TouchControlEditLayer::TouchControlEditLayer(v2);
if ( (unsigned __int8)TouchControlEditLayer::init((__int64)v2, a1, a2) )
{
cocos2d::CCObject::autorelease((__int64)v2);
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
return v2;
}