// // GameObject::isEditorSpawnableTrigger from 0x100259fb4 to 0x10025a164 (432 bytes) // // 1 xrefs: // > GameObject::customSetup @ 0x100257f5c // // 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::isEditorSpawnableTrigger(GameObject *a1) { int m_objectID; // w8 bool result; // w0 unsigned int v4; // w8 __int64 v5; // x8 __int64 v6; // x9 bool v9; // zf unsigned int v10; // w8 bool v11; // zf unsigned int v12; // w8 m_objectID = a1->m_objectID; result = 1; if ( m_objectID > 2898 ) { if ( ((unsigned int)(m_objectID - 2899) > 0x1A || ((1 << (m_objectID - 83)) & 0x7F7FD77) == 0) && ((unsigned int)(m_objectID - 3602) > 0x3C || ((1LL << ((unsigned __int8)m_objectID - 18)) & 0x1C2000C00007BCFFLL) == 0) ) { v12 = m_objectID - 2999; if ( v12 > 0x22 ) return 0; v5 = 1LL << v12; v6 = 0x5C283FF81LL; goto LABEL_42; } } else if ( m_objectID > 1810 ) { v9 = (unsigned int)(m_objectID - 1912) > 0x17 || ((1 << (m_objectID - 120)) & 0xD00037) == 0; if ( v9 && ((unsigned int)(m_objectID - 2015) > 0x35 || ((1LL << ((unsigned __int8)m_objectID + 33)) & 0x38800000000001LL) == 0) ) { v10 = m_objectID - 1811; if ( v10 > 6 || ((1 << v10) & 0x59) == 0 ) return 0; } } else { if ( m_objectID <= 1267 ) { if ( m_objectID <= 898 ) { if ( (unsigned int)(m_objectID - 29) < 2 || m_objectID == 105 || m_objectID == 744 ) return result; } else { if ( (unsigned int)(m_objectID - 899) <= 0x10 && ((1 << (m_objectID + 125)) & 0x10007) != 0 ) return result; v4 = m_objectID - 1006; if ( v4 <= 0x2B ) { v5 = 1LL << v4; v6 = 0x80000000003LL; LABEL_42: if ( (v5 & v6) != 0 ) return result; } } return 0; } v11 = (unsigned int)(m_objectID - 1585) > 0x1F || ((1 << (m_objectID - 49)) & 0x9C000401) == 0; if ( v11 && (unsigned int)(m_objectID - 1346) >= 2 && m_objectID != 1268 ) return 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source