{"type": "func", "start": 4301900992, "end": 4301901060, "name": "GameObject::isColorTrigger", "pseudocode": "// \n// GameObject::isColorTrigger from 0x10069ccc0 to 0x10069cd04 (68 bytes)\n// \n// 2 xrefs:\n// > LevelEditorLayer::addSpecial @ 0x1000af8c3\n// > LevelEditorLayer::removeSpecial @ 0x1000b1d1e\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:35:16 +0000\n// \n\nchar __fastcall GameObject::isColorTrigger(__int64 a1)\n{\n  int v1; // ecx\n  char result; // al\n  unsigned int v3; // ecx\n  int v4; // edx\n\n  v1 = *(_DWORD *)(a1 + 1028);\n  result = 1;\n  if ( v1 <= 898 )\n  {\n    if ( (unsigned int)(v1 - 29) < 2 || v1 == 105 || v1 == 744 )\n      return result;\n    return 0;\n  }\n  v3 = v1 - 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 0x10069ccc0 to 0x10069cd04 (68 bytes)\n; \n; 2 xrefs:\n; > LevelEditorLayer::addSpecial @ 0x1000af8c3\n; > LevelEditorLayer::removeSpecial @ 0x1000b1d1e\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:35:16 +0000\n; \npush    rbp                                                            ; +0x0, 0x10069ccc0\nmov     rbp, rsp                                                       ; +0x1, 0x10069ccc1\nmov     ecx, [rdi+404h]                                                ; +0x4, 0x10069ccc4\nmov     al, 1                                                          ; +0xa, 0x10069ccca\ncmp     ecx, 382h                                                      ; +0xc, 0x10069cccc\njg      short loc_10069CCEB                                            ; +0x12, 0x10069ccd2\nlea     edx, [rcx-1Dh]                                                 ; +0x14, 0x10069ccd4\ncmp     edx, 2                                                         ; +0x17, 0x10069ccd7\njb      short loc_10069CCE9                                            ; +0x1a, 0x10069ccda\ncmp     ecx, 69h ; 'i'                                                 ; +0x1c, 0x10069ccdc\njz      short loc_10069CCE9                                            ; +0x1f, 0x10069ccdf\ncmp     ecx, 2E8h                                                      ; +0x21, 0x10069cce1\njnz     short loc_10069CD00                                            ; +0x27, 0x10069cce7\npop     rbp                                                            ; +0x29, 0x10069cce9\nretn                                                                   ; +0x2a, 0x10069ccea\nadd     ecx, 0FFFFFC7Dh                                                ; +0x2b, 0x10069cceb\ncmp     ecx, 10h                                                       ; +0x31, 0x10069ccf1\nja      short loc_10069CD00                                            ; +0x34, 0x10069ccf4\nmov     edx, 10003h                                                    ; +0x36, 0x10069ccf6\nbt      edx, ecx                                                       ; +0x3b, 0x10069ccfb\njb      short loc_10069CCE9                                            ; +0x3e, 0x10069ccfe\nxor     eax, eax                                                       ; +0x40, 0x10069cd00\npop     rbp                                                            ; +0x42, 0x10069cd02\nretn                                                                   ; +0x43, 0x10069cd03", "xrefs": ["LevelEditorLayer::addSpecial @ 0x1000af8c3", "LevelEditorLayer::removeSpecial @ 0x1000b1d1e"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}