{"type": "func", "start": 4301037872, "end": 4301037941, "name": "GameObject::isColorObject", "pseudocode": "// \n// GameObject::isColorObject from 0x1005ca130 to 0x1005ca175 (69 bytes)\n// \n// 7 xrefs:\n// > EditorUI::updateCreateMenu @ 0x10002e3a1\n// > EditorUI::updateCreateMenu @ 0x10002e533\n// > EditorUI::updateCreateMenu @ 0x10002e6c1\n// > EditorUI::enableButton @ 0x10002e90f\n// > EditorUI::disableButton @ 0x10002ea3f\n// > EditorUI::getCreateBtn @ 0x100033979\n// > LevelEditorLayer::updateVisibility @ 0x1000eb133\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nbool __fastcall GameObject::isColorObject(GameObject *a1)\n{\n  return a1->m_customColorType != 1\n      && (a1->m_customColorType || !a1->m_maybeNotColorable)\n      && !a1->m_colorSprite\n      && a1->m_baseColor->m_defaultColorID != 1004\n      && a1->m_baseColor->m_defaultColorID != 0;\n}", "assembly": "; \n; GameObject::isColorObject from 0x1005ca130 to 0x1005ca175 (69 bytes)\n; \n; 7 xrefs:\n; > EditorUI::updateCreateMenu @ 0x10002e3a1\n; > EditorUI::updateCreateMenu @ 0x10002e533\n; > EditorUI::updateCreateMenu @ 0x10002e6c1\n; > EditorUI::enableButton @ 0x10002e90f\n; > EditorUI::disableButton @ 0x10002ea3f\n; > EditorUI::getCreateBtn @ 0x100033979\n; > LevelEditorLayer::updateVisibility @ 0x1000eb133\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmovzx   eax, word ptr [rdi+410h]                                       ; +0x0, 0x1005ca130\ncmp     eax, 1                                                         ; +0x7, 0x1005ca137\njz      short loc_1005CA153                                            ; +0xa, 0x1005ca13a\ntest    eax, eax                                                       ; +0xc, 0x1005ca13c\njnz     short loc_1005CA149                                            ; +0xe, 0x1005ca13e\ncmp     byte ptr [rdi+50Ch], 0                                         ; +0x10, 0x1005ca140\njnz     short loc_1005CA153                                            ; +0x17, 0x1005ca147\ncmp     qword ptr [rdi+378h], 0                                        ; +0x19, 0x1005ca149\njz      short loc_1005CA156                                            ; +0x21, 0x1005ca151\nxor     eax, eax                                                       ; +0x23, 0x1005ca153\nretn                                                                   ; +0x25, 0x1005ca155\npush    rbp                                                            ; +0x26, 0x1005ca156\nmov     rbp, rsp                                                       ; +0x27, 0x1005ca157\nmov     rax, [rdi+448h]                                                ; +0x2a, 0x1005ca15a\nmov     eax, [rax+4]                                                   ; +0x31, 0x1005ca161\ncmp     eax, 3ECh                                                      ; +0x34, 0x1005ca164\nsetnz   cl                                                             ; +0x39, 0x1005ca169\ntest    eax, eax                                                       ; +0x3c, 0x1005ca16c\nsetnz   al                                                             ; +0x3e, 0x1005ca16e\nand     al, cl                                                         ; +0x41, 0x1005ca171\npop     rbp                                                            ; +0x43, 0x1005ca173\nretn                                                                   ; +0x44, 0x1005ca174", "xrefs": ["EditorUI::updateCreateMenu @ 0x10002e3a1", "EditorUI::updateCreateMenu @ 0x10002e533", "EditorUI::updateCreateMenu @ 0x10002e6c1", "EditorUI::enableButton @ 0x10002e90f", "EditorUI::disableButton @ 0x10002ea3f", "EditorUI::getCreateBtn @ 0x100033979", "LevelEditorLayer::updateVisibility @ 0x1000eb133"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}