{"type": "func", "start": 5371179728, "end": 5371179839, "name": "GJEffectManager::getAllColorActions", "pseudocode": "// \n// GJEffectManager::getAllColorActions from 0x14025b2d0 to 0x14025b33f (111 bytes)\n// \n// 3 xrefs:\n// > LevelEditorLayer::transferDefaultColors @ 0x1402dbdfb\n// > PlayLayer::loadDefaultColors @ 0x1403b1c8a\n// > <???> @ 0x1406cfc84\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 *result; // rax\n  cocos2d::CCDictionary *m_unkObject148; // rdx\n  cocos2d::CCArray *v4; // rdi\n  cocos2d::CCDictElement *m_pElements; // rdx\n  cocos2d::CCDictElement *i; // rbx\n\n  result = (cocos2d::CCArray *)cocos2d::CCArray::create(a1);\n  m_unkObject148 = a1->m_unkObject148;\n  v4 = result;\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        cocos2d::CCArray::addObject(v4, m_pElements->m_pObject);\n        m_pElements = i;\n        if ( !i )\n          break;\n      }\n      return v4;\n    }\n  }\n  return result;\n}", "assembly": "; \n; GJEffectManager::getAllColorActions from 0x14025b2d0 to 0x14025b33f (111 bytes)\n; \n; 3 xrefs:\n; > LevelEditorLayer::transferDefaultColors @ 0x1402dbdfb\n; > PlayLayer::loadDefaultColors @ 0x1403b1c8a\n; > <???> @ 0x1406cfc84\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x14025b2d0\npush    rdi                                                            ; +0x5, 0x14025b2d5\nsub     rsp, 20h                                                       ; +0x6, 0x14025b2d6\nmov     rbx, rcx                                                       ; +0xa, 0x14025b2da\ncall    cs:?create@CCArray@cocos2d@@SAPEAV12@XZ; cocos2d::CCArray::create(void) ; +0xd, 0x14025b2dd\nmov     rdx, [rbx+148h]                                                ; +0x13, 0x14025b2e3\nmov     rdi, rax                                                       ; +0x1a, 0x14025b2ea\ntest    rdx, rdx                                                       ; +0x1d, 0x14025b2ed\njz      short loc_14025B334                                            ; +0x20, 0x14025b2f0\nmov     rdx, [rdx+38h]                                                 ; +0x22, 0x14025b2f2\ntest    rdx, rdx                                                       ; +0x26, 0x14025b2f6\njz      short loc_14025B334                                            ; +0x29, 0x14025b2f9\nmov     rbx, [rdx+120h]                                                ; +0x2b, 0x14025b2fb\nnop     dword ptr [rax+00h]                                            ; +0x32, 0x14025b302\nnop     word ptr [rax+rax+00000000h]                                   ; +0x36, 0x14025b306\nmov     rdx, [rdx+108h]                                                ; +0x40, 0x14025b310\nmov     rcx, rdi                                                       ; +0x47, 0x14025b317\ncall    cs:?addObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x4a, 0x14025b31a\nmov     rdx, rbx                                                       ; +0x50, 0x14025b320\ntest    rbx, rbx                                                       ; +0x53, 0x14025b323\njz      short loc_14025B331                                            ; +0x56, 0x14025b326\nmov     rbx, [rbx+120h]                                                ; +0x58, 0x14025b328\njmp     short loc_14025B310                                            ; +0x5f, 0x14025b32f\nmov     rax, rdi                                                       ; +0x61, 0x14025b331\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x64, 0x14025b334\nadd     rsp, 20h                                                       ; +0x69, 0x14025b339\npop     rdi                                                            ; +0x6d, 0x14025b33d\nretn                                                                   ; +0x6e, 0x14025b33e", "xrefs": ["LevelEditorLayer::transferDefaultColors @ 0x1402dbdfb", "PlayLayer::loadDefaultColors @ 0x1403b1c8a", "<???> @ 0x1406cfc84"], "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"}