{"type": "func", "start": 10642596, "end": 10642820, "name": "GJActionManager::updateInternalActions", "pseudocode": "// \n// GJActionManager::updateInternalActions from 0xa264a4 to 0xa26584 (224 bytes)\n// \n// 3 xrefs:\n// > PlayerObject::updateInternalActions @ 0x631f54\n// > GJActionManager::stopAllInternalActions @ 0xa2658c\n// > <???> @ 0x9d278\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 GJActionManager::updateInternalActions(GJActionManager *a1, float a2, bool a3)\n{\n  _BOOL4 v5; // w24\n  cocos2d::CCArray *v6; // x0\n  cocos2d::ccArray *data; // x1\n  cocos2d::CCObject **arr; // x20\n  cocos2d::CCObject **i; // x23\n  intptr_t v10; // x21\n  cocos2d::CCObject *v11; // x19\n  int v12; // w1\n  long double v13; // q0\n\n  v5 = a3;\n  v6 = cocos2d::CCDictionary::allKeys(a1->m_internalActions);\n  if ( v6 )\n  {\n    data = v6->data;\n    if ( data->num )\n    {\n      arr = data->arr;\n      for ( i = &arr[data->num - 1]; i >= arr; ++arr )\n      {\n        if ( !*arr )\n          break;\n        v10 = SLODWORD((*arr)[1].__vftable);\n        v11 = cocos2d::CCDictionary::objectForKey(a1->m_internalActions, v10);\n        v12 = ((unsigned __int8 (__fastcall *)(cocos2d::CCObject *))v11->__vftable[1].copyWithZone)(v11);\n        *(float *)&v13 = a2;\n        if ( v12 || v5 )\n        {\n          ((void (__fastcall *)(cocos2d::CCObject *, long double))v11->__vftable[1].~CCObject_0)(v11, v13);\n          cocos2d::CCDictionary::removeObjectForKey(a1->m_internalActions, v10);\n        }\n        else\n        {\n          ((void (__fastcall *)(cocos2d::CCObject *, float))v11->__vftable[1].isEqual)(v11, a2);\n        }\n      }\n    }\n  }\n}", "assembly": "; \n; GJActionManager::updateInternalActions from 0xa264a4 to 0xa26584 (224 bytes)\n; \n; 3 xrefs:\n; > PlayerObject::updateInternalActions @ 0x631f54\n; > GJActionManager::stopAllInternalActions @ 0xa2658c\n; > <???> @ 0x9d278\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\nSTP             X29, X30, [SP,#var_50]!                                ; +0x0, 0xa264a4\nMOV             X29, SP                                                ; +0x4, 0xa264a8\nSTR             D8, [SP,#0x50+var_10]                                  ; +0x8, 0xa264ac\nFMOV            S8, S0                                                 ; +0xc, 0xa264b0\nSTP             X21, X22, [SP,#0x50+var_30]                            ; +0x10, 0xa264b4\nMOV             X22, X0                                                ; +0x14, 0xa264b8\nLDR             X0, [X0,#0x140]; this                                  ; +0x18, 0xa264bc\nSTP             X23, X24, [SP,#0x50+var_20]                            ; +0x1c, 0xa264c0\nSTP             X19, X20, [SP,#0x50+var_40]                            ; +0x20, 0xa264c4\nUXTB            W24, W1                                                ; +0x24, 0xa264c8\nBL              _ZN7cocos2d12CCDictionary7allKeysEv; cocos2d::CCDictionary::allKeys(void) ; +0x28, 0xa264cc\nCBZ             X0, loc_A2654C                                         ; +0x2c, 0xa264d0\nLDR             X1, [X0,#0x38]                                         ; +0x30, 0xa264d4\nLDR             W0, [X1]                                               ; +0x34, 0xa264d8\nCBZ             W0, loc_A2654C                                         ; +0x38, 0xa264dc\nLDR             X20, [X1,#0x10]                                        ; +0x3c, 0xa264e0\nMOV             X23, #0xFFFFFFFFFFFFFFF8                               ; +0x40, 0xa264e4\nADD             X23, X23, W0,UXTW#3                                    ; +0x44, 0xa264e8\nADD             X23, X20, X23                                          ; +0x48, 0xa264ec\nCMP             X20, X23                                               ; +0x4c, 0xa264f0\nB.HI            loc_A2654C                                             ; +0x50, 0xa264f4\nLDR             X0, [X20]                                              ; +0x54, 0xa264f8\nCBZ             X0, loc_A2654C                                         ; +0x58, 0xa264fc\nLDRSW           X21, [X0,#0x38]                                        ; +0x5c, 0xa26500\nLDR             X0, [X22,#0x140]; this                                 ; +0x60, 0xa26504\nMOV             X1, X21; __int64                                       ; +0x64, 0xa26508\nBL              _ZN7cocos2d12CCDictionary12objectForKeyEl; cocos2d::CCDictionary::objectForKey(long) ; +0x68, 0xa2650c\nLDR             X1, [X0]                                               ; +0x6c, 0xa26510\nMOV             X19, X0                                                ; +0x70, 0xa26514\nLDR             X1, [X1,#0x50]                                         ; +0x74, 0xa26518\nBLR             X1                                                     ; +0x78, 0xa2651c\nUXTB            W1, W0                                                 ; +0x7c, 0xa26520\nFMOV            S0, S8                                                 ; +0x80, 0xa26524\nMOV             X0, X19                                                ; +0x84, 0xa26528\nCBNZ            W1, loc_A26564                                         ; +0x88, 0xa2652c\nCBNZ            W24, loc_A26564                                        ; +0x8c, 0xa26530\nLDR             X1, [X19]                                              ; +0x90, 0xa26534\nLDR             X1, [X1,#0x68]                                         ; +0x94, 0xa26538\nBLR             X1                                                     ; +0x98, 0xa2653c\nADD             X20, X20, #8                                           ; +0x9c, 0xa26540\nCMP             X23, X20                                               ; +0xa0, 0xa26544\nB.CS            loc_A264F8                                             ; +0xa4, 0xa26548\nLDP             X19, X20, [SP,#0x50+var_40]                            ; +0xa8, 0xa2654c\nLDP             X21, X22, [SP,#0x50+var_30]                            ; +0xac, 0xa26550\nLDP             X23, X24, [SP,#0x50+var_20]                            ; +0xb0, 0xa26554\nLDR             D8, [SP,#0x50+var_10]                                  ; +0xb4, 0xa26558\nLDP             X29, X30, [SP+0x50+var_50],#0x50                       ; +0xb8, 0xa2655c\nRET                                                                    ; +0xbc, 0xa26560\nLDR             X1, [X19]                                              ; +0xc0, 0xa26564\nMOV             X0, X19                                                ; +0xc4, 0xa26568\nLDR             X1, [X1,#0x60]                                         ; +0xc8, 0xa2656c\nBLR             X1                                                     ; +0xcc, 0xa26570\nLDR             X0, [X22,#0x140]; this                                 ; +0xd0, 0xa26574\nMOV             X1, X21; __int64                                       ; +0xd4, 0xa26578\nBL              _ZN7cocos2d12CCDictionary18removeObjectForKeyEl; cocos2d::CCDictionary::removeObjectForKey(long) ; +0xd8, 0xa2657c\nB               loc_A26540                                             ; +0xdc, 0xa26580", "xrefs": ["PlayerObject::updateInternalActions @ 0x631f54", "GJActionManager::stopAllInternalActions @ 0xa2658c", "<???> @ 0x9d278"], "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"}