// // EditorUI::resetObjectEditorValues from 0x6b7510 to 0x6b75cc (188 bytes) // // 2 xrefs: // > EditorUI::updateTransformControl @ 0x6ba838 // > @ 0x5bcb0 // // 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::resetObjectEditorValues(EditorUI *a1, cocos2d::CCArray *a2) { unsigned int v4; // w19 std::unordered_map *p_m_objectEditorStates; // x22 unsigned int v6; // w1 GameObject *v7; // x20 char *v8; // x0 int m_uniqueID; // [xsp+44h] [xbp+44h] BYREF if ( a2 && (unsigned int)cocos2d::CCArray::count(a2) ) { v4 = 0; p_m_objectEditorStates = &a1->m_objectEditorStates; while ( v4 < (unsigned int)cocos2d::CCArray::count(a2) ) { v6 = v4++; v7 = (GameObject *)cocos2d::CCArray::objectAtIndex(a2, v6); GameObject::updateStartPos(v7); m_uniqueID = v7->m_uniqueID; v8 = std::__detail::_Map_base,std::allocator>,std::__detail::_Select1st,std::equal_to,std::hash,std::__detail::_Mod_range_hashing,std::__detail::_Default_ranged_hash,std::__detail::_Prime_rehash_policy,std::__detail::_Hashtable_traits,true>::operator[]( (__int64)p_m_objectEditorStates, &m_uniqueID); GameObjectEditorState::loadValues((GameObjectEditorState *)v8, v7); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source