// // GameObject::groupColor from 0x64a638 to 0x64a6d8 (160 bytes) // // 2 xrefs: // > GameObject::colorForMode @ 0x64a874 // > @ 0x49710 // // 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 // const cocos2d::ccColor3B *GameObject::groupColor(GameObject *a1, const cocos2d::ccColor3B *a2, bool a3) { cocos2d::ccColor3B *p_m_groupColor; // x19 __int64 v6; // x22 int v7; // w21 int m_colorGroupCount; // w0 int v9; // w1 int v10; // w1 cocos2d::ccColor3B v12; // 0:w0.3 p_m_groupColor = &a1->m_groupColor; v6 = 0; *(_WORD *)&a1->m_groupColor.r = *(_WORD *)&a2->r; v7 = 0; m_colorGroupCount = a1->m_colorGroupCount; p_m_groupColor->b = a2->b; if ( m_colorGroupCount > 0 ) { do { ++v7; v9 = a1->m_colorGroups->__elems_[v6++]; v12 = GJEffectManager::colorForGroupID(a1->m_goEffectManager, v9, p_m_groupColor, a3); v10 = a1->m_colorGroupCount; *p_m_groupColor = v12; } while ( v10 > v7 ); } return p_m_groupColor; }
GD Web Decomp Icon

GD Web Decomp

Raw Source