{"type": "func", "start": 3663628, "end": 3663666, "name": "EditorUI::isLiveColorSelectTrigger", "pseudocode": "// \n// EditorUI::isLiveColorSelectTrigger from 0x37e70c to 0x37e732 (38 bytes)\n// \n// 1 xrefs:\n// > EditorUI::getEditColorTargets @ 0x37faa2\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 EditorUI::isLiveColorSelectTrigger(EditorUI *a1, GameObject *a2)\n{\n  bool result; // r0\n\n  if ( !a2 || a2->m_classType != Effect )\n    return 0;\n  result = a2->m_isColorTrigger;\n  if ( !result )\n    return a2->m_objectID == 1006;\n  return result;\n}", "assembly": "; \n; EditorUI::isLiveColorSelectTrigger from 0x37e70c to 0x37e732 (38 bytes)\n; \n; 1 xrefs:\n; > EditorUI::getEditColorTargets @ 0x37faa2\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\nCBZ             R1, loc_37E716                                         ; +0x0, 0x37e70c\nLDR.W           R3, [R1,#0x434]                                        ; +0x2, 0x37e70e\nCMP             R3, #1                                                 ; +0x6, 0x37e712\nBEQ             loc_37E71A                                             ; +0x8, 0x37e714\nMOVS            R0, #0                                                 ; +0xa, 0x37e716\nBX              LR                                                     ; +0xc, 0x37e718\nLDRB.W          R0, [R1,#0x43A]                                        ; +0xe, 0x37e71a\nCBNZ            R0, locret_37E730                                      ; +0x12, 0x37e71e\nLDR.W           R3, [R1,#0x374]                                        ; +0x14, 0x37e720\nMOVW            R0, #0x3EE                                             ; +0x18, 0x37e724\nSUBS            R3, R3, R0                                             ; +0x1c, 0x37e728\nNEGS            R0, R3                                                 ; +0x1e, 0x37e72a\nADCS            R0, R3                                                 ; +0x20, 0x37e72c\nBX              LR                                                     ; +0x22, 0x37e72e\nBX              LR                                                     ; +0x24, 0x37e730", "xrefs": ["EditorUI::getEditColorTargets @ 0x37faa2"], "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"}