{"type": "func", "start": 4301895856, "end": 4301895897, "name": "GameObject::setSecondaryColorMode", "pseudocode": "// \n// GameObject::setSecondaryColorMode from 0x10069b8b0 to 0x10069b8d9 (41 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\nint *__fastcall GameObject::setSecondaryColorMode(__int64 a1, int a2)\n{\n  int *result; // rax\n  int v3; // ecx\n  int v4; // edx\n\n  result = *(int **)(a1 + 1104);\n  if ( result )\n  {\n    v3 = 0;\n    if ( a2 > 0 )\n      v3 = a2;\n    v4 = 1101;\n    if ( v3 < 1101 )\n      v4 = v3;\n    *result = v4;\n  }\n  return result;\n}", "assembly": "; \n; GameObject::setSecondaryColorMode from 0x10069b8b0 to 0x10069b8d9 (41 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; \nmov     rax, [rdi+450h]                                                ; +0x0, 0x10069b8b0\ntest    rax, rax                                                       ; +0x7, 0x10069b8b7\njz      short locret_10069B8D8                                         ; +0xa, 0x10069b8ba\npush    rbp                                                            ; +0xc, 0x10069b8bc\nmov     rbp, rsp                                                       ; +0xd, 0x10069b8bd\nxor     ecx, ecx                                                       ; +0x10, 0x10069b8c0\ntest    esi, esi                                                       ; +0x12, 0x10069b8c2\ncmovg   ecx, esi                                                       ; +0x14, 0x10069b8c4\ncmp     ecx, 44Dh                                                      ; +0x17, 0x10069b8c7\nmov     edx, 44Dh                                                      ; +0x1d, 0x10069b8cd\ncmovl   edx, ecx                                                       ; +0x22, 0x10069b8d2\nmov     [rax], edx                                                     ; +0x25, 0x10069b8d5\npop     rbp                                                            ; +0x27, 0x10069b8d7\nretn                                                                   ; +0x28, 0x10069b8d8", "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"}