{"type": "func", "start": 4296773424, "end": 4296773525, "name": "AnimatedGameObject::resetObject", "pseudocode": "// \n// AnimatedGameObject::resetObject from 0x1001b8f30 to 0x1001b8f95 (101 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1008c4560\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 AnimatedGameObject::resetObject(AnimatedGameObject *a1)\n{\n  a1->m_animationID = 0;\n  *(_WORD *)&a1->m_finishedAnimating = 0;\n  if ( (a1->m_currentAnimation.m_data.m_short.sizex2 & 1) != 0 )\n  {\n    *a1->m_currentAnimation.m_data.m_long.longStorage = 0;\n    a1->m_currentAnimation.m_data.m_long.size = 0;\n  }\n  else\n  {\n    *(_WORD *)&a1->m_currentAnimation.m_data.m_short.sizex2 = 0;\n  }\n  if ( a1->m_isActivated )\n    AnimatedGameObject::updateObjectAnimation(a1);\n  EnhancedGameObject::resetObject(a1);\n}", "assembly": "; \n; AnimatedGameObject::resetObject from 0x1001b8f30 to 0x1001b8f95 (101 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1008c4560\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\nmov     dword ptr [rdi+5F4h], 0                                        ; +0x0, 0x1001b8f30\nmov     word ptr [rdi+5D0h], 0                                         ; +0xa, 0x1001b8f3a\ntest    byte ptr [rdi+5D8h], 1                                         ; +0x13, 0x1001b8f43\njnz     short loc_1001B8F57                                            ; +0x1a, 0x1001b8f4a\nmov     word ptr [rdi+5D8h], 0                                         ; +0x1c, 0x1001b8f4c\njmp     short loc_1001B8F6C                                            ; +0x25, 0x1001b8f55\nmov     rax, [rdi+5E8h]                                                ; +0x27, 0x1001b8f57\nmov     byte ptr [rax], 0                                              ; +0x2e, 0x1001b8f5e\nmov     qword ptr [rdi+5E0h], 0                                        ; +0x31, 0x1001b8f61\ncmp     byte ptr [rdi+305h], 1                                         ; +0x3c, 0x1001b8f6c\njnz     EnhancedGameObject__resetObject                                ; +0x43, 0x1001b8f73\npush    rbp                                                            ; +0x49, 0x1001b8f79\nmov     rbp, rsp                                                       ; +0x4a, 0x1001b8f7a\npush    rbx                                                            ; +0x4d, 0x1001b8f7d\npush    rax                                                            ; +0x4e, 0x1001b8f7e\nmov     rbx, rdi                                                       ; +0x4f, 0x1001b8f7f\ncall    AnimatedGameObject__updateObjectAnimation                      ; +0x52, 0x1001b8f82\nmov     rdi, rbx                                                       ; +0x57, 0x1001b8f87\nadd     rsp, 8                                                         ; +0x5a, 0x1001b8f8a\npop     rbx                                                            ; +0x5e, 0x1001b8f8e\npop     rbp                                                            ; +0x5f, 0x1001b8f8f\njmp     EnhancedGameObject__resetObject                                ; +0x60, 0x1001b8f90", "xrefs": ["<???> @ 0x1008c4560"], "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"}