// // EditorUI::canSelectObject from 0x37d804 to 0x37d882 (126 bytes) // // 2 xrefs: // > EditorUI::getCycledObject @ 0x382094 // > EditorUI::selectObject @ 0x3a2df0 // // 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 EditorUI::canSelectObject(EditorUI *a1, GameObject *a2) { GameManager *v3; // r0 GameManager *v4; // r0 int IntGameVariable; // r1 GameManager *v6; // r0 GameManager *v7; // r0 bool result; // r0 GameManager *v9; // r0 int v10; // r5 v3 = GameManager::sharedState(); result = false; if ( !GameManager::getGameVariable(v3, "0064") || (v6 = GameManager::sharedState(), GameManager::getIntGameVariable(v6, "0005") != 3) || (v7 = GameManager::sharedState(), a2->m_objectID == GameManager::getIntGameVariable(v7, "0006")) ) { v4 = GameManager::sharedState(); IntGameVariable = GameManager::getIntGameVariable(v4, "0133"); if ( !IntGameVariable || GameObject::belongsToGroup(a2, IntGameVariable) ) { v9 = GameManager::sharedState(); v10 = GameManager::getIntGameVariable(v9, "0139"); if ( !v10 || GameObject::getMainColorMode(a2) == v10 || GameObject::getSecondaryColorMode(a2) == v10 ) return true; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source