//
// TouchControlEditLayer::copyTouchFrom from 0x7a46c0 to 0x7a46f6 (54 bytes)
//
// 3 xrefs:
// > TouchControlEditLayer::onReset @ 0x7a47ac
// > TouchControlEditLayer::onPaste @ 0x7a4942
// > TouchControlEditLayer::onApplyGlobal @ 0x7a4b4a
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:59:56 +0000
//
char **__fastcall TouchControlEditLayer::copyTouchFrom(TouchControlEditLayer *this, UIButtonConfig **a2)
{
char **result; // r0
result = (char **)(*((_DWORD *)this + 179) + 108);
if ( result != (char **)(a2 + 27) )
result = std::vector::assign(result, a2[27], a2[28]);
*(_DWORD *)(*((_DWORD *)this + 179) + 56) = a2[14];
*(_DWORD *)(*((_DWORD *)this + 179) + 60) = a2[15];
*(_DWORD *)(*((_DWORD *)this + 179) + 64) = a2[16];
return result;
}