// // EditorUI::canSelectObject from 0x1005b8830 to 0x1005b88f0 (192 bytes) // // 4 xrefs: // > EditorUI::onDelete @ 0x10000c9b6 // > EditorUI::getCycledObject @ 0x10000fd69 // > EditorUI::getCycledObject @ 0x10000fdb9 // > EditorUI::selectObject @ 0x1005b8774 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:32:42 +0000 // bool __fastcall EditorUI::canSelectObject(double a1, __int64 a2, __int64 a3) { __int64 v3; // rax __int64 v4; // rax __int64 v5; // rax __int64 v6; // rax unsigned int IntGameVariable; // eax __int64 v8; // rax int v9; // eax int v10; // r14d bool result; // al v3 = GameManager::sharedState(); result = false; if ( !(unsigned __int8)GameManager::getGameVariable(v3, "0064") || (v4 = GameManager::sharedState(), (unsigned int)GameManager::getIntGameVariable(v4, "0005") != 3) || (v5 = GameManager::sharedState(), *(_DWORD *)(a3 + 1028) == (unsigned int)GameManager::getIntGameVariable(v5, "0006")) ) { v6 = GameManager::sharedState(); IntGameVariable = GameManager::getIntGameVariable(v6, "0133"); if ( !IntGameVariable || (unsigned __int8)GameObject::belongsToGroup(a3, IntGameVariable) ) { v8 = GameManager::sharedState(); v9 = GameManager::getIntGameVariable(v8, "0139"); if ( !v9 ) return true; v10 = v9; if ( (unsigned int)GameObject::getMainColorMode(a3) == v9 || (unsigned int)GameObject::getSecondaryColorMode(a3, a1) == v10 ) { return true; } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source