{"type": "func", "start": 4301895904, "end": 4301895955, "name": "GameObject::resetMainColorMode", "pseudocode": "// \n// GameObject::resetMainColorMode from 0x10069b8e0 to 0x10069b913 (51 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_DWORD *__fastcall GameObject::resetMainColorMode(__int64 a1)\n{\n  _DWORD *result; // rax\n  int v2; // edx\n  int v3; // ecx\n\n  result = *(_DWORD **)(a1 + 1096);\n  if ( result )\n  {\n    v2 = 0;\n    if ( (int)result[1] > 0 )\n      v2 = result[1];\n    v3 = 1101;\n    if ( v2 < 1101 )\n      v3 = v2;\n    result[1] = v3;\n    *result = 0;\n  }\n  return result;\n}", "assembly": "; \n; GameObject::resetMainColorMode from 0x10069b8e0 to 0x10069b913 (51 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+448h]                                                ; +0x0, 0x10069b8e0\ntest    rax, rax                                                       ; +0x7, 0x10069b8e7\njz      short locret_10069B912                                         ; +0xa, 0x10069b8ea\npush    rbp                                                            ; +0xc, 0x10069b8ec\nmov     rbp, rsp                                                       ; +0xd, 0x10069b8ed\nmov     ecx, [rax+4]                                                   ; +0x10, 0x10069b8f0\nxor     edx, edx                                                       ; +0x13, 0x10069b8f3\ntest    ecx, ecx                                                       ; +0x15, 0x10069b8f5\ncmovg   edx, ecx                                                       ; +0x17, 0x10069b8f7\ncmp     edx, 44Dh                                                      ; +0x1a, 0x10069b8fa\nmov     ecx, 44Dh                                                      ; +0x20, 0x10069b900\ncmovl   ecx, edx                                                       ; +0x25, 0x10069b905\nmov     [rax+4], ecx                                                   ; +0x28, 0x10069b908\nmov     dword ptr [rax], 0                                             ; +0x2b, 0x10069b90b\npop     rbp                                                            ; +0x31, 0x10069b911\nretn                                                                   ; +0x32, 0x10069b912", "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"}