{"type": "func", "start": 9060824, "end": 9060936, "name": "GJEffectManager::addAllInheritedColorActions", "pseudocode": "// \n// GJEffectManager::addAllInheritedColorActions from 0x8a41d8 to 0x8a4248 (112 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x38eb0\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 GJEffectManager::addAllInheritedColorActions(GJEffectManager *a1, cocos2d::CCArray *a2)\n{\n  cocos2d::CCDictionary *m_unkObject148; // x0\n  cocos2d::CCDictElement *m_pElements; // x0\n  cocos2d::CCDictElement *i; // x19\n  cocos2d::CCObject *m_pObject; // x1\n  cocos2d::CCArray *m_uID; // x0\n  cocos2d::CCArray *v8; // x0\n  cocos2d::CCObject *v9; // [xsp+28h] [xbp+28h]\n\n  m_unkObject148 = a1->m_unkObject148;\n  if ( m_unkObject148 )\n  {\n    m_pElements = m_unkObject148->m_pElements;\n    if ( m_pElements )\n    {\n      for ( i = (cocos2d::CCDictElement *)m_pElements->hh.next; ; i = (cocos2d::CCDictElement *)i->hh.next )\n      {\n        m_pObject = m_pElements->m_pObject;\n        m_uID = (cocos2d::CCArray *)m_pObject[2].m_uID;\n        if ( (int)m_uID > 0 )\n        {\n          if ( !a2 )\n          {\n            v9 = m_pObject;\n            v8 = (cocos2d::CCArray *)cocos2d::CCArray::create(m_uID);\n            m_pObject = v9;\n            a2 = v8;\n          }\n          cocos2d::CCArray::addObject(a2, m_pObject);\n        }\n        if ( !i )\n          break;\n        m_pElements = i;\n      }\n    }\n  }\n}", "assembly": "; \n; GJEffectManager::addAllInheritedColorActions from 0x8a41d8 to 0x8a4248 (112 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x38eb0\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_30]!                                ; +0x0, 0x8a41d8\nMOV             X29, SP                                                ; +0x4, 0x8a41dc\nLDR             X0, [X0,#0x148]                                        ; +0x8, 0x8a41e0\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0xc, 0x8a41e4\nMOV             X20, X1                                                ; +0x10, 0x8a41e8\nCBZ             X0, loc_8A4228                                         ; +0x14, 0x8a41ec\nLDR             X0, [X0,#0x38]                                         ; +0x18, 0x8a41f0\nCBZ             X0, loc_8A4228                                         ; +0x1c, 0x8a41f4\nLDR             X19, [X0,#0x120]                                       ; +0x20, 0x8a41f8\nLDR             X1, [X0,#0x108]; cocos2d::CCObject *                   ; +0x24, 0x8a41fc\nLDR             W0, [X1,#0x78]; this                                   ; +0x28, 0x8a4200\nCMP             W0, WZR                                                ; +0x2c, 0x8a4204\nB.LE            loc_8A4218                                             ; +0x30, 0x8a4208\nCBZ             X20, loc_8A4234                                        ; +0x34, 0x8a420c\nMOV             X0, X20; this                                          ; +0x38, 0x8a4210\nBL              _ZN7cocos2d7CCArray9addObjectEPNS_8CCObjectE; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x3c, 0x8a4214\nCBZ             X19, loc_8A4228                                        ; +0x40, 0x8a4218\nMOV             X0, X19                                                ; +0x44, 0x8a421c\nLDR             X19, [X19,#0x120]                                      ; +0x48, 0x8a4220\nB               loc_8A41FC                                             ; +0x4c, 0x8a4224\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x50, 0x8a4228\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x54, 0x8a422c\nRET                                                                    ; +0x58, 0x8a4230\nSTR             X1, [X29,#0x30+var_8]                                  ; +0x5c, 0x8a4234\nBL              _ZN7cocos2d7CCArray6createEv; cocos2d::CCArray::create(void) ; +0x60, 0x8a4238\nLDR             X1, [X29,#0x30+var_8]                                  ; +0x64, 0x8a423c\nMOV             X20, X0                                                ; +0x68, 0x8a4240\nB               loc_8A4210                                             ; +0x6c, 0x8a4244", "xrefs": ["<???> @ 0x38eb0"], "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"}