// // GameObject::isSpawnableTrigger from 0x10026255c to 0x100262740 (484 bytes) // // 5 xrefs: // > GJBaseGameLayer::spawnObjectsInOrder @ 0x1001ec320 // > GJBaseGameLayer::spawnObject @ 0x1001ec484 // > EditorUI::editObject @ 0x1003e4a04 // > EditorUI::createLoop @ 0x1003f371c // > EditorUI::editButtonUsable @ 0x1003f4e6c // // 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::isSpawnableTrigger(GameObject *a1) { int m_objectID; // w8 bool result; // w0 bool v3; // zf unsigned int v5; // w8 __int64 v6; // x8 __int64 v7; // x9 unsigned int v8; // w8 bool v9; // zf unsigned int v10; // w8 m_objectID = a1->m_objectID; result = 1; if ( m_objectID > 2998 ) { if ( (unsigned int)(m_objectID - 2999) <= 0x22 && ((1LL << ((unsigned __int8)m_objectID + 73)) & 0x5C3FFFF81LL) != 0 ) return result; v5 = m_objectID - 3600; if ( v5 <= 0x3E ) { v6 = 1LL << v5; v7 = 0x70800300001EF3FDLL; goto LABEL_26; } return 0; } if ( m_objectID <= 1911 ) { if ( m_objectID > 1519 ) { v9 = (unsigned int)(m_objectID - 1811) > 8 || ((1 << (m_objectID - 19)) & 0x1DB) == 0; if ( v9 && ((unsigned int)(m_objectID - 1585) > 0x1F || ((1 << (m_objectID - 49)) & 0x9C000401) == 0) && m_objectID != 1520 ) { return 0; } } else if ( m_objectID <= 898 ) { if ( ((unsigned int)m_objectID > 0x21 || ((1LL << m_objectID) & 0x360000000LL) == 0) && m_objectID != 105 && m_objectID != 744 ) { return 0; } } else if ( m_objectID <= 1005 ) { v10 = m_objectID - 899; if ( v10 > 0x10 || ((1 << v10) & 0x10007) == 0 ) return 0; } else 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; } v3 = (unsigned int)(m_objectID - 2899) > 0x1A || ((1 << (m_objectID - 83)) & 0x7F7FD77) == 0; if ( !v3 || (unsigned int)(m_objectID - 1912) <= 0x17 && ((1 << (m_objectID - 120)) & 0xD80037) != 0 ) return result; v8 = m_objectID - 2015; if ( v8 > 0x35 ) return 0; v6 = 1LL << v8; v7 = 0x39800000000001LL; LABEL_26: if ( (v6 & v7) == 0 ) return 0; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source