{"type": "func", "start": 4297465132, "end": 4297465184, "name": "GameObject::canChangeCustomColor", "pseudocode": "// \n// GameObject::canChangeCustomColor from 0x100261d2c to 0x100261d60 (52 bytes)\n// \n// 6 xrefs:\n// > CustomizeObjectLayer::init @ 0x10004e8a4\n// > EditorUI::editObject @ 0x1003e4ba0\n// > EditorUI::editObject @ 0x1003e4c90\n// > EditorUI::editButtonUsable @ 0x1003f4cbc\n// > EditorUI::editButtonUsable @ 0x1003f4cec\n// > EditorUI::getEditColorTargets @ 0x1003f5a54\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::canChangeCustomColor(GameObject *a1)\n{\n  GJSpriteColor *m_detailColor; // x8\n\n  if ( a1->m_baseColor->m_defaultColorID )\n    return 1;\n  m_detailColor = a1->m_detailColor;\n  return m_detailColor && m_detailColor->m_defaultColorID != 0;\n}", "assembly": "; \n; GameObject::canChangeCustomColor from 0x100261d2c to 0x100261d60 (52 bytes)\n; \n; 6 xrefs:\n; > CustomizeObjectLayer::init @ 0x10004e8a4\n; > EditorUI::editObject @ 0x1003e4ba0\n; > EditorUI::editObject @ 0x1003e4c90\n; > EditorUI::editButtonUsable @ 0x1003f4cbc\n; > EditorUI::editButtonUsable @ 0x1003f4cec\n; > EditorUI::getEditColorTargets @ 0x1003f5a54\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\nLDR             X8, [X0,#0x448]                                        ; +0x0, 0x100261d2c\nLDR             W8, [X8,#4]                                            ; +0x4, 0x100261d30\nCBZ             W8, loc_100261D40                                      ; +0x8, 0x100261d34\nMOV             W0, #1                                                 ; +0xc, 0x100261d38\nRET                                                                    ; +0x10, 0x100261d3c\nLDR             X8, [X0,#0x450]                                        ; +0x14, 0x100261d40\nCBZ             X8, loc_100261D58                                      ; +0x18, 0x100261d44\nLDR             W8, [X8,#4]                                            ; +0x1c, 0x100261d48\nCMP             W8, #0                                                 ; +0x20, 0x100261d4c\nCSET            W0, NE                                                 ; +0x24, 0x100261d50\nRET                                                                    ; +0x28, 0x100261d54\nMOV             W0, #0                                                 ; +0x2c, 0x100261d58\nRET                                                                    ; +0x30, 0x100261d5c", "xrefs": ["CustomizeObjectLayer::init @ 0x10004e8a4", "EditorUI::editObject @ 0x1003e4ba0", "EditorUI::editObject @ 0x1003e4c90", "EditorUI::editButtonUsable @ 0x1003f4cbc", "EditorUI::editButtonUsable @ 0x1003f4cec", "EditorUI::getEditColorTargets @ 0x1003f5a54"], "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"}