{"type": "func", "start": 6679020, "end": 6679108, "name": "EnhancedGameObject::updateAnimateOnTrigger", "pseudocode": "// \n// EnhancedGameObject::updateAnimateOnTrigger from 0x65e9ec to 0x65ea44 (88 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:55:35 +0000\n// \n\nEnhancedGameObject *__fastcall EnhancedGameObject::updateAnimateOnTrigger(EnhancedGameObject *this, int a2)\n{\n  EnhancedGameObject *v2; // r4\n  int v3; // r3\n  GameManager *v4; // r0\n  int v5; // r3\n  int (__fastcall *v6)(EnhancedGameObject *, _DWORD, int); // r5\n  cocos2d::CCDictionary **v7; // r0\n  int v8; // r0\n\n  v2 = this;\n  if ( *((_BYTE *)this + 1206) && *((_BYTE *)this + 1237) )\n  {\n    if ( a2 )\n    {\n      v3 = *(_DWORD *)this;\n      *((_BYTE *)this + 658) = 0;\n      v4 = (GameManager *)(*(int (__fastcall **)(EnhancedGameObject *, int))(v3 + 456))(this, 255);\n      *((_DWORD *)v2 + 313) = -1;\n      v5 = *(_DWORD *)v2;\n      *((_BYTE *)v2 + 1237) = 0;\n      v6 = *(int (__fastcall **)(EnhancedGameObject *, _DWORD, int))(v5 + 924);\n      v7 = (cocos2d::CCDictionary **)GameManager::sharedState(v4);\n      v8 = GameManager::defaultFrameForAnimation(v7, *((_DWORD *)v2 + 223));\n      this = (EnhancedGameObject *)v6(v2, 0, v8);\n      *((_BYTE *)v2 + 1237) = 1;\n    }\n    else\n    {\n      return (EnhancedGameObject *)EnhancedGameObject::waitForAnimationTrigger(this);\n    }\n  }\n  return this;\n}", "assembly": "; \n; EnhancedGameObject::updateAnimateOnTrigger from 0x65e9ec to 0x65ea44 (88 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:55:35 +0000\n; \nPUSH            {R3-R5,LR}                                             ; +0x0, 0x65e9ec\nMOV             R4, R0                                                 ; +0x2, 0x65e9ee\nLDRB.W          R3, [R0,#0x4B6]                                        ; +0x4, 0x65e9f0\nCBZ             R3, locret_65EA42                                      ; +0x8, 0x65e9f4\nLDRB.W          R3, [R0,#0x4D5]                                        ; +0xa, 0x65e9f6\nCBZ             R3, locret_65EA42                                      ; +0xe, 0x65e9fa\nCBNZ            R1, loc_65EA06                                         ; +0x10, 0x65e9fc\nPOP.W           {R3-R5,LR}                                             ; +0x12, 0x65e9fe\nB.W             _ZN18EnhancedGameObject23waitForAnimationTriggerEv; EnhancedGameObject::waitForAnimationTrigger(void) ; +0x16, 0x65ea02\nLDR             R3, [R0]                                               ; +0x1a, 0x65ea06\nMOVS            R5, #0                                                 ; +0x1c, 0x65ea08\nMOVS            R1, #0xFF                                              ; +0x1e, 0x65ea0a\nSTRB.W          R5, [R0,#0x292]                                        ; +0x20, 0x65ea0c\nLDR.W           R3, [R3,#0x1C8]                                        ; +0x24, 0x65ea10\nBLX             R3                                                     ; +0x28, 0x65ea14\nMOV.W           R3, #0xFFFFFFFF                                        ; +0x2a, 0x65ea16\nSTR.W           R3, [R4,#0x4E4]                                        ; +0x2e, 0x65ea1a\nLDR             R3, [R4]                                               ; +0x32, 0x65ea1e\nSTRB.W          R5, [R4,#0x4D5]                                        ; +0x34, 0x65ea20\nLDR.W           R5, [R3,#0x39C]                                        ; +0x38, 0x65ea24\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x3c, 0x65ea28\nLDR.W           R1, [R4,#0x37C]; int                                   ; +0x40, 0x65ea2c\nBL              _ZN11GameManager24defaultFrameForAnimationEi; GameManager::defaultFrameForAnimation(int) ; +0x44, 0x65ea30\nMOVS            R1, #0                                                 ; +0x48, 0x65ea34\nMOV             R2, R0                                                 ; +0x4a, 0x65ea36\nMOV             R0, R4                                                 ; +0x4c, 0x65ea38\nBLX             R5                                                     ; +0x4e, 0x65ea3a\nMOVS            R3, #1                                                 ; +0x50, 0x65ea3c\nSTRB.W          R3, [R4,#0x4D5]                                        ; +0x52, 0x65ea3e\nPOP             {R3-R5,PC}                                             ; +0x56, 0x65ea42", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}