// // GameObject::shouldLockX from 0x354492 to 0x3545bc (298 bytes) // // 2 xrefs: // > GameObject::customSetup @ 0x3604de // > LevelEditorLayer::addSpecial @ 0x370d8a // // 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::shouldLockX(GameObject *a1) { int m_objectID; // r3 unsigned int v2; // r3 bool v3; // cf bool v4; // zf unsigned int v5; // r3 unsigned int v6; // r3 int v7; // r3 int v8; // r2 m_objectID = a1->m_objectID; if ( m_objectID > 1917 ) { if ( m_objectID > 3021 ) { if ( m_objectID > 3609 ) { if ( m_objectID == 3640 ) return 1; if ( m_objectID <= 3640 ) { v7 = m_objectID - 3612; goto LABEL_25; } v6 = m_objectID - 3660; } else { if ( m_objectID >= 3602 ) return 1; if ( m_objectID < 3023 ) return 0; if ( m_objectID <= 3024 ) return 1; v6 = m_objectID - 3029; } LABEL_51: v3 = v6 >= 2; v4 = v6 == 2; return v4 || !v3; } if ( m_objectID >= 3006 ) return 1; if ( m_objectID > 2068 ) { if ( m_objectID == 2925 ) return 1; if ( m_objectID <= 2925 ) { v7 = m_objectID - 2900; goto LABEL_25; } v8 = 2999; } else { if ( m_objectID >= 2067 || m_objectID == 2015 ) return 1; if ( m_objectID < 2016 ) { v7 = m_objectID - 1934; goto LABEL_25; } v8 = 2062; } return m_objectID == v8; } if ( m_objectID >= 1912 || m_objectID == 915 ) return 1; if ( m_objectID >= 916 ) { if ( m_objectID > 1347 ) { if ( m_objectID == 1812 ) return 1; if ( m_objectID > 1812 ) { v7 = m_objectID - 1814; goto LABEL_25; } return m_objectID == 1616; } if ( m_objectID >= 1346 || m_objectID == 1049 ) return 1; if ( m_objectID <= 1049 ) { v7 = m_objectID - 1006; LABEL_25: v3 = v7 != 0; v4 = v7 == 1; return v4 || !v3; } if ( m_objectID == 1268 ) return 1; v8 = 1334; return m_objectID == v8; } if ( m_objectID == 105 ) return 1; if ( m_objectID > 105 ) { if ( m_objectID == 744 ) return 1; if ( m_objectID <= 744 ) { v5 = m_objectID - 200; v3 = v5 >= 3; v4 = v5 == 3; return v4 || !v3; } v6 = m_objectID - 899; goto LABEL_51; } if ( m_objectID < 22 ) return 0; if ( m_objectID > 34 ) { v2 = m_objectID - 55; v3 = v2 >= 4; v4 = v2 == 4; return v4 || !v3; } return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source