//
// GameObject::duplicateAttributes from 0x100261f0c to 0x100261f90 (132 bytes)
//
// 4 xrefs:
// > EditorUI::createRockEdges @ 0x100078660
// > LevelEditorLayer::copyObjectState @ 0x100363a98
// > LevelEditorLayer::pasteAttributeState @ 0x100363c6c
// > LevelEditorLayer::pasteAttributeState @ 0x100363cf8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall GameObject::duplicateAttributes(GameObject *a1)
{
__int64 v1; // x1
int v2; // w8
ZLayer v3; // w10
v2 = *(_DWORD *)(v1 + 1128);
if ( !v2 )
v2 = *(_DWORD *)(v1 + 1048);
a1->m_zOrder = v2;
v3 = *(_DWORD *)(v1 + 1124);
if ( !v3 )
v3 = *(_DWORD *)(v1 + 1116);
if ( !a1->m_zFixedZLayer )
a1->m_zLayer = v3;
*(_DWORD *)&a1->m_editorLayer = *(_DWORD *)(v1 + 1202);
a1->m_isHighDetail = *(_BYTE *)(v1 + 1259);
a1->m_isNoTouch = *(_BYTE *)(v1 + 1214);
a1->m_hasNoGlow = *(_BYTE *)(v1 + 1020);
a1->m_isDontBoostY = *(_BYTE *)(v1 + 1301);
*(_QWORD *)&a1->m_isPassable = *(_QWORD *)(v1 + 1293);
a1->m_isDontBoostX = *(_BYTE *)(v1 + 1302);
*(_DWORD *)&a1->m_isDontEnter = *(_DWORD *)(v1 + 1042);
a1->m_hasNoAudioScale = *(_BYTE *)(v1 + 969);
}