{"type": "func", "start": 5371759168, "end": 5371759330, "name": "GameObjectCopy::resetObject", "pseudocode": "// \n// GameObjectCopy::resetObject from 0x1402e8a40 to 0x1402e8ae2 (162 bytes)\n// \n// 3 xrefs:\n// > LevelEditorLayer::handleAction @ 0x1402d681b\n// > LevelEditorLayer::handleAction @ 0x1402d693f\n// > <???> @ 0x1406d3800\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 GameObjectCopy::resetObject(GameObjectCopy *a1)\n{\n  GameObject *m_object; // rcx\n\n  a1->m_object->setPosition_0(a1->m_object, &a1->m_position);\n  m_object = a1->m_object;\n  if ( a1->m_rotationX == a1->m_rotationY )\n  {\n    ((void (__fastcall *)(GameObject *))m_object->setRotation)(m_object);\n  }\n  else\n  {\n    ((void (__fastcall *)(GameObject *))m_object->setRotationX)(m_object);\n    ((void (__fastcall *)(GameObject *))a1->m_object->setRotationY)(a1->m_object);\n  }\n  a1->m_object->setFlipX(a1->m_object, a1->m_isFlipX);\n  a1->m_object->setFlipY(a1->m_object, a1->m_isFlipY);\n  GameObject::updateCustomScaleX(a1->m_object, a1->m_customScaleX);\n  GameObject::updateCustomScaleY(a1->m_object, a1->m_customScaleY);\n  a1->m_object->updateStartValues(a1->m_object);\n}", "assembly": "; \n; GameObjectCopy::resetObject from 0x1402e8a40 to 0x1402e8ae2 (162 bytes)\n; \n; 3 xrefs:\n; > LevelEditorLayer::handleAction @ 0x1402d681b\n; > LevelEditorLayer::handleAction @ 0x1402d693f\n; > <???> @ 0x1406d3800\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\npush    rbx                                                            ; +0x0, 0x1402e8a40\nsub     rsp, 20h                                                       ; +0x2, 0x1402e8a42\nmov     rbx, rcx                                                       ; +0x6, 0x1402e8a46\nmov     rcx, [rcx+38h]                                                 ; +0x9, 0x1402e8a49\nmov     rax, [rcx]                                                     ; +0xd, 0x1402e8a4d\nlea     rdx, [rbx+40h]                                                 ; +0x10, 0x1402e8a50\ncall    qword ptr [rax+0B8h]                                           ; +0x14, 0x1402e8a54\nmovss   xmm1, dword ptr [rbx+48h]                                      ; +0x1a, 0x1402e8a5a\nucomiss xmm1, dword ptr [rbx+4Ch]                                      ; +0x1f, 0x1402e8a5f\nmov     rcx, [rbx+38h]                                                 ; +0x23, 0x1402e8a63\njp      short loc_1402E8A76                                            ; +0x27, 0x1402e8a67\njnz     short loc_1402E8A76                                            ; +0x29, 0x1402e8a69\nmov     rax, [rcx]                                                     ; +0x2b, 0x1402e8a6b\ncall    qword ptr [rax+150h]                                           ; +0x2e, 0x1402e8a6e\njmp     short loc_1402E8A91                                            ; +0x34, 0x1402e8a74\nmov     rax, [rcx]                                                     ; +0x36, 0x1402e8a76\ncall    qword ptr [rax+160h]                                           ; +0x39, 0x1402e8a79\nmov     rcx, [rbx+38h]                                                 ; +0x3f, 0x1402e8a7f\nmovss   xmm1, dword ptr [rbx+4Ch]                                      ; +0x43, 0x1402e8a83\nmov     rax, [rcx]                                                     ; +0x48, 0x1402e8a88\ncall    qword ptr [rax+170h]                                           ; +0x4b, 0x1402e8a8b\nmov     rcx, [rbx+38h]                                                 ; +0x51, 0x1402e8a91\nmovzx   edx, byte ptr [rbx+50h]                                        ; +0x55, 0x1402e8a95\nmov     rax, [rcx]                                                     ; +0x59, 0x1402e8a99\ncall    qword ptr [rax+430h]                                           ; +0x5c, 0x1402e8a9c\nmov     rcx, [rbx+38h]                                                 ; +0x62, 0x1402e8aa2\nmovzx   edx, byte ptr [rbx+51h]                                        ; +0x66, 0x1402e8aa6\nmov     rax, [rcx]                                                     ; +0x6a, 0x1402e8aaa\ncall    qword ptr [rax+438h]                                           ; +0x6d, 0x1402e8aad\nmovss   xmm1, dword ptr [rbx+54h]                                      ; +0x73, 0x1402e8ab3\nmov     rcx, [rbx+38h]                                                 ; +0x78, 0x1402e8ab8\ncall    GameObject__updateCustomScaleX                                 ; +0x7c, 0x1402e8abc\nmovss   xmm1, dword ptr [rbx+58h]                                      ; +0x81, 0x1402e8ac1\nmov     rcx, [rbx+38h]                                                 ; +0x86, 0x1402e8ac6\ncall    GameObject__updateCustomScaleY                                 ; +0x8a, 0x1402e8aca\nmov     rcx, [rbx+38h]                                                 ; +0x8f, 0x1402e8acf\nmov     rax, [rcx]                                                     ; +0x93, 0x1402e8ad3\nadd     rsp, 20h                                                       ; +0x96, 0x1402e8ad6\npop     rbx                                                            ; +0x9a, 0x1402e8ada\njmp     qword ptr [rax+4B8h]                                           ; +0x9b, 0x1402e8adb", "xrefs": ["LevelEditorLayer::handleAction @ 0x1402d681b", "LevelEditorLayer::handleAction @ 0x1402d693f", "<???> @ 0x1406d3800"], "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"}