{"type": "func", "start": 4298105952, "end": 4298106156, "name": "GJActionManager::updateInternalActions", "pseudocode": "// \n// GJActionManager::updateInternalActions from 0x1002fe460 to 0x1002fe52c (204 bytes)\n// \n// 2 xrefs:\n// > PlayerObject::updateInternalActions @ 0x10022eae8\n// > GJActionManager::stopAllInternalActions @ 0x1002fe45c\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 GJActionManager::updateInternalActions(GJActionManager *a1, float a2, bool a3)\n{\n  _BOOL4 v3; // w19\n  cocos2d::CCArray *v6; // x0\n  cocos2d::ccArray *data; // x9\n  __int64 num; // x8\n  unsigned __int64 arr; // x23\n  unsigned __int64 v10; // x24\n  intptr_t v11; // x21\n  cocos2d::CCObject *v12; // x22\n  char v13; // w0\n  cocos2d::CCObject_vtbl *v14; // x8\n\n  v3 = a3;\n  v6 = cocos2d::CCDictionary::allKeys(a1->m_internalActions);\n  if ( v6 )\n  {\n    data = v6->data;\n    num = data->num;\n    if ( (_DWORD)num )\n    {\n      arr = (unsigned __int64)data->arr;\n      v10 = arr + 8 * num - 8;\n      do\n      {\n        if ( !*(_QWORD *)arr )\n          break;\n        v11 = *(int *)(*(_QWORD *)arr + 56LL);\n        v12 = cocos2d::CCDictionary::objectForKey(a1->m_internalActions, v11);\n        v13 = ((__int64 (__fastcall *)(cocos2d::CCObject *))v12->__vftable[1].copyWithZone)(v12);\n        v14 = v12->__vftable;\n        if ( (v13 & 1) != 0 || v3 )\n        {\n          ((void (__fastcall *)(cocos2d::CCObject *))v14[1].~CCObject_0)(v12);\n          cocos2d::CCDictionary::removeObjectForKey(a1->m_internalActions, v11);\n        }\n        else\n        {\n          ((void (__fastcall *)(cocos2d::CCObject *, float))v14[1].isEqual)(v12, a2);\n        }\n        arr += 8LL;\n      }\n      while ( arr <= v10 );\n    }\n  }\n}", "assembly": "; \n; GJActionManager::updateInternalActions from 0x1002fe460 to 0x1002fe52c (204 bytes)\n; \n; 2 xrefs:\n; > PlayerObject::updateInternalActions @ 0x10022eae8\n; > GJActionManager::stopAllInternalActions @ 0x1002fe45c\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             D9, D8, [SP,#-0x10+var_40]!                            ; +0x0, 0x1002fe460\nSTP             X24, X23, [SP,#0x40+var_30]                            ; +0x4, 0x1002fe464\nSTP             X22, X21, [SP,#0x40+var_20]                            ; +0x8, 0x1002fe468\nSTP             X20, X19, [SP,#0x40+var_10]                            ; +0xc, 0x1002fe46c\nSTP             X29, X30, [SP,#0x40+var_s0]                            ; +0x10, 0x1002fe470\nADD             X29, SP, #0x40                                         ; +0x14, 0x1002fe474\nMOV             X19, X1                                                ; +0x18, 0x1002fe478\nFMOV            S8, S0                                                 ; +0x1c, 0x1002fe47c\nMOV             X20, X0                                                ; +0x20, 0x1002fe480\nLDR             X0, [X0,#0x140]                                        ; +0x24, 0x1002fe484\nBL              cocos2d__CCDictionary__allKeys                         ; +0x28, 0x1002fe488\nCBZ             X0, loc_1002FE514                                      ; +0x2c, 0x1002fe48c\nLDR             X9, [X0,#0x38]                                         ; +0x30, 0x1002fe490\nLDR             W8, [X9]                                               ; +0x34, 0x1002fe494\nCBZ             W8, loc_1002FE514                                      ; +0x38, 0x1002fe498\nLDR             X23, [X9,#0x10]                                        ; +0x3c, 0x1002fe49c\nADD             X8, X23, X8,LSL#3                                      ; +0x40, 0x1002fe4a0\nSUB             X24, X8, #8                                            ; +0x44, 0x1002fe4a4\nLDR             X8, [X23]                                              ; +0x48, 0x1002fe4a8\nCBZ             X8, loc_1002FE514                                      ; +0x4c, 0x1002fe4ac\nLDRSW           X21, [X8,#0x38]                                        ; +0x50, 0x1002fe4b0\nLDR             X0, [X20,#0x140]                                       ; +0x54, 0x1002fe4b4\nMOV             X1, X21                                                ; +0x58, 0x1002fe4b8\nBL              cocos2d__CCDictionary__objectForKey                    ; +0x5c, 0x1002fe4bc\nMOV             X22, X0                                                ; +0x60, 0x1002fe4c0\nLDR             X8, [X0]                                               ; +0x64, 0x1002fe4c4\nLDR             X8, [X8,#0x50]                                         ; +0x68, 0x1002fe4c8\nBLR             X8                                                     ; +0x6c, 0x1002fe4cc\nLDR             X8, [X22]                                              ; +0x70, 0x1002fe4d0\nTBNZ            W0, #0, loc_1002FE4F0                                  ; +0x74, 0x1002fe4d4\nCBNZ            W19, loc_1002FE4F0                                     ; +0x78, 0x1002fe4d8\nLDR             X8, [X8,#0x68]                                         ; +0x7c, 0x1002fe4dc\nMOV             X0, X22                                                ; +0x80, 0x1002fe4e0\nFMOV            S0, S8                                                 ; +0x84, 0x1002fe4e4\nBLR             X8                                                     ; +0x88, 0x1002fe4e8\nB               loc_1002FE508                                          ; +0x8c, 0x1002fe4ec\nLDR             X8, [X8,#0x60]                                         ; +0x90, 0x1002fe4f0\nMOV             X0, X22                                                ; +0x94, 0x1002fe4f4\nBLR             X8                                                     ; +0x98, 0x1002fe4f8\nLDR             X0, [X20,#0x140]                                       ; +0x9c, 0x1002fe4fc\nMOV             X1, X21                                                ; +0xa0, 0x1002fe500\nBL              cocos2d__CCDictionary__removeObjectForKey              ; +0xa4, 0x1002fe504\nADD             X23, X23, #8                                           ; +0xa8, 0x1002fe508\nCMP             X23, X24                                               ; +0xac, 0x1002fe50c\nB.LS            loc_1002FE4A8                                          ; +0xb0, 0x1002fe510\nLDP             X29, X30, [SP,#0x40+var_s0]                            ; +0xb4, 0x1002fe514\nLDP             X20, X19, [SP,#0x40+var_10]                            ; +0xb8, 0x1002fe518\nLDP             X22, X21, [SP,#0x40+var_20]                            ; +0xbc, 0x1002fe51c\nLDP             X24, X23, [SP,#0x40+var_30]                            ; +0xc0, 0x1002fe520\nLDP             D9, D8, [SP+0x40+var_40],#0x50                         ; +0xc4, 0x1002fe524\nRET                                                                    ; +0xc8, 0x1002fe528", "xrefs": ["PlayerObject::updateInternalActions @ 0x10022eae8", "GJActionManager::stopAllInternalActions @ 0x1002fe45c"], "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"}