{"type": "func", "start": 4301041472, "end": 4301041612, "name": "GameObject::groupColor", "pseudocode": "// \n// GameObject::groupColor from 0x1005caf40 to 0x1005cafcc (140 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\nconst cocos2d::ccColor3B *__fastcall GameObject::groupColor(GameObject *a1, const cocos2d::ccColor3B *a2, bool a3)\n{\n  __int64 v3; // r12\n\n  a1->m_groupColor = *a2;\n  if ( a1->m_colorGroupCount > 0 )\n  {\n    v3 = 0;\n    do\n      a1->m_groupColor = GJEffectManager::colorForGroupID(\n                           a1->m_goEffectManager,\n                           a1->m_colorGroups->__elems_[v3++],\n                           &a1->m_groupColor,\n                           a3);\n    while ( v3 < a1->m_colorGroupCount );\n  }\n  return &a1->m_groupColor;\n}", "assembly": "; \n; GameObject::groupColor from 0x1005caf40 to 0x1005cafcc (140 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, 0x1005caf40\nmov     rbp, rsp                                                       ; +0x1, 0x1005caf41\npush    r15                                                            ; +0x4, 0x1005caf44\npush    r14                                                            ; +0x6, 0x1005caf46\npush    r12                                                            ; +0x8, 0x1005caf48\npush    rbx                                                            ; +0xa, 0x1005caf4a\nlea     rbx, [rdi+27Dh]                                                ; +0xb, 0x1005caf4b\nmovzx   eax, byte ptr [rsi+2]                                          ; +0x12, 0x1005caf52\nmov     [rdi+27Fh], al                                                 ; +0x16, 0x1005caf56\nmovzx   eax, word ptr [rsi]                                            ; +0x1c, 0x1005caf5c\nmov     [rdi+27Dh], ax                                                 ; +0x1f, 0x1005caf5f\ncmp     word ptr [rdi+4A0h], 0                                         ; +0x26, 0x1005caf66\njle     short loc_1005CAFC0                                            ; +0x2e, 0x1005caf6e\nmov     r14, rdi                                                       ; +0x30, 0x1005caf70\nxor     r12d, r12d                                                     ; +0x33, 0x1005caf73\nmovzx   r15d, dl                                                       ; +0x36, 0x1005caf76\nnop     word ptr [rax+rax+00h]                                         ; +0x3a, 0x1005caf7a\nmov     rax, [r14+498h]                                                ; +0x40, 0x1005caf80\nmov     rdi, [r14+500h]                                                ; +0x47, 0x1005caf87\nmovsx   esi, word ptr [rax+r12*2]                                      ; +0x4e, 0x1005caf8e\nmov     rdx, rbx                                                       ; +0x53, 0x1005caf93\nmov     ecx, r15d                                                      ; +0x56, 0x1005caf96\ncall    GJEffectManager__colorForGroupID                               ; +0x59, 0x1005caf99\nmov     [r14+27Dh], ax                                                 ; +0x5e, 0x1005caf9e\nshr     eax, 10h                                                       ; +0x66, 0x1005cafa6\nmov     [r14+27Fh], al                                                 ; +0x69, 0x1005cafa9\ninc     r12                                                            ; +0x70, 0x1005cafb0\nmovsx   rax, word ptr [r14+4A0h]                                       ; +0x73, 0x1005cafb3\ncmp     r12, rax                                                       ; +0x7b, 0x1005cafbb\njl      short loc_1005CAF80                                            ; +0x7e, 0x1005cafbe\nmov     rax, rbx                                                       ; +0x80, 0x1005cafc0\npop     rbx                                                            ; +0x83, 0x1005cafc3\npop     r12                                                            ; +0x84, 0x1005cafc4\npop     r14                                                            ; +0x86, 0x1005cafc6\npop     r15                                                            ; +0x88, 0x1005cafc8\npop     rbp                                                            ; +0x8a, 0x1005cafca\nretn                                                                   ; +0x8b, 0x1005cafcb", "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"}