{"type": "func", "start": 4823636, "end": 4823700, "name": "GJEffectManager::getAllColorActions", "pseudocode": "// \n// GJEffectManager::getAllColorActions from 0x499a54 to 0x499a94 (64 bytes)\n// \n// 4 xrefs:\n// > PlayLayer::loadDefaultColors @ 0x31af00\n// > PlayLayer::loadDefaultColors @ 0x31af42\n// > PlayLayer::loadDefaultColors @ 0x31afa2\n// > LevelEditorLayer::transferDefaultColors @ 0x367b94\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\ncocos2d::CCArray *GJEffectManager::getAllColorActions(GJEffectManager *a1)\n{\n  cocos2d::CCArray *v2; // r0\n  cocos2d::CCDictionary *m_unkObject148; // r3\n  cocos2d::CCArray *v4; // r5\n  cocos2d::CCDictElement *m_pElements; // r3\n  cocos2d::CCDictElement *next; // r4\n  cocos2d::CCDictElement *v7; // r2\n\n  v2 = (cocos2d::CCArray *)cocos2d::CCArray::create((cocos2d::CCArray *)a1);\n  m_unkObject148 = a1->m_unkObject148;\n  v4 = v2;\n  if ( m_unkObject148 )\n  {\n    m_pElements = m_unkObject148->m_pElements;\n    if ( m_pElements )\n      next = (cocos2d::CCDictElement *)m_pElements->hh.next;\n    else\n      next = nullptr;\n    while ( m_pElements )\n    {\n      cocos2d::CCArray::addObject(v4, m_pElements->m_pObject);\n      if ( next )\n        v7 = (cocos2d::CCDictElement *)next->hh.next;\n      else\n        v7 = nullptr;\n      m_pElements = next;\n      next = v7;\n    }\n  }\n  return v4;\n}", "assembly": "; \n; GJEffectManager::getAllColorActions from 0x499a54 to 0x499a94 (64 bytes)\n; \n; 4 xrefs:\n; > PlayLayer::loadDefaultColors @ 0x31af00\n; > PlayLayer::loadDefaultColors @ 0x31af42\n; > PlayLayer::loadDefaultColors @ 0x31afa2\n; > LevelEditorLayer::transferDefaultColors @ 0x367b94\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            {R3-R5,LR}                                             ; +0x0, 0x499a54\nMOV             R4, R0                                                 ; +0x2, 0x499a56\nBL              _ZN7cocos2d7CCArray6createEv; cocos2d::CCArray::create(void) ; +0x4, 0x499a58\nLDR.W           R3, [R4,#0x10C]                                        ; +0x8, 0x499a5c\nMOV             R5, R0                                                 ; +0xc, 0x499a60\nCBZ             R3, loc_499A90                                         ; +0xe, 0x499a62\nLDR             R3, [R3,#0x34]                                         ; +0x10, 0x499a64\nCBZ             R3, loc_499A6E                                         ; +0x12, 0x499a66\nLDR.W           R4, [R3,#0x110]                                        ; +0x14, 0x499a68\nB               loc_499A86                                             ; +0x18, 0x499a6c\nMOV             R4, R3                                                 ; +0x1a, 0x499a6e\nB               loc_499A86                                             ; +0x1c, 0x499a70\nMOV             R0, R5; this                                           ; +0x1e, 0x499a72\nLDR.W           R1, [R3,#0x104]; cocos2d::CCObject *                   ; +0x20, 0x499a74\nBL              _ZN7cocos2d7CCArray9addObjectEPNS_8CCObjectE; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x24, 0x499a78\nCBZ             R4, loc_499A8C                                         ; +0x28, 0x499a7c\nLDR.W           R2, [R4,#0x110]                                        ; +0x2a, 0x499a7e\nMOV             R3, R4                                                 ; +0x2e, 0x499a82\nMOV             R4, R2                                                 ; +0x30, 0x499a84\nCMP             R3, #0                                                 ; +0x32, 0x499a86\nBNE             loc_499A72                                             ; +0x34, 0x499a88\nB               loc_499A90                                             ; +0x36, 0x499a8a\nMOV             R2, R4                                                 ; +0x38, 0x499a8c\nB               loc_499A82                                             ; +0x3a, 0x499a8e\nMOV             R0, R5                                                 ; +0x3c, 0x499a90\nPOP             {R3-R5,PC}                                             ; +0x3e, 0x499a92", "xrefs": ["PlayLayer::loadDefaultColors @ 0x31af00", "PlayLayer::loadDefaultColors @ 0x31af42", "PlayLayer::loadDefaultColors @ 0x31afa2", "LevelEditorLayer::transferDefaultColors @ 0x367b94"], "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"}