{"type": "func", "start": 4297467712, "end": 4297467796, "name": "GameObject::isColorTrigger", "pseudocode": "// \n// GameObject::isColorTrigger from 0x100262740 to 0x100262794 (84 bytes)\n// \n// 2 xrefs:\n// > LevelEditorLayer::addSpecial @ 0x100359f20\n// > LevelEditorLayer::removeSpecial @ 0x10035b81c\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::isColorTrigger(GameObject *a1)\n{\n  int m_objectID; // w8\n  bool result; // w0\n  unsigned int v3; // w8\n  bool v4; // cc\n  int v5; // w8\n\n  m_objectID = a1->m_objectID;\n  result = 1;\n  if ( m_objectID > 898 )\n  {\n    v3 = m_objectID - 899;\n    v4 = v3 > 0x10;\n    v5 = (1 << v3) & 0x10003;\n    if ( v4 || v5 == 0 )\n      return 0;\n  }\n  else if ( (unsigned int)(m_objectID - 29) >= 2 && m_objectID != 105 && m_objectID != 744 )\n  {\n    return 0;\n  }\n  return result;\n}", "assembly": "; \n; GameObject::isColorTrigger from 0x100262740 to 0x100262794 (84 bytes)\n; \n; 2 xrefs:\n; > LevelEditorLayer::addSpecial @ 0x100359f20\n; > LevelEditorLayer::removeSpecial @ 0x10035b81c\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             W8, [X0,#0x404]                                        ; +0x0, 0x100262740\nMOV             W0, #1                                                 ; +0x4, 0x100262744\nCMP             W8, #0x382                                             ; +0x8, 0x100262748\nB.GT            loc_100262774                                          ; +0xc, 0x10026274c\nSUB             W9, W8, #0x1D                                          ; +0x10, 0x100262750\nCMP             W9, #2                                                 ; +0x14, 0x100262754\nB.CC            locret_100262790                                       ; +0x18, 0x100262758\nCMP             W8, #0x69 ; 'i'                                        ; +0x1c, 0x10026275c\nB.EQ            locret_100262790                                       ; +0x20, 0x100262760\nCMP             W8, #0x2E8                                             ; +0x24, 0x100262764\nB.EQ            locret_100262790                                       ; +0x28, 0x100262768\nMOV             W0, #0                                                 ; +0x2c, 0x10026276c\nRET                                                                    ; +0x30, 0x100262770\nSUB             W8, W8, #0x383                                         ; +0x34, 0x100262774\nCMP             W8, #0x10                                              ; +0x38, 0x100262778\nLSL             W8, W0, W8                                             ; +0x3c, 0x10026277c\nAND             W8, W8, #0x1FFFF                                       ; +0x40, 0x100262780\nAND             W8, W8, #0xFFFF0003                                    ; +0x44, 0x100262784\nCCMP            W8, #0, #4, LS                                         ; +0x48, 0x100262788\nB.EQ            loc_10026276C                                          ; +0x4c, 0x10026278c\nRET                                                                    ; +0x50, 0x100262790", "xrefs": ["LevelEditorLayer::addSpecial @ 0x100359f20", "LevelEditorLayer::removeSpecial @ 0x10035b81c"], "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"}