// // GameObject::isTrigger from 0x100259a14 to 0x100259c04 (496 bytes) // // 6 xrefs: // > GameObject::customSetup @ 0x100257dbc // > EditorUI::updateScaleControl @ 0x1003ef2ec // > EditorUI::updateScaleControl @ 0x1003ef35c // > EditorUI::scaleObjects @ 0x1003ef970 // > EditorUI::onTargetIDChange @ 0x1003f7dc4 // > EditorUI::onTargetIDChange @ 0x1003f7e08 // // 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 __fastcall GameObject::isTrigger(GameObject *a1) { int m_objectID; // w8 bool result; // w0 unsigned int v5; // w8 __int64 v6; // x8 __int64 v7; // x9 unsigned int v9; // w8 bool v10; // zf unsigned int v11; // w8 m_objectID = a1->m_objectID; result = 1; if ( m_objectID > 2898 ) { if ( (unsigned int)(m_objectID - 2999) <= 0x22 && ((1LL << ((unsigned __int8)m_objectID + 73)) & 0x5C3FFFF81LL) != 0 ) return result; if ( (unsigned int)(m_objectID - 2899) <= 0x1A && ((1 << (m_objectID - 83)) & 0x7F7FD77) != 0 ) return result; v5 = m_objectID - 3600; if ( v5 <= 0x3E ) { v6 = 1LL << v5; v7 = 0x70800300001EF3FDLL; LABEL_14: if ( (v6 & v7) != 0 ) return result; } return 0; } if ( m_objectID > 1519 ) { if ( m_objectID <= 1911 ) { v10 = (unsigned int)(m_objectID - 1811) > 8 || ((1 << (m_objectID - 19)) & 0x1DB) == 0; if ( v10 && ((unsigned int)(m_objectID - 1585) > 0x1F || ((1 << (m_objectID - 49)) & 0x9C000401) == 0) && m_objectID != 1520 ) { return 0; } } else if ( (unsigned int)(m_objectID - 1912) > 0x17 || ((1 << (m_objectID - 120)) & 0xD8003F) == 0 ) { v9 = m_objectID - 2015; if ( v9 > 0x35 ) return 0; v6 = 1LL << v9; v7 = 0x38800000000001LL; goto LABEL_14; } } else { if ( m_objectID <= 54 ) { if ( (unsigned int)(m_objectID - 22) < 0xC ) return result; return 0; } if ( m_objectID <= 898 ) { if ( ((unsigned int)(m_objectID - 55) > 0x32 || ((1LL << ((unsigned __int8)m_objectID - 55)) & 0x400000000001FLL) == 0) && m_objectID != 744 ) { return 0; } } else { if ( m_objectID <= 1005 ) { v11 = m_objectID - 899; if ( v11 <= 0x10 && ((1 << v11) & 0x10007) != 0 ) return result; return 0; } if ( ((unsigned int)(m_objectID - 1006) > 0x2B || ((1LL << ((unsigned __int8)m_objectID + 18)) & 0x80000000003LL) == 0) && (unsigned int)(m_objectID - 1346) >= 2 && m_objectID != 1268 ) { return 0; } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source