// // EditorUI::findSnapObject from 0x694300 to 0x69443c (316 bytes) // // 3 xrefs: // > EditorUI::ccTouchBegan @ 0x6c553c // > EditorUI::ccTouchBegan @ 0x6c5574 // > @ 0x88248 // // 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::findSnapObject(EditorUI *a1, cocos2d::CCArray *a2, float a3) { cocos2d::CCArray *v6; // x0 cocos2d::CCArray *v7; // x26 unsigned int i; // w20 GameObject *v9; // x21 cocos2d::CCRect v10; // [xsp+78h] [xbp+78h] BYREF v6 = (cocos2d::CCArray *)cocos2d::CCArray::count(a1->m_selectedObjects); if ( (_DWORD)v6 ) { v7 = (cocos2d::CCArray *)cocos2d::CCArray::create(v6); for ( i = 0; i < (unsigned int)cocos2d::CCArray::count(a1->m_selectedObjects); ++i ) { v9 = (GameObject *)cocos2d::CCArray::objectAtIndex(a1->m_selectedObjects, i); LevelEditorLayer::getObjectRect(a1->m_editorLayer, v9, 0, 0); LevelEditorLayer::getObjectRect(a1->m_editorLayer, v9, 0, 0); if ( (unsigned __int8)cocos2d::CCRect::containsPoint(&v10, (const cocos2d::CCPoint *)a2) ) cocos2d::CCArray::addObject(v7, v9); } EditorUI::findSnapObject(a1, v7, a3); } else { EditorUI::findSnapObject(a1, nullptr, a3); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source