// // EditorUI::findAndSelectObject from 0x3a2e84 to 0x3a2f02 (126 bytes) // // 1 xrefs: // > EditorUI::setIDPopupClosed @ 0x3a2fd6 // // 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 // void EditorUI::findAndSelectObject(EditorUI *a1, int a2, bool a3) { LevelEditorLayer *m_editorLayer; // r0 GameObject *GameObject; // r0 GameObject *v6; // r4 cocos2d::CCLayer *m_objectLayer; // r8 const cocos2d::CCPoint *v8; // r0 cocos2d::CCPoint v9; // r1 float v10; // [sp+0h] [bp-18h] cocos2d::CCPoint v11; // [sp+4h] [bp-14h] BYREF cocos2d::CCPoint v12; // [sp+Ch] [bp-Ch] BYREF m_editorLayer = a1->m_editorLayer; if ( a3 ) GameObject = LevelEditorLayer::findGameObject(m_editorLayer, a2); else GameObject = GJBaseGameLayer::tryGetObject(m_editorLayer, a2); v6 = GameObject; if ( GameObject ) { EditorUI::selectObject(a1, GameObject, 0); EditorUI::centerCameraOnObject(a1, v6); m_objectLayer = a1->m_editorLayer->m_objectLayer; v8 = v6->getPosition(v6); cocos2d::CCNode::convertToWorldSpace(&v11, m_objectLayer, v8); cocos2d::CCPoint::CCPoint(&v12, &v11); LODWORD(v9.x) = &v12; v9.y = 50.0; EditorUI::playCircleAnim(a1, v9, 0.8, v10); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source