{"type": "func", "start": 5371455904, "end": 5371455935, "name": "GameObject::getMainColorMode", "pseudocode": "// \n// GameObject::getMainColorMode from 0x14029e9a0 to 0x14029e9bf (31 bytes)\n// \n// 1 xrefs:\n// > GameObject::setupCustomSprites @ 0x1402b7930\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 11:29:15 +0000\n// \n\n__int64 __fastcall GameObject::getMainColorMode(__int64 a1)\n{\n  unsigned int *v1; // rdx\n  __int64 result; // rax\n  unsigned int v3; // ecx\n\n  v1 = *(unsigned int **)(a1 + 1104);\n  if ( !v1 )\n    return 0;\n  result = *v1;\n  v3 = v1[1];\n  if ( v3 == (_DWORD)result || !(_DWORD)result )\n    return v3;\n  return result;\n}", "assembly": "; \n; GameObject::getMainColorMode from 0x14029e9a0 to 0x14029e9bf (31 bytes)\n; \n; 1 xrefs:\n; > GameObject::setupCustomSprites @ 0x1402b7930\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 11:29:15 +0000\n; \nmov     rdx, [rcx+450h]                                                ; +0x0, 0x14029e9a0\ntest    rdx, rdx                                                       ; +0x7, 0x14029e9a7\njz      short loc_14029E9BC                                            ; +0xa, 0x14029e9aa\nmov     eax, [rdx]                                                     ; +0xc, 0x14029e9ac\nmov     ecx, [rdx+4]                                                   ; +0xe, 0x14029e9ae\ncmp     ecx, eax                                                       ; +0x11, 0x14029e9b1\njz      short loc_14029E9B9                                            ; +0x13, 0x14029e9b3\ntest    eax, eax                                                       ; +0x15, 0x14029e9b5\njnz     short locret_14029E9BE                                         ; +0x17, 0x14029e9b7\nmov     eax, ecx                                                       ; +0x19, 0x14029e9b9\nretn                                                                   ; +0x1b, 0x14029e9bb\nxor     eax, eax                                                       ; +0x1c, 0x14029e9bc\nretn                                                                   ; +0x1e, 0x14029e9be", "xrefs": ["GameObject::setupCustomSprites @ 0x1402b7930"], "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"}