{"type": "func", "start": 4297974432, "end": 4297974456, "name": "GJEffectManager::colorForIndex", "pseudocode": "// \n// GJEffectManager::colorForIndex from 0x1002de2a0 to 0x1002de2b8 (24 bytes)\n// \n// 0 xrefs:\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::ccColor3B __fastcall GJEffectManager::colorForIndex(GJEffectManager *a1, int a2)\n{\n  ColorAction *ColorAction; // rax\n\n  ColorAction = GJEffectManager::getColorAction(a1, a2);\n  return (cocos2d::ccColor3B)(*(unsigned __int16 *)&ColorAction->m_fromColor.r | (ColorAction->m_fromColor.b << 16));\n}", "assembly": "; \n; GJEffectManager::colorForIndex from 0x1002de2a0 to 0x1002de2b8 (24 bytes)\n; \n; 0 xrefs:\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    rbp                                                            ; +0x0, 0x1002de2a0\nmov     rbp, rsp                                                       ; +0x1, 0x1002de2a1\ncall    GJEffectManager__getColorAction                                ; +0x4, 0x1002de2a4\nmovzx   ecx, word ptr [rax+48h]                                        ; +0x9, 0x1002de2a9\nmovzx   eax, byte ptr [rax+4Ah]                                        ; +0xd, 0x1002de2ad\nshl     eax, 10h                                                       ; +0x11, 0x1002de2b1\nor      eax, ecx                                                       ; +0x14, 0x1002de2b4\npop     rbp                                                            ; +0x16, 0x1002de2b6\nretn                                                                   ; +0x17, 0x1002de2b7", "xrefs": [], "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"}