{"type": "func", "start": 4301899328, "end": 4301899468, "name": "GameObject::groupColor", "pseudocode": "// \n// GameObject::groupColor from 0x10069c640 to 0x10069c6cc (140 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:35:16 +0000\n// \n\n__int64 __fastcall GameObject::groupColor(__int64 a1, __int64 a2, char a3)\n{\n  __int64 v3; // r12\n  __int64 v5; // rax\n\n  *(_BYTE *)(a1 + 639) = *(_BYTE *)(a2 + 2);\n  *(_WORD *)(a1 + 637) = *(_WORD *)a2;\n  if ( *(__int16 *)(a1 + 1184) > 0 )\n  {\n    v3 = 0;\n    do\n    {\n      v5 = GJEffectManager::colorForGroupID(\n             *(_QWORD **)(a1 + 1280),\n             *(__int16 *)(*(_QWORD *)(a1 + 1176) + 2 * v3),\n             a1 + 637,\n             a3);\n      *(_WORD *)(a1 + 637) = v5;\n      *(_BYTE *)(a1 + 639) = BYTE2(v5);\n      ++v3;\n    }\n    while ( v3 < *(__int16 *)(a1 + 1184) );\n  }\n  return a1 + 637;\n}", "assembly": "; \n; GameObject::groupColor from 0x10069c640 to 0x10069c6cc (140 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:35:16 +0000\n; \npush    rbp                                                            ; +0x0, 0x10069c640\nmov     rbp, rsp                                                       ; +0x1, 0x10069c641\npush    r15                                                            ; +0x4, 0x10069c644\npush    r14                                                            ; +0x6, 0x10069c646\npush    r12                                                            ; +0x8, 0x10069c648\npush    rbx                                                            ; +0xa, 0x10069c64a\nlea     rbx, [rdi+27Dh]                                                ; +0xb, 0x10069c64b\nmovzx   eax, byte ptr [rsi+2]                                          ; +0x12, 0x10069c652\nmov     [rdi+27Fh], al                                                 ; +0x16, 0x10069c656\nmovzx   eax, word ptr [rsi]                                            ; +0x1c, 0x10069c65c\nmov     [rdi+27Dh], ax                                                 ; +0x1f, 0x10069c65f\ncmp     word ptr [rdi+4A0h], 0                                         ; +0x26, 0x10069c666\njle     short loc_10069C6C0                                            ; +0x2e, 0x10069c66e\nmov     r14, rdi                                                       ; +0x30, 0x10069c670\nxor     r12d, r12d                                                     ; +0x33, 0x10069c673\nmovzx   r15d, dl                                                       ; +0x36, 0x10069c676\nnop     word ptr [rax+rax+00h]                                         ; +0x3a, 0x10069c67a\nmov     rax, [r14+498h]                                                ; +0x40, 0x10069c680\nmov     rdi, [r14+500h]                                                ; +0x47, 0x10069c687\nmovsx   esi, word ptr [rax+r12*2]                                      ; +0x4e, 0x10069c68e\nmov     rdx, rbx                                                       ; +0x53, 0x10069c693\nmov     ecx, r15d                                                      ; +0x56, 0x10069c696\ncall    GJEffectManager__colorForGroupID                               ; +0x59, 0x10069c699\nmov     [r14+27Dh], ax                                                 ; +0x5e, 0x10069c69e\nshr     eax, 10h                                                       ; +0x66, 0x10069c6a6\nmov     [r14+27Fh], al                                                 ; +0x69, 0x10069c6a9\ninc     r12                                                            ; +0x70, 0x10069c6b0\nmovsx   rax, word ptr [r14+4A0h]                                       ; +0x73, 0x10069c6b3\ncmp     r12, rax                                                       ; +0x7b, 0x10069c6bb\njl      short loc_10069C680                                            ; +0x7e, 0x10069c6be\nmov     rax, rbx                                                       ; +0x80, 0x10069c6c0\npop     rbx                                                            ; +0x83, 0x10069c6c3\npop     r12                                                            ; +0x84, 0x10069c6c4\npop     r14                                                            ; +0x86, 0x10069c6c6\npop     r15                                                            ; +0x88, 0x10069c6c8\npop     rbp                                                            ; +0x8a, 0x10069c6ca\nretn                                                                   ; +0x8b, 0x10069c6cb", "xrefs": [], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}