// // EditorUI::resetSelectedObjectsColor from 0x1003f5d08 to 0x1003f5d94 (140 bytes) // // 2 xrefs: // > EditorUI::colorSelectClosed @ 0x1003f5ccc // > EditorUI::colorSelectClosed @ 0x1003f5cf0 // // 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 __fastcall EditorUI::resetSelectedObjectsColor(EditorUI *a1) { GameObject *m_selectedObject; // x0 cocos2d::CCArray *m_selectedObjects; // x8 cocos2d::ccArray *data; // x9 __int64 num; // x8 cocos2d::CCObject **arr; // x19 unsigned __int64 v7; // x20 m_selectedObject = a1->m_selectedObject; if ( m_selectedObject ) { ((void (__fastcall *)(GameObject *, __int64))m_selectedObject->selectObject)(m_selectedObject, 65280); } else if ( (unsigned int)sub_10024A36C((__int64)a1->m_selectedObjects) ) { m_selectedObjects = a1->m_selectedObjects; if ( m_selectedObjects ) { data = m_selectedObjects->data; num = data->num; if ( (_DWORD)num ) { arr = data->arr; v7 = (unsigned __int64)&arr[num - 1]; do { if ( !*arr ) break; ((void (__fastcall *)(cocos2d::CCObject *, __int64))(*arr)->__vftable[18].setTag)(*arr, 65280); ++arr; } while ( (unsigned __int64)arr <= v7 ); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source