{"type": "func", "start": 4298490328, "end": 4298490432, "name": "GameObjectCopy::create", "pseudocode": "// \n// GameObjectCopy::create from 0x10035c1d8 to 0x10035c240 (104 bytes)\n// \n// 3 xrefs:\n// > UndoObject::create @ 0x100359bd4\n// > LevelEditorLayer::handleAction @ 0x10035c028\n// > UndoObject::initWithTransformObjects @ 0x100369374\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\nGameObjectCopy *__fastcall GameObjectCopy::create(GameObject *a1)\n{\n  GameObjectCopy *v2; // x19\n\n  v2 = (GameObjectCopy *)operator new(0x60u);\n  *(_OWORD *)&v2->__vftable = 0u;\n  *(_OWORD *)&v2->m_nTag = 0u;\n  *(_OWORD *)&v2->m_uIndexInArray = 0u;\n  *(_OWORD *)&v2->m_uOrderOfArrival = 0u;\n  *(_OWORD *)&v2->m_position.x = 0u;\n  *(_OWORD *)&v2->m_isFlipX = 0u;\n  cocos2d::CCObject::CCObject((__int64)v2);\n  v2->__vftable = (GameObjectCopy_vtbl *)off_1007F45D0;\n  sub_1000229B0(&v2->m_position);\n  GameObjectCopy::init(v2, a1);\n  cocos2d::CCObject::autorelease(v2);\n  return v2;\n}", "assembly": "; \n; GameObjectCopy::create from 0x10035c1d8 to 0x10035c240 (104 bytes)\n; \n; 3 xrefs:\n; > UndoObject::create @ 0x100359bd4\n; > LevelEditorLayer::handleAction @ 0x10035c028\n; > UndoObject::initWithTransformObjects @ 0x100369374\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x10035c1d8\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10035c1dc\nADD             X29, SP, #0x10                                         ; +0x8, 0x10035c1e0\nMOV             X20, X0                                                ; +0xc, 0x10035c1e4\nMOV             W0, #0x60 ; '`'; __sz                                  ; +0x10, 0x10035c1e8\nBL              __Znwm; operator new(ulong)                            ; +0x14, 0x10035c1ec\nMOV             X19, X0                                                ; +0x18, 0x10035c1f0\nMOVI            V0.16B, #0                                             ; +0x1c, 0x10035c1f4\nSTP             Q0, Q0, [X0]                                           ; +0x20, 0x10035c1f8\nSTP             Q0, Q0, [X0,#0x20]                                     ; +0x24, 0x10035c1fc\nSTP             Q0, Q0, [X0,#0x40]                                     ; +0x28, 0x10035c200\nBL              cocos2d__CCObject__CCObject                            ; +0x2c, 0x10035c204\nADRL            X8, off_1007F45D0                                      ; +0x30, 0x10035c208\nMOV             X0, X19                                                ; +0x38, 0x10035c210\nSTR             X8, [X0],#0x40                                         ; +0x3c, 0x10035c214\nBL              sub_1000229B0                                          ; +0x40, 0x10035c218\nMOV             X0, X19                                                ; +0x44, 0x10035c21c\nMOV             X1, X20                                                ; +0x48, 0x10035c220\nBL              GameObjectCopy__init                                   ; +0x4c, 0x10035c224\nMOV             X0, X19                                                ; +0x50, 0x10035c228\nBL              cocos2d__CCObject__autorelease                         ; +0x54, 0x10035c22c\nMOV             X0, X19                                                ; +0x58, 0x10035c230\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x5c, 0x10035c234\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x60, 0x10035c238\nRET                                                                    ; +0x64, 0x10035c23c", "xrefs": ["UndoObject::create @ 0x100359bd4", "LevelEditorLayer::handleAction @ 0x10035c028", "UndoObject::initWithTransformObjects @ 0x100369374"], "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"}