// // EditorUI::resetSelectedObjectsColor from 0x10004a1c0 to 0x10004a244 (132 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 // void __fastcall EditorUI::resetSelectedObjectsColor(EditorUI *a1) { GameObject *m_selectedObject; // rdi EditorUI *v3; // rbx cocos2d::CCArray *m_selectedObjects; // rax cocos2d::ccArray *data; // rax cocos2d::CCObject **arr; // rbx unsigned __int64 v7; // r14 m_selectedObject = a1->m_selectedObject; if ( m_selectedObject ) { ((void (__fastcall *)(GameObject *, __int64))m_selectedObject->selectObject)(m_selectedObject, 65280); } else { v3 = a1; if ( (unsigned int)sub_100720070(a1->m_selectedObjects) ) { m_selectedObjects = v3->m_selectedObjects; if ( m_selectedObjects ) { data = m_selectedObjects->data; if ( data->num ) { arr = data->arr; v7 = (unsigned __int64)&arr[data->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