//
// cocos2d::CCComponentContainer::get from 0x5f253c to 0x5f2594 (88 bytes)
//
// 0 xrefs:
//
// 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
//
cocos2d::CCComponent *cocos2d::CCComponentContainer::get(cocos2d::CCComponentContainer *a1, const char *a2)
{
cocos2d::CCComponent *m_pComponents; // r4
cocos2d::CCComponent *v3; // r0
const char *v5; // [sp+8h] [bp-8h] BYREF
m_pComponents = (cocos2d::CCComponent *)a2;
if ( a2 )
{
m_pComponents = (cocos2d::CCComponent *)a1->m_pComponents;
if ( m_pComponents )
{
sub_776584((int)&v5, (char *)a2);
v3 = (cocos2d::CCComponent *)cocos2d::CCDictionary::objectForKey((int)m_pComponents, &v5);
m_pComponents = v3;
if ( v3 )
m_pComponents = (cocos2d::CCComponent *)_dynamic_cast(
v3,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCComponent,
0);
sub_774008(&v5);
}
}
return m_pComponents;
}