// // GameObject::isTrigger from 0x358e40 to 0x358ff0 (432 bytes) // // 6 xrefs: // > GameObject::customSetup @ 0x360524 // > EditorUI::onTargetIDChange @ 0x381192 // > EditorUI::onTargetIDChange @ 0x3811b8 // > EditorUI::scaleObjects @ 0x39e4b6 // > EditorUI::updateScaleControl @ 0x3a0378 // > EditorUI::updateScaleControl @ 0x3a0396 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // bool GameObject::isTrigger(GameObject *a1) { int m_objectID; // r3 bool v2; // cc unsigned int v4; // r3 int v5; // r2 unsigned int v6; // r3 m_objectID = a1->m_objectID; if ( m_objectID >= 1936 ) { if ( m_objectID > 3024 ) { if ( m_objectID >= 3616 ) { if ( m_objectID <= 3641 ) { if ( m_objectID >= 3640 ) return 1; v2 = (unsigned int)(m_objectID - 3617) > 3; return !v2; } if ( m_objectID == 3655 ) return 1; if ( m_objectID < 3655 ) return 0; v6 = m_objectID - 3660; } else { if ( m_objectID >= 3612 || m_objectID == 3033 ) return 1; if ( m_objectID > 3033 ) { if ( m_objectID != 3600 ) { if ( m_objectID < 3600 ) return 0; v2 = (unsigned int)(m_objectID - 3602) > 7; return !v2; } return 1; } v6 = m_objectID - 3029; } } else { if ( m_objectID >= 3006 ) return 1; if ( m_objectID > 2905 ) { if ( m_objectID > 2917 ) { if ( m_objectID < 2919 ) return 0; if ( m_objectID <= 2925 ) return 1; v5 = 2999; } else { if ( m_objectID >= 2909 ) return 1; v5 = 2907; } return m_objectID == v5; } if ( m_objectID >= 2903 ) return 1; if ( m_objectID <= 2068 ) { if ( m_objectID >= 2066 || m_objectID == 2015 ) return 1; v5 = 2062; return m_objectID == v5; } v6 = m_objectID - 2899; } LABEL_67: v2 = v6 > 2; return !v2; } if ( m_objectID >= 1934 || m_objectID == 1520 ) return 1; if ( m_objectID > 1520 ) { if ( m_objectID < 1816 ) { if ( m_objectID >= 1814 ) return 1; if ( m_objectID <= 1613 ) { if ( m_objectID >= 1611 || m_objectID == 1585 ) return 1; v5 = 1595; return m_objectID == v5; } if ( m_objectID == 1616 ) return 1; if ( m_objectID < 1616 ) return 0; v4 = m_objectID - 1811; LABEL_20: v2 = v4 > 1; return !v2; } if ( m_objectID > 1917 ) { v4 = m_objectID - 1931; goto LABEL_20; } if ( m_objectID >= 1912 ) return 1; v6 = m_objectID - 1817; goto LABEL_67; } if ( m_objectID > 901 ) { if ( m_objectID == 1049 ) return 1; if ( m_objectID > 1049 ) { if ( m_objectID == 1268 ) return 1; if ( m_objectID < 1268 ) return 0; v4 = m_objectID - 1346; } else { if ( m_objectID == 915 ) return 1; if ( m_objectID < 915 ) return 0; v4 = m_objectID - 1006; } goto LABEL_20; } if ( m_objectID >= 899 ) return 1; if ( m_objectID > 59 ) { if ( m_objectID == 105 ) return 1; return m_objectID == 744; } if ( m_objectID < 55 ) { v2 = (unsigned int)(m_objectID - 22) > 0xB; return !v2; } return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source