{"type": "func", "start": 4301899008, "end": 4301899079, "name": "GameObject::updateSecondaryColorOnly", "pseudocode": "// \n// GameObject::updateSecondaryColorOnly from 0x10069c500 to 0x10069c547 (71 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::updateSecondaryColorOnly(\n        __int64 a1,\n        double a2,\n        double a3,\n        double a4,\n        double a5,\n        double a6,\n        double a7,\n        double a8,\n        double a9)\n{\n  int v9; // esi\n  unsigned __int16 *v10; // rax\n  __int64 result; // rax\n\n  if ( *(_QWORD *)(a1 + 888) )\n  {\n    v9 = *(_DWORD *)(a1 + 660);\n    if ( v9 || *(_WORD *)(a1 + 1168) )\n    {\n      v10 = GameObject::colorForMode(a1, v9, 0, a2, a3, a4, a5, a6, a7, a8, a9);\n      return (*(__int64 (__fastcall **)(__int64, unsigned __int16 *))(*(_QWORD *)a1 + 1592LL))(a1, v10);\n    }\n  }\n  return result;\n}", "assembly": "; \n; GameObject::updateSecondaryColorOnly from 0x10069c500 to 0x10069c547 (71 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; \ncmp     qword ptr [rdi+378h], 0                                        ; +0x0, 0x10069c500\njz      short locret_10069C546                                         ; +0x8, 0x10069c508\nmov     esi, [rdi+294h]                                                ; +0xa, 0x10069c50a\ntest    esi, esi                                                       ; +0x10, 0x10069c510\njnz     short loc_10069C51E                                            ; +0x12, 0x10069c512\ncmp     word ptr [rdi+490h], 0                                         ; +0x14, 0x10069c514\njz      short locret_10069C546                                         ; +0x1c, 0x10069c51c\npush    rbp                                                            ; +0x1e, 0x10069c51e\nmov     rbp, rsp                                                       ; +0x1f, 0x10069c51f\npush    rbx                                                            ; +0x22, 0x10069c522\npush    rax                                                            ; +0x23, 0x10069c523\nmov     rbx, rdi                                                       ; +0x24, 0x10069c524\nxor     edx, edx                                                       ; +0x27, 0x10069c527\ncall    GameObject__colorForMode                                       ; +0x29, 0x10069c529\nmov     rcx, [rbx]                                                     ; +0x2e, 0x10069c52e\nmov     rcx, [rcx+638h]                                                ; +0x31, 0x10069c531\nmov     rdi, rbx                                                       ; +0x38, 0x10069c538\nmov     rsi, rax                                                       ; +0x3b, 0x10069c53b\nadd     rsp, 8                                                         ; +0x3e, 0x10069c53e\npop     rbx                                                            ; +0x42, 0x10069c542\npop     rbp                                                            ; +0x43, 0x10069c543\njmp     rcx                                                            ; +0x44, 0x10069c544\nretn                                                                   ; +0x46, 0x10069c546", "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"}