{"type": "func", "start": 4301043136, "end": 4301043204, "name": "GameObject::isColorTrigger", "pseudocode": "// \n// GameObject::isColorTrigger from 0x1005cb5c0 to 0x1005cb604 (68 bytes)\n// \n// 2 xrefs:\n// > LevelEditorLayer::addSpecial @ 0x1000e00d3\n// > LevelEditorLayer::removeSpecial @ 0x1000e251e\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; // ecx\n  bool result; // al\n  unsigned int v3; // ecx\n  int v4; // edx\n\n  m_objectID = a1->m_objectID;\n  result = 1;\n  if ( m_objectID <= 898 )\n  {\n    if ( (unsigned int)(m_objectID - 29) < 2 || m_objectID == 105 || m_objectID == 744 )\n      return result;\n    return 0;\n  }\n  v3 = m_objectID - 899;\n  if ( v3 > 0x10 )\n    return 0;\n  v4 = 65539;\n  if ( !_bittest(&v4, v3) )\n    return 0;\n  return result;\n}", "assembly": "; \n; GameObject::isColorTrigger from 0x1005cb5c0 to 0x1005cb604 (68 bytes)\n; \n; 2 xrefs:\n; > LevelEditorLayer::addSpecial @ 0x1000e00d3\n; > LevelEditorLayer::removeSpecial @ 0x1000e251e\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\npush    rbp                                                            ; +0x0, 0x1005cb5c0\nmov     rbp, rsp                                                       ; +0x1, 0x1005cb5c1\nmov     ecx, [rdi+404h]                                                ; +0x4, 0x1005cb5c4\nmov     al, 1                                                          ; +0xa, 0x1005cb5ca\ncmp     ecx, 382h                                                      ; +0xc, 0x1005cb5cc\njg      short loc_1005CB5EB                                            ; +0x12, 0x1005cb5d2\nlea     edx, [rcx-1Dh]                                                 ; +0x14, 0x1005cb5d4\ncmp     edx, 2                                                         ; +0x17, 0x1005cb5d7\njb      short loc_1005CB5E9                                            ; +0x1a, 0x1005cb5da\ncmp     ecx, 69h ; 'i'                                                 ; +0x1c, 0x1005cb5dc\njz      short loc_1005CB5E9                                            ; +0x1f, 0x1005cb5df\ncmp     ecx, 2E8h                                                      ; +0x21, 0x1005cb5e1\njnz     short loc_1005CB600                                            ; +0x27, 0x1005cb5e7\npop     rbp                                                            ; +0x29, 0x1005cb5e9\nretn                                                                   ; +0x2a, 0x1005cb5ea\nadd     ecx, 0FFFFFC7Dh                                                ; +0x2b, 0x1005cb5eb\ncmp     ecx, 10h                                                       ; +0x31, 0x1005cb5f1\nja      short loc_1005CB600                                            ; +0x34, 0x1005cb5f4\nmov     edx, 10003h                                                    ; +0x36, 0x1005cb5f6\nbt      edx, ecx                                                       ; +0x3b, 0x1005cb5fb\njb      short loc_1005CB5E9                                            ; +0x3e, 0x1005cb5fe\nxor     eax, eax                                                       ; +0x40, 0x1005cb600\npop     rbp                                                            ; +0x42, 0x1005cb602\nretn                                                                   ; +0x43, 0x1005cb603", "xrefs": ["LevelEditorLayer::addSpecial @ 0x1000e00d3", "LevelEditorLayer::removeSpecial @ 0x1000e251e"], "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"}