{"type": "func", "start": 3487176, "end": 3487236, "name": "EnhancedGameObject::deactivateObject", "pseudocode": "// \n// EnhancedGameObject::deactivateObject from 0x3535c8 to 0x353604 (60 bytes)\n// \n// 2 xrefs:\n// > AnimatedGameObject::deactivateObject @ 0x3e472a\n// > ParticleGameObject::deactivateObject @ 0x3e5240\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 EnhancedGameObject::deactivateObject(EnhancedGameObject *a1, bool a2)\n{\n  _BOOL4 m_isActivated; // r5\n\n  m_isActivated = a1->m_isActivated;\n  GameObject::deactivateObject(a1, a2);\n  if ( m_isActivated && !a1->m_isActivated && a1->m_animateOnTrigger && a1->m_hasCustomAnimation )\n  {\n    ((void (__fastcall *)(EnhancedGameObject *, _DWORD, int))a1->updateSyncedAnimation)(a1, 0, -1);\n    EnhancedGameObject::waitForAnimationTrigger(a1);\n  }\n}", "assembly": "; \n; EnhancedGameObject::deactivateObject from 0x3535c8 to 0x353604 (60 bytes)\n; \n; 2 xrefs:\n; > AnimatedGameObject::deactivateObject @ 0x3e472a\n; > ParticleGameObject::deactivateObject @ 0x3e5240\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            {R3-R5,LR}                                             ; +0x0, 0x3535c8\nMOV             R4, R0                                                 ; +0x2, 0x3535ca\nLDRB.W          R5, [R0,#0x291]                                        ; +0x4, 0x3535cc\nBL              _ZN10GameObject16deactivateObjectEb; GameObject::deactivateObject(bool) ; +0x8, 0x3535d0\nCBZ             R5, locret_353602                                      ; +0xc, 0x3535d4\nLDRB.W          R3, [R4,#0x291]                                        ; +0xe, 0x3535d6\nCBNZ            R3, locret_353602                                      ; +0x12, 0x3535da\nLDRB.W          R3, [R4,#0x4CD]                                        ; +0x14, 0x3535dc\nCBZ             R3, locret_353602                                      ; +0x18, 0x3535e0\nLDRB.W          R3, [R4,#0x4AE]                                        ; +0x1a, 0x3535e2\nCBZ             R3, locret_353602                                      ; +0x1e, 0x3535e6\nLDR             R3, [R4]                                               ; +0x20, 0x3535e8\nMOV             R0, R4                                                 ; +0x22, 0x3535ea\nMOVS            R1, #0                                                 ; +0x24, 0x3535ec\nMOV.W           R2, #0xFFFFFFFF                                        ; +0x26, 0x3535ee\nLDR.W           R3, [R3,#0x394]                                        ; +0x2a, 0x3535f2\nBLX             R3                                                     ; +0x2e, 0x3535f6\nMOV             R0, R4; this                                           ; +0x30, 0x3535f8\nPOP.W           {R3-R5,LR}                                             ; +0x32, 0x3535fa\nB.W             _ZN18EnhancedGameObject23waitForAnimationTriggerEv; EnhancedGameObject::waitForAnimationTrigger(void) ; +0x36, 0x3535fe\nPOP             {R3-R5,PC}                                             ; +0x3a, 0x353602", "xrefs": ["AnimatedGameObject::deactivateObject @ 0x3e472a", "ParticleGameObject::deactivateObject @ 0x3e5240"], "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"}