{"type": "func", "start": 5411166, "end": 5411224, "name": "EnhancedGameObject::triggerAnimation", "pseudocode": "// \n// EnhancedGameObject::triggerAnimation from 0x52915e to 0x529198 (58 bytes)\n// \n// 1 xrefs:\n// > EnhancedGameObject::animationTriggered @ 0x35315c\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::triggerAnimation(EnhancedGameObject *a1)\n{\n  EnhancedGameObject_vtbl *v2; // r3\n\n  if ( !a1->m_animateOnlyWhenActive || a1->m_isActivated )\n  {\n    a1->m_animationTriggered = 1;\n    a1->m_isDisabled2 = 0;\n    v2 = a1->GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n    a1->m_maybeAnimationVariableXInt = -1;\n    ((void (__fastcall *)(EnhancedGameObject *, _DWORD))v2->updateSyncedAnimation)(a1, 0);\n    a1->m_animationRandomizedStartValue = 0;\n  }\n}", "assembly": "; \n; EnhancedGameObject::triggerAnimation from 0x52915e to 0x529198 (58 bytes)\n; \n; 1 xrefs:\n; > EnhancedGameObject::animationTriggered @ 0x35315c\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, 0x52915e\nMOV             R4, R0                                                 ; +0x2, 0x529160\nLDRB.W          R3, [R0,#0x4E4]                                        ; +0x4, 0x529162\nCBZ             R3, loc_52916E                                         ; +0x8, 0x529166\nLDRB.W          R3, [R0,#0x291]                                        ; +0xa, 0x529168\nCBZ             R3, locret_529196                                      ; +0xe, 0x52916c\nMOVS            R3, #1                                                 ; +0x10, 0x52916e\nSTRB.W          R3, [R4,#0x4D5]                                        ; +0x12, 0x529170\nMOVS            R3, #0                                                 ; +0x16, 0x529174\nSTRB.W          R3, [R4,#0x292]                                        ; +0x18, 0x529176\nLDR             R3, [R4]                                               ; +0x1c, 0x52917a\nMOV.W           R2, #0xFFFFFFFF                                        ; +0x1e, 0x52917c\nMOVS            R5, #0                                                 ; +0x22, 0x529180\nSTR.W           R2, [R4,#0x4DC]                                        ; +0x24, 0x529182\nMOV             R0, R4                                                 ; +0x28, 0x529186\nADDW            R4, R4, #0x48C                                         ; +0x2a, 0x529188\nLDR.W           R3, [R3,#0x394]                                        ; +0x2e, 0x52918c\nMOV             R1, R5                                                 ; +0x32, 0x529190\nBLX             R3                                                     ; +0x34, 0x529192\nSTR             R5, [R4]                                               ; +0x36, 0x529194\nPOP             {R3-R5,PC}                                             ; +0x38, 0x529196", "xrefs": ["EnhancedGameObject::animationTriggered @ 0x35315c"], "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"}