//
// TouchControlEditLayer::copyTouchFrom from 0xd07950 to 0xd079b4 (100 bytes)
//
// 4 xrefs:
// > TouchControlEditLayer::onReset @ 0xd07c60
// > TouchControlEditLayer::onPaste @ 0xd08034
// > TouchControlEditLayer::onApplyGlobal @ 0xd08590
// > ??> @ 0x5e8e8
//
// 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:06:57 +0000
//
__int64 __fastcall TouchControlEditLayer::copyTouchFrom(TouchControlEditLayer *this, LevelControlConfig *a2)
{
char *v2; // x2
__int64 v5; // x1
__int64 result; // x0
v2 = (char *)a2 + 152;
v5 = *((_QWORD *)this + 127);
if ( (char *)(v5 + 152) != v2 )
{
std::vector::assign(
(cocos2d::CCPoint *)(v5 + 152),
*((_QWORD *)a2 + 19),
*((_QWORD *)a2 + 20));
v5 = *((_QWORD *)this + 127);
}
*(_DWORD *)(v5 + 60) = *((_DWORD *)a2 + 15);
*(_DWORD *)(*((_QWORD *)this + 127) + 64LL) = *((_DWORD *)a2 + 16);
result = *((_QWORD *)this + 127);
*(_DWORD *)(result + 68) = *((_DWORD *)a2 + 17);
return result;
}