{"type": "func", "start": 4297465612, "end": 4297465744, "name": "GameObject::duplicateAttributes", "pseudocode": "// \n// GameObject::duplicateAttributes from 0x100261f0c to 0x100261f90 (132 bytes)\n// \n// 4 xrefs:\n// > EditorUI::createRockEdges @ 0x100078660\n// > LevelEditorLayer::copyObjectState @ 0x100363a98\n// > LevelEditorLayer::pasteAttributeState @ 0x100363c6c\n// > LevelEditorLayer::pasteAttributeState @ 0x100363cf8\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall GameObject::duplicateAttributes(GameObject *a1)\n{\n  __int64 v1; // x1\n  int v2; // w8\n  ZLayer v3; // w10\n\n  v2 = *(_DWORD *)(v1 + 1128);\n  if ( !v2 )\n    v2 = *(_DWORD *)(v1 + 1048);\n  a1->m_zOrder = v2;\n  v3 = *(_DWORD *)(v1 + 1124);\n  if ( !v3 )\n    v3 = *(_DWORD *)(v1 + 1116);\n  if ( !a1->m_zFixedZLayer )\n    a1->m_zLayer = v3;\n  *(_DWORD *)&a1->m_editorLayer = *(_DWORD *)(v1 + 1202);\n  a1->m_isHighDetail = *(_BYTE *)(v1 + 1259);\n  a1->m_isNoTouch = *(_BYTE *)(v1 + 1214);\n  a1->m_hasNoGlow = *(_BYTE *)(v1 + 1020);\n  a1->m_isDontBoostY = *(_BYTE *)(v1 + 1301);\n  *(_QWORD *)&a1->m_isPassable = *(_QWORD *)(v1 + 1293);\n  a1->m_isDontBoostX = *(_BYTE *)(v1 + 1302);\n  *(_DWORD *)&a1->m_isDontEnter = *(_DWORD *)(v1 + 1042);\n  a1->m_hasNoAudioScale = *(_BYTE *)(v1 + 969);\n}", "assembly": "; \n; GameObject::duplicateAttributes from 0x100261f0c to 0x100261f90 (132 bytes)\n; \n; 4 xrefs:\n; > EditorUI::createRockEdges @ 0x100078660\n; > LevelEditorLayer::copyObjectState @ 0x100363a98\n; > LevelEditorLayer::pasteAttributeState @ 0x100363c6c\n; > LevelEditorLayer::pasteAttributeState @ 0x100363cf8\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nLDR             W8, [X1,#0x468]                                        ; +0x0, 0x100261f0c\nCBNZ            W8, loc_100261F18                                      ; +0x4, 0x100261f10\nLDR             W8, [X1,#0x418]                                        ; +0x8, 0x100261f14\nSTR             W8, [X0,#0x468]                                        ; +0xc, 0x100261f18\nLDR             W10, [X1,#0x464]                                       ; +0x10, 0x100261f1c\nCBNZ            W10, loc_100261F28                                     ; +0x14, 0x100261f20\nLDR             W10, [X1,#0x45C]                                       ; +0x18, 0x100261f24\nADD             X8, X0, #0x412                                         ; +0x1c, 0x100261f28\nADD             X9, X1, #0x412                                         ; +0x20, 0x100261f2c\nLDRB            W11, [X0,#0x460]                                       ; +0x24, 0x100261f30\nTBNZ            W11, #0, loc_100261F3C                                 ; +0x28, 0x100261f34\nSTR             W10, [X0,#0x464]                                       ; +0x2c, 0x100261f38\nADD             X10, X1, #0x4B2                                        ; +0x30, 0x100261f3c\nLDR             W10, [X10]                                             ; +0x34, 0x100261f40\nADD             X11, X0, #0x4B2                                        ; +0x38, 0x100261f44\nSTR             W10, [X11]                                             ; +0x3c, 0x100261f48\nLDRB            W10, [X1,#0x4EB]                                       ; +0x40, 0x100261f4c\nSTRB            W10, [X0,#0x4EB]                                       ; +0x44, 0x100261f50\nLDRB            W10, [X1,#0x4BE]                                       ; +0x48, 0x100261f54\nSTRB            W10, [X0,#0x4BE]                                       ; +0x4c, 0x100261f58\nLDRB            W10, [X1,#0x3FC]                                       ; +0x50, 0x100261f5c\nSTRB            W10, [X0,#0x3FC]                                       ; +0x54, 0x100261f60\nLDRB            W10, [X1,#0x515]                                       ; +0x58, 0x100261f64\nSTRB            W10, [X0,#0x515]                                       ; +0x5c, 0x100261f68\nLDUR            D0, [X9,#0xFB]                                         ; +0x60, 0x100261f6c\nSTUR            D0, [X8,#0xFB]                                         ; +0x64, 0x100261f70\nLDRB            W10, [X1,#0x516]                                       ; +0x68, 0x100261f74\nSTRB            W10, [X0,#0x516]                                       ; +0x6c, 0x100261f78\nLDR             W9, [X9]                                               ; +0x70, 0x100261f7c\nSTR             W9, [X8]                                               ; +0x74, 0x100261f80\nLDRB            W8, [X1,#0x3C9]                                        ; +0x78, 0x100261f84\nSTRB            W8, [X0,#0x3C9]                                        ; +0x7c, 0x100261f88\nRET                                                                    ; +0x80, 0x100261f8c", "xrefs": ["EditorUI::createRockEdges @ 0x100078660", "LevelEditorLayer::copyObjectState @ 0x100363a98", "LevelEditorLayer::pasteAttributeState @ 0x100363c6c", "LevelEditorLayer::pasteAttributeState @ 0x100363cf8"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}