//
// GameObject::duplicateAttributes from 0x7716b0 to 0x771790 (224 bytes)
//
// 4 xrefs:
// > LevelEditorLayer::applyAttributeState @ 0x78d560
// > LevelEditorLayer::copyObjectState @ 0x792c00
// > EditorUI::createRockEdges @ 0xb07d9c
// > ??> @ 0xd26d0
//
// 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 12:53:13 +0000
//
__int64 __fastcall GameObject::duplicateAttributes(GameObject *this, GameObject *a2)
{
int ObjectZLayer; // w0
__int64 result; // x0
*((_DWORD *)this + 282) = GameObject::getObjectZOrder(a2);
ObjectZLayer = GameObject::getObjectZLayer(a2);
GameObject::setCustomZLayer((__int64)this, ObjectZLayer);
*((_WORD *)this + 601) = *((_WORD *)a2 + 601);
*((_WORD *)this + 602) = *((_WORD *)a2 + 602);
*((_BYTE *)this + 1043) = *((_BYTE *)a2 + 1043);
*((_BYTE *)this + 1259) = *((_BYTE *)a2 + 1259);
*((_BYTE *)this + 1297) = *((_BYTE *)a2 + 1297);
*((_BYTE *)this + 1042) = *((_BYTE *)a2 + 1042);
*((_BYTE *)this + 1214) = *((_BYTE *)a2 + 1214);
*((_BYTE *)this + 1298) = *((_BYTE *)a2 + 1298);
*((_BYTE *)this + 1044) = *((_BYTE *)a2 + 1044);
*((_BYTE *)this + 1293) = *((_BYTE *)a2 + 1293);
*((_BYTE *)this + 1020) = *((_BYTE *)a2 + 1020);
*((_BYTE *)this + 1294) = *((_BYTE *)a2 + 1294);
*((_BYTE *)this + 1295) = *((_BYTE *)a2 + 1295);
*((_BYTE *)this + 1296) = *((_BYTE *)a2 + 1296);
*((_BYTE *)this + 1301) = *((_BYTE *)a2 + 1301);
*((_BYTE *)this + 1300) = *((_BYTE *)a2 + 1300);
*((_BYTE *)this + 1299) = *((_BYTE *)a2 + 1299);
*((_BYTE *)this + 1302) = *((_BYTE *)a2 + 1302);
*((_BYTE *)this + 1045) = *((_BYTE *)a2 + 1045);
result = *((unsigned __int8 *)a2 + 969);
*((_BYTE *)this + 969) = result;
return result;
}