{"type": "func", "start": 5660456, "end": 5660572, "name": "GJActionManager::updateInternalActions", "pseudocode": "// \n// GJActionManager::updateInternalActions from 0x565f28 to 0x565f9c (116 bytes)\n// \n// 2 xrefs:\n// > PlayerObject::updateInternalActions @ 0x3478ac\n// > GJActionManager::stopAllInternalActions @ 0x565fa0\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; // r9\n  cocos2d::CCArray *v6; // r0\n  cocos2d::ccArray *data; // r2\n  cocos2d::CCObject **arr; // r4\n  cocos2d::CCObject **v9; // r5\n  int v10; // r3\n  int v11; // t1\n  intptr_t v12; // r10\n  cocos2d::CCObject *v13; // r6\n  int v14; // r0\n  cocos2d::CCObject_vtbl *v15; // r3\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      v9 = &arr[data->num] + 0x3FFFFFFF;\n      while ( arr <= v9 )\n      {\n        v11 = (int)*arr++;\n        v10 = v11;\n        if ( !v11 )\n          break;\n        v12 = *(_DWORD *)(v10 + 52);\n        v13 = cocos2d::CCDictionary::objectForKey(a1->m_internalActions, v12);\n        v14 = ((int (__fastcall *)(cocos2d::CCObject *))v13->__vftable[1].copyWithZone)(v13);\n        v15 = v13->__vftable;\n        if ( v14 || v5 )\n        {\n          v15[1].~CCObject_0(v13);\n          cocos2d::CCDictionary::removeObjectForKey(a1->m_internalActions, v12);\n        }\n        else\n        {\n          v15[1].isEqual(v13, (const cocos2d::CCObject *)LODWORD(a2));\n        }\n      }\n    }\n  }\n}", "assembly": "; \n; GJActionManager::updateInternalActions from 0x565f28 to 0x565f9c (116 bytes)\n; \n; 2 xrefs:\n; > PlayerObject::updateInternalActions @ 0x3478ac\n; > GJActionManager::stopAllInternalActions @ 0x565fa0\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.W          {R4-R10,LR}                                            ; +0x0, 0x565f28\nMOV             R7, R0                                                 ; +0x4, 0x565f2c\nLDR.W           R0, [R0,#0x108]; this                                  ; +0x6, 0x565f2e\nMOV             R8, R1                                                 ; +0xa, 0x565f32\nMOV             R9, R2                                                 ; +0xc, 0x565f34\nBL              _ZN7cocos2d12CCDictionary7allKeysEv; cocos2d::CCDictionary::allKeys(void) ; +0xe, 0x565f36\nCBZ             R0, locret_565F98                                      ; +0x12, 0x565f3a\nLDR             R2, [R0,#0x34]                                         ; +0x14, 0x565f3c\nLDR             R3, [R2]                                               ; +0x16, 0x565f3e\nCBZ             R3, locret_565F98                                      ; +0x18, 0x565f40\nADD.W           R3, R3, #0x40000000                                    ; +0x1a, 0x565f42\nLDR             R4, [R2,#0xC]                                          ; +0x1e, 0x565f46\nSUBS            R3, #1                                                 ; +0x20, 0x565f48\nADD.W           R5, R4, R3,LSL#2                                       ; +0x22, 0x565f4a\nCMP             R4, R5                                                 ; +0x26, 0x565f4e\nBHI             locret_565F98                                          ; +0x28, 0x565f50\nLDR.W           R3, [R4],#4                                            ; +0x2a, 0x565f52\nCBNZ            R3, loc_565F5C                                         ; +0x2e, 0x565f56\nPOP.W           {R4-R10,PC}                                            ; +0x30, 0x565f58\nLDR.W           R10, [R3,#0x34]                                        ; +0x34, 0x565f5c\nLDR.W           R0, [R7,#0x108]; this                                  ; +0x38, 0x565f60\nMOV             R1, R10; int                                           ; +0x3c, 0x565f64\nBL              _ZN7cocos2d12CCDictionary12objectForKeyEi; cocos2d::CCDictionary::objectForKey(int) ; +0x3e, 0x565f66\nLDR             R3, [R0]                                               ; +0x42, 0x565f6a\nMOV             R6, R0                                                 ; +0x44, 0x565f6c\nLDR             R3, [R3,#0x28]                                         ; +0x46, 0x565f6e\nBLX             R3                                                     ; +0x48, 0x565f70\nLDR             R3, [R6]                                               ; +0x4a, 0x565f72\nCBNZ            R0, loc_565F7C                                         ; +0x4c, 0x565f74\nCMP.W           R9, #0                                                 ; +0x4e, 0x565f76\nBEQ             loc_565F8E                                             ; +0x52, 0x565f7a\nMOV             R0, R6                                                 ; +0x54, 0x565f7c\nLDR             R3, [R3,#0x30]                                         ; +0x56, 0x565f7e\nBLX             R3                                                     ; +0x58, 0x565f80\nLDR.W           R0, [R7,#0x108]; this                                  ; +0x5a, 0x565f82\nMOV             R1, R10; int                                           ; +0x5e, 0x565f86\nBL              _ZN7cocos2d12CCDictionary18removeObjectForKeyEi; cocos2d::CCDictionary::removeObjectForKey(int) ; +0x60, 0x565f88\nB               loc_565F4E                                             ; +0x64, 0x565f8c\nLDR             R3, [R3,#0x34]                                         ; +0x66, 0x565f8e\nMOV             R0, R6                                                 ; +0x68, 0x565f90\nMOV             R1, R8                                                 ; +0x6a, 0x565f92\nBLX             R3                                                     ; +0x6c, 0x565f94\nB               loc_565F4E                                             ; +0x6e, 0x565f96\nPOP.W           {R4-R10,PC}                                            ; +0x70, 0x565f98", "xrefs": ["PlayerObject::updateInternalActions @ 0x3478ac", "GJActionManager::stopAllInternalActions @ 0x565fa0"], "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"}