{"type": "func", "start": 4297465348, "end": 4297465412, "name": "GameObject::isColorObject", "pseudocode": "// \n// GameObject::isColorObject from 0x100261e04 to 0x100261e44 (64 bytes)\n// \n// 4 xrefs:\n// > LevelEditorLayer::updateVisibility @ 0x10035ebe8\n// > EditorUI::enableButton @ 0x1003e6fa4\n// > EditorUI::disableButton @ 0x1003e7110\n// > EditorUI::getCreateBtn @ 0x1003ea3d4\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  int m_defaultColorID; // w8\n\n  if ( a1->m_customColorType == 1 || !a1->m_customColorType && a1->m_maybeNotColorable || a1->m_colorSprite )\n    return 0;\n  m_defaultColorID = a1->m_baseColor->m_defaultColorID;\n  return m_defaultColorID != 1004 && m_defaultColorID != 0;\n}", "assembly": "; \n; GameObject::isColorObject from 0x100261e04 to 0x100261e44 (64 bytes)\n; \n; 4 xrefs:\n; > LevelEditorLayer::updateVisibility @ 0x10035ebe8\n; > EditorUI::enableButton @ 0x1003e6fa4\n; > EditorUI::disableButton @ 0x1003e7110\n; > EditorUI::getCreateBtn @ 0x1003ea3d4\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\nLDRH            W8, [X0,#0x410]                                        ; +0x0, 0x100261e04\nCMP             W8, #1                                                 ; +0x4, 0x100261e08\nB.EQ            loc_100261E24                                          ; +0x8, 0x100261e0c\nCBNZ            W8, loc_100261E1C                                      ; +0xc, 0x100261e10\nLDRB            W8, [X0,#0x50C]                                        ; +0x10, 0x100261e14\nTBNZ            W8, #0, loc_100261E24                                  ; +0x14, 0x100261e18\nLDR             X8, [X0,#0x378]                                        ; +0x18, 0x100261e1c\nCBZ             X8, loc_100261E2C                                      ; +0x1c, 0x100261e20\nMOV             W0, #0                                                 ; +0x20, 0x100261e24\nRET                                                                    ; +0x24, 0x100261e28\nLDR             X8, [X0,#0x448]                                        ; +0x28, 0x100261e2c\nLDR             W8, [X8,#4]                                            ; +0x2c, 0x100261e30\nCMP             W8, #0x3EC                                             ; +0x30, 0x100261e34\nCCMP            W8, #0, #4, NE                                         ; +0x34, 0x100261e38\nCSET            W0, NE                                                 ; +0x38, 0x100261e3c\nRET                                                                    ; +0x3c, 0x100261e40", "xrefs": ["LevelEditorLayer::updateVisibility @ 0x10035ebe8", "EditorUI::enableButton @ 0x1003e6fa4", "EditorUI::disableButton @ 0x1003e7110", "EditorUI::getCreateBtn @ 0x1003ea3d4"], "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"}