// // GJTransformControl::loadValues from 0x6ba638 to 0x6ba770 (312 bytes) // // 2 xrefs: // > EditorUI::updateTransformControl @ 0x6ba914 // > @ 0x5d528 // // 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; // x20 int v7; // w0 cocos2d::CCArray *m_objects; // x0 unsigned int v9; // w19 unsigned int v10; // w1 GameObject *v11; // x21 char *v12; // x0 GameObject *v13; // [xsp+58h] [xbp+58h] int m_uniqueID; // [xsp+64h] [xbp+64h] BYREF v5 = a3; if ( !a2 ) { m_objects = a1->m_objects; if ( !m_objects ) { LABEL_6: a1->m_objects = v5; cocos2d::CCObject::retain(v5); if ( !v5 ) goto LABEL_11; goto LABEL_7; } goto LABEL_5; } if ( !a3 || (v13 = a2, v7 = cocos2d::CCArray::count(a3), a2 = v13, !v7) ) { v5 = (cocos2d::CCArray *)cocos2d::CCArray::createWithObject((cocos2d::CCArray *)a2, a2); m_objects = a1->m_objects; if ( !m_objects ) goto LABEL_6; goto LABEL_5; } m_objects = a1->m_objects; if ( m_objects ) { LABEL_5: cocos2d::CCObject::release(m_objects); goto LABEL_6; } a1->m_objects = v5; cocos2d::CCObject::retain(v5); LABEL_7: if ( (unsigned int)cocos2d::CCArray::count(v5) ) { v9 = 0; while ( v9 < (unsigned int)cocos2d::CCArray::count(v5) ) { v10 = v9++; v11 = (GameObject *)cocos2d::CCArray::objectAtIndex(v5, v10); GameObject::updateStartPos(v11); m_uniqueID = v11->m_uniqueID; v12 = 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)a4, &m_uniqueID); GameObjectEditorState::loadValues((GameObjectEditorState *)v12, v11); } } LABEL_11: GJTransformControl::updateButtons(a1, 1, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source