// // LevelEditorLayer::pasteColorState from 0x368a6e to 0x368ac8 (90 bytes) // // 2 xrefs: // > EditorUI::onPasteColor @ 0x3a5c38 // > CustomizeObjectLayer::onPaste @ 0x462126 // // 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 LevelEditorLayer::pasteColorState(LevelEditorLayer *a1, GameObject *a2, cocos2d::CCArray *a3) { cocos2d::ccArray *data; // r2 cocos2d::CCObject **arr; // r6 cocos2d::CCObject **v6; // r4 GameObject *v7; // r7 GameObject *v8; // t1 if ( a1->m_copyStateObject ) { if ( a2 ) { GameObject::duplicateColorMode(a2); a2->m_updateParents = 1; } else if ( a3 ) { data = a3->data; if ( data->num ) { arr = data->arr; v6 = &arr[data->num] + 0x3FFFFFFF; while ( arr <= v6 ) { v8 = (GameObject *)*arr++; v7 = v8; if ( !v8 ) break; GameObject::duplicateColorMode(v7); v7->m_updateParents = 1; } } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source