//
// GameObject::duplicateAttributes from 0x44eb2a to 0x44ebea (192 bytes)
//
// 3 xrefs:
// > LevelEditorLayer::applyAttributeState @ 0x4624a0
// > LevelEditorLayer::copyObjectState @ 0x4663b4
// > EditorUI::createRockEdges @ 0x66bdca
//
// 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:48:36 +0000
//
int __fastcall GameObject::duplicateAttributes(GameObject *this, GameObject *a2)
{
int ObjectZLayer; // r0
int result; // r0
*((_DWORD *)this + 246) = GameObject::getObjectZOrder(a2);
ObjectZLayer = GameObject::getObjectZLayer(a2);
result = GameObject::setCustomZLayer((int)this, ObjectZLayer);
*((_WORD *)this + 519) = *((_WORD *)a2 + 519);
*((_WORD *)this + 520) = *((_WORD *)a2 + 520);
*((_BYTE *)this + 907) = *((_BYTE *)a2 + 907);
*((_BYTE *)this + 1095) = *((_BYTE *)a2 + 1095);
*((_BYTE *)this + 1117) = *((_BYTE *)a2 + 1117);
*((_BYTE *)this + 906) = *((_BYTE *)a2 + 906);
*((_BYTE *)this + 1050) = *((_BYTE *)a2 + 1050);
*((_BYTE *)this + 1118) = *((_BYTE *)a2 + 1118);
*((_BYTE *)this + 908) = *((_BYTE *)a2 + 908);
*((_BYTE *)this + 1113) = *((_BYTE *)a2 + 1113);
*((_BYTE *)this + 884) = *((_BYTE *)a2 + 884);
*((_BYTE *)this + 1114) = *((_BYTE *)a2 + 1114);
*((_BYTE *)this + 1115) = *((_BYTE *)a2 + 1115);
*((_BYTE *)this + 1116) = *((_BYTE *)a2 + 1116);
*((_BYTE *)this + 1121) = *((_BYTE *)a2 + 1121);
*((_BYTE *)this + 1120) = *((_BYTE *)a2 + 1120);
*((_BYTE *)this + 1119) = *((_BYTE *)a2 + 1119);
*((_BYTE *)this + 1122) = *((_BYTE *)a2 + 1122);
*((_BYTE *)this + 909) = *((_BYTE *)a2 + 909);
*((_BYTE *)this + 833) = *((_BYTE *)a2 + 833);
return result;
}