{"type": "func", "start": 4297469164, "end": 4297469280, "name": "GameObject::isBasicTrigger", "pseudocode": "// \n// GameObject::isBasicTrigger from 0x100262cec to 0x100262d60 (116 bytes)\n// \n// 3 xrefs:\n// > EditorUI::editObject @ 0x1003e4980\n// > EditorUI::editObject @ 0x1003e55ec\n// > EditorUI::editButtonUsable @ 0x1003f4cac\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::isBasicTrigger(GameObject *a1)\n{\n  int m_objectID; // w8\n  bool result; // w0\n  bool v3; // zf\n  bool v4; // zf\n\n  m_objectID = a1->m_objectID;\n  result = 1;\n  if ( m_objectID > 1817 )\n  {\n    v4 = (unsigned int)(m_objectID - 3017) > 6 || m_objectID == 3022;\n    if ( v4 && (unsigned int)(m_objectID - 1818) >= 2 && m_objectID != 1915 )\n      return 0;\n  }\n  else\n  {\n    v3 = (unsigned int)m_objectID > 0x3B || ((1LL << m_objectID) & 0xF8000031FC00000LL) == 0;\n    if ( v3 && (unsigned int)(m_objectID - 1612) >= 2 )\n      return 0;\n  }\n  return result;\n}", "assembly": "; \n; GameObject::isBasicTrigger from 0x100262cec to 0x100262d60 (116 bytes)\n; \n; 3 xrefs:\n; > EditorUI::editObject @ 0x1003e4980\n; > EditorUI::editObject @ 0x1003e55ec\n; > EditorUI::editButtonUsable @ 0x1003f4cac\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, 0x100262cec\nMOV             W0, #1                                                 ; +0x4, 0x100262cf0\nCMP             W8, #0x719                                             ; +0x8, 0x100262cf4\nB.GT            loc_100262D24                                          ; +0xc, 0x100262cf8\nCMP             W8, #0x3B ; ';'                                        ; +0x10, 0x100262cfc\nMOV             W9, #1                                                 ; +0x14, 0x100262d00\nLSL             X9, X9, X8                                             ; +0x18, 0x100262d04\nMOV             X10, #0xF8000031FC00000                                ; +0x1c, 0x100262d08\nAND             X9, X9, X10                                            ; +0x28, 0x100262d14\nCCMP            X9, #0, #4, LS                                         ; +0x2c, 0x100262d18\nB.EQ            loc_100262D4C                                          ; +0x30, 0x100262d1c\nRET                                                                    ; +0x34, 0x100262d20\nSUB             W9, W8, #0xBC9                                         ; +0x38, 0x100262d24\nCMP             W9, #6                                                 ; +0x3c, 0x100262d28\nCCMP            W9, #5, #4, LS                                         ; +0x40, 0x100262d2c\nB.NE            locret_100262D20                                       ; +0x44, 0x100262d30\nSUB             W9, W8, #0x71A                                         ; +0x48, 0x100262d34\nCMP             W9, #2                                                 ; +0x4c, 0x100262d38\nB.CC            locret_100262D20                                       ; +0x50, 0x100262d3c\nCMP             W8, #0x77B                                             ; +0x54, 0x100262d40\nB.EQ            locret_100262D20                                       ; +0x58, 0x100262d44\nB               loc_100262D58                                          ; +0x5c, 0x100262d48\nSUB             W8, W8, #0x64C                                         ; +0x60, 0x100262d4c\nCMP             W8, #2                                                 ; +0x64, 0x100262d50\nB.CC            locret_100262D20                                       ; +0x68, 0x100262d54\nMOV             W0, #0                                                 ; +0x6c, 0x100262d58\nRET                                                                    ; +0x70, 0x100262d5c", "xrefs": ["EditorUI::editObject @ 0x1003e4980", "EditorUI::editObject @ 0x1003e55ec", "EditorUI::editButtonUsable @ 0x1003f4cac"], "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"}