{"type": "func", "start": 4301895504, "end": 4301895550, "name": "GameObject::canChangeCustomColor", "pseudocode": "// \n// GameObject::canChangeCustomColor from 0x10069b750 to 0x10069b77e (46 bytes)\n// \n// 6 xrefs:\n// > EditorUI::editObject @ 0x1000097fa\n// > EditorUI::editObject @ 0x100009940\n// > EditorUI::editButtonUsable @ 0x100017c1f\n// > EditorUI::editButtonUsable @ 0x100017c62\n// > EditorUI::getEditColorTargets @ 0x100019710\n// > CustomizeObjectLayer::init @ 0x1001d89e5\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\nbool __fastcall GameObject::canChangeCustomColor(__int64 a1)\n{\n  bool result; // al\n  __int64 v2; // rax\n\n  result = 1;\n  if ( !*(_DWORD *)(*(_QWORD *)(a1 + 1096) + 4LL) )\n  {\n    v2 = *(_QWORD *)(a1 + 1104);\n    return v2 && *(_DWORD *)(v2 + 4) != 0;\n  }\n  return result;\n}", "assembly": "; \n; GameObject::canChangeCustomColor from 0x10069b750 to 0x10069b77e (46 bytes)\n; \n; 6 xrefs:\n; > EditorUI::editObject @ 0x1000097fa\n; > EditorUI::editObject @ 0x100009940\n; > EditorUI::editButtonUsable @ 0x100017c1f\n; > EditorUI::editButtonUsable @ 0x100017c62\n; > EditorUI::getEditColorTargets @ 0x100019710\n; > CustomizeObjectLayer::init @ 0x1001d89e5\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, 0x10069b750\nmov     rbp, rsp                                                       ; +0x1, 0x10069b751\nmov     rcx, [rdi+448h]                                                ; +0x4, 0x10069b754\nmov     al, 1                                                          ; +0xb, 0x10069b75b\ncmp     dword ptr [rcx+4], 0                                           ; +0xd, 0x10069b75d\njz      short loc_10069B765                                            ; +0x11, 0x10069b761\npop     rbp                                                            ; +0x13, 0x10069b763\nretn                                                                   ; +0x14, 0x10069b764\nmov     rax, [rdi+450h]                                                ; +0x15, 0x10069b765\ntest    rax, rax                                                       ; +0x1c, 0x10069b76c\njz      short loc_10069B77A                                            ; +0x1f, 0x10069b76f\ncmp     dword ptr [rax+4], 0                                           ; +0x21, 0x10069b771\nsetnz   al                                                             ; +0x25, 0x10069b775\npop     rbp                                                            ; +0x28, 0x10069b778\nretn                                                                   ; +0x29, 0x10069b779\nxor     eax, eax                                                       ; +0x2a, 0x10069b77a\npop     rbp                                                            ; +0x2c, 0x10069b77c\nretn                                                                   ; +0x2d, 0x10069b77d", "xrefs": ["EditorUI::editObject @ 0x1000097fa", "EditorUI::editObject @ 0x100009940", "EditorUI::editButtonUsable @ 0x100017c1f", "EditorUI::editButtonUsable @ 0x100017c62", "EditorUI::getEditColorTargets @ 0x100019710", "CustomizeObjectLayer::init @ 0x1001d89e5"], "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"}