// // GJTransformControl::loadValues from 0x3a0418 to 0x3a04b4 (156 bytes) // // 1 xrefs: // > EditorUI::updateTransformControl @ 0x3a05cc // // 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 GJTransformControl::loadValues( GJTransformControl *a1, GameObject *a2, cocos2d::CCArray *a3, std::unordered_map *a4) { cocos2d::CCArray *v5; // r4 cocos2d::CCArray *m_objects; // r0 unsigned int v9; // r5 GameObject *v10; // r0 GameObject *v11; // r8 GameObjectEditorState *v12; // r0 unsigned int v13[2]; // [sp+0h] [bp-8h] BYREF v13[0] = (unsigned int)a1; v13[1] = (unsigned int)a2; v5 = a3; if ( a2 && (!a3 || !cocos2d::CCArray::count(a3)) ) v5 = (cocos2d::CCArray *)cocos2d::CCArray::createWithObject((cocos2d::CCArray *)a2, a2); m_objects = a1->m_objects; if ( m_objects ) cocos2d::CCObject::release(m_objects); a1->m_objects = v5; cocos2d::CCObject::retain(v5); if ( v5 && cocos2d::CCArray::count(v5) ) { v9 = 0; while ( v9 < cocos2d::CCArray::count(v5) ) { v10 = (GameObject *)cocos2d::CCArray::objectAtIndex(v5, v9++); v11 = v10; GameObject::updateStartPos(v10); v13[0] = v11->m_uniqueID; v12 = (GameObjectEditorState *)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[]( a4, v13); GameObjectEditorState::loadValues(v12, v11); } } GJTransformControl::updateButtons(a1, 1, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source