{"type": "func", "start": 4297465204, "end": 4297465236, "name": "GameObject::canChangeSecondaryColor", "pseudocode": "// \n// GameObject::canChangeSecondaryColor from 0x100261d74 to 0x100261d94 (32 bytes)\n// \n// 2 xrefs:\n// > EditorUI::getEditColorTargets @ 0x1003f5aa0\n// > EditorUI::getEditColorTargets @ 0x1003f5afc\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::canChangeSecondaryColor(GameObject *a1)\n{\n  GJSpriteColor *m_detailColor; // x8\n\n  m_detailColor = a1->m_detailColor;\n  return m_detailColor && m_detailColor->m_defaultColorID != 0;\n}", "assembly": "; \n; GameObject::canChangeSecondaryColor from 0x100261d74 to 0x100261d94 (32 bytes)\n; \n; 2 xrefs:\n; > EditorUI::getEditColorTargets @ 0x1003f5aa0\n; > EditorUI::getEditColorTargets @ 0x1003f5afc\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,#0x450]                                        ; +0x0, 0x100261d74\nCBZ             X8, loc_100261D8C                                      ; +0x4, 0x100261d78\nLDR             W8, [X8,#4]                                            ; +0x8, 0x100261d7c\nCMP             W8, #0                                                 ; +0xc, 0x100261d80\nCSET            W0, NE                                                 ; +0x10, 0x100261d84\nRET                                                                    ; +0x14, 0x100261d88\nMOV             W0, #0                                                 ; +0x18, 0x100261d8c\nRET                                                                    ; +0x1c, 0x100261d90", "xrefs": ["EditorUI::getEditColorTargets @ 0x1003f5aa0", "EditorUI::getEditColorTargets @ 0x1003f5afc"], "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"}