{"type": "func", "start": 4295897936, "end": 4295898095, "name": "GameObjectCopy::resetObject", "pseudocode": "// \n// GameObjectCopy::resetObject from 0x1000e3350 to 0x1000e33ef (159 bytes)\n// \n// 2 xrefs:\n// > LevelEditorLayer::handleAction @ 0x1000e2cf5\n// > LevelEditorLayer::handleAction @ 0x1000e2fdc\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 GameObjectCopy::resetObject(GameObjectCopy *a1)\n{\n  GameObject_vtbl *v1; // rax\n\n  ((void (__fastcall *)(GameObject *, cocos2d::CCPoint *))a1->m_object->setPosition)(a1->m_object, &a1->m_position);\n  v1 = a1->m_object->__vftable;\n  if ( a1->m_rotationX == a1->m_rotationY )\n  {\n    ((void (*)(void))v1->setRotation)();\n  }\n  else\n  {\n    ((void (*)(void))v1->setRotationX)();\n    ((void (__fastcall *)(GameObject *, float))a1->m_object->setRotationY)(a1->m_object, a1->m_rotationY);\n  }\n  ((void (__fastcall *)(GameObject *, bool))a1->m_object->setFlipX)(a1->m_object, a1->m_isFlipX);\n  ((void (__fastcall *)(GameObject *, bool))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  ((void (__fastcall *)(GameObject *))a1->m_object->updateStartValues)(a1->m_object);\n}", "assembly": "; \n; GameObjectCopy::resetObject from 0x1000e3350 to 0x1000e33ef (159 bytes)\n; \n; 2 xrefs:\n; > LevelEditorLayer::handleAction @ 0x1000e2cf5\n; > LevelEditorLayer::handleAction @ 0x1000e2fdc\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    rbp                                                            ; +0x0, 0x1000e3350\nmov     rbp, rsp                                                       ; +0x1, 0x1000e3351\npush    rbx                                                            ; +0x4, 0x1000e3354\npush    rax                                                            ; +0x5, 0x1000e3355\nmov     rbx, rdi                                                       ; +0x6, 0x1000e3356\nmov     rdi, [rdi+38h]                                                 ; +0x9, 0x1000e3359\nlea     rsi, [rbx+40h]                                                 ; +0xd, 0x1000e335d\nmov     rax, [rdi]                                                     ; +0x11, 0x1000e3361\ncall    qword ptr [rax+0B8h]                                           ; +0x14, 0x1000e3364\nmovss   xmm0, dword ptr [rbx+48h]                                      ; +0x1a, 0x1000e336a\nucomiss xmm0, dword ptr [rbx+4Ch]                                      ; +0x1f, 0x1000e336f\nmov     rdi, [rbx+38h]                                                 ; +0x23, 0x1000e3373\nmov     rax, [rdi]                                                     ; +0x27, 0x1000e3377\njnz     short loc_1000E3386                                            ; +0x2a, 0x1000e337a\njp      short loc_1000E3386                                            ; +0x2c, 0x1000e337c\ncall    qword ptr [rax+158h]                                           ; +0x2e, 0x1000e337e\njmp     short loc_1000E339E                                            ; +0x34, 0x1000e3384\ncall    qword ptr [rax+168h]                                           ; +0x36, 0x1000e3386\nmov     rdi, [rbx+38h]                                                 ; +0x3c, 0x1000e338c\nmovss   xmm0, dword ptr [rbx+4Ch]                                      ; +0x40, 0x1000e3390\nmov     rax, [rdi]                                                     ; +0x45, 0x1000e3395\ncall    qword ptr [rax+178h]                                           ; +0x48, 0x1000e3398\nmov     rdi, [rbx+38h]                                                 ; +0x4e, 0x1000e339e\nmovzx   esi, byte ptr [rbx+50h]                                        ; +0x52, 0x1000e33a2\nmov     rax, [rdi]                                                     ; +0x56, 0x1000e33a6\ncall    qword ptr [rax+4C8h]                                           ; +0x59, 0x1000e33a9\nmov     rdi, [rbx+38h]                                                 ; +0x5f, 0x1000e33af\nmovzx   esi, byte ptr [rbx+51h]                                        ; +0x63, 0x1000e33b3\nmov     rax, [rdi]                                                     ; +0x67, 0x1000e33b7\ncall    qword ptr [rax+4D0h]                                           ; +0x6a, 0x1000e33ba\nmov     rdi, [rbx+38h]                                                 ; +0x70, 0x1000e33c0\nmovss   xmm0, dword ptr [rbx+54h]                                      ; +0x74, 0x1000e33c4\ncall    GameObject__updateCustomScaleX                                 ; +0x79, 0x1000e33c9\nmov     rdi, [rbx+38h]                                                 ; +0x7e, 0x1000e33ce\nmovss   xmm0, dword ptr [rbx+58h]                                      ; +0x82, 0x1000e33d2\ncall    GameObject__updateCustomScaleY                                 ; +0x87, 0x1000e33d7\nmov     rdi, [rbx+38h]                                                 ; +0x8c, 0x1000e33dc\nmov     rax, [rdi]                                                     ; +0x90, 0x1000e33e0\nadd     rsp, 8                                                         ; +0x93, 0x1000e33e3\npop     rbx                                                            ; +0x97, 0x1000e33e7\npop     rbp                                                            ; +0x98, 0x1000e33e8\njmp     qword ptr [rax+550h]                                           ; +0x99, 0x1000e33e9", "xrefs": ["LevelEditorLayer::handleAction @ 0x1000e2cf5", "LevelEditorLayer::handleAction @ 0x1000e2fdc"], "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"}