{"type": "func", "start": 4301037728, "end": 4301037756, "name": "GameObject::canChangeSecondaryColor", "pseudocode": "// \n// GameObject::canChangeSecondaryColor from 0x1005ca0a0 to 0x1005ca0bc (28 bytes)\n// \n// 5 xrefs:\n// > EditorUI::getEditColorTargets @ 0x100049c66\n// > EditorUI::getEditColorTargets @ 0x100049d1c\n// > EditorUI::getEditColorTargets @ 0x100049d6d\n// > EditorUI::getEditColorTargets @ 0x100049d8d\n// > EditorUI::getEditColorTargets @ 0x100049d9e\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; // rax\n\n  m_detailColor = a1->m_detailColor;\n  return m_detailColor && m_detailColor->m_defaultColorID != 0;\n}", "assembly": "; \n; GameObject::canChangeSecondaryColor from 0x1005ca0a0 to 0x1005ca0bc (28 bytes)\n; \n; 5 xrefs:\n; > EditorUI::getEditColorTargets @ 0x100049c66\n; > EditorUI::getEditColorTargets @ 0x100049d1c\n; > EditorUI::getEditColorTargets @ 0x100049d6d\n; > EditorUI::getEditColorTargets @ 0x100049d8d\n; > EditorUI::getEditColorTargets @ 0x100049d9e\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\nmov     rax, [rdi+450h]                                                ; +0x0, 0x1005ca0a0\ntest    rax, rax                                                       ; +0x7, 0x1005ca0a7\njz      short loc_1005CA0B9                                            ; +0xa, 0x1005ca0aa\npush    rbp                                                            ; +0xc, 0x1005ca0ac\nmov     rbp, rsp                                                       ; +0xd, 0x1005ca0ad\ncmp     dword ptr [rax+4], 0                                           ; +0x10, 0x1005ca0b0\nsetnz   al                                                             ; +0x14, 0x1005ca0b4\npop     rbp                                                            ; +0x17, 0x1005ca0b7\nretn                                                                   ; +0x18, 0x1005ca0b8\nxor     eax, eax                                                       ; +0x19, 0x1005ca0b9\nretn                                                                   ; +0x1b, 0x1005ca0bb", "xrefs": ["EditorUI::getEditColorTargets @ 0x100049c66", "EditorUI::getEditColorTargets @ 0x100049d1c", "EditorUI::getEditColorTargets @ 0x100049d6d", "EditorUI::getEditColorTargets @ 0x100049d8d", "EditorUI::getEditColorTargets @ 0x100049d9e"], "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"}