// // LevelEditorLayer::pasteColorState from 0x1000f3b90 to 0x1000f3c1a (138 bytes) // // 2 xrefs: // > EditorUI::onPasteColor @ 0x10002c3ed // > CustomizeObjectLayer::onPaste @ 0x1001f8293 // // 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 LevelEditorLayer::pasteColorState(LevelEditorLayer *a1, GameObject *a2, cocos2d::CCArray *a3) { cocos2d::ccArray *data; // rax GameObject **arr; // r15 unsigned __int64 v5; // r12 GameObject *v6; // r14 if ( a1->m_copyStateObject ) { if ( a2 ) { GameObject::duplicateColorMode(a2); a2->m_updateParents = 1; } else if ( a3 ) { data = a3->data; if ( data->num ) { arr = (GameObject **)data->arr; v5 = (unsigned __int64)&arr[data->num - 1]; do { v6 = *arr; if ( !*arr ) break; GameObject::duplicateColorMode(*arr); v6->m_updateParents = 1; ++arr; } while ( (unsigned __int64)arr <= v5 ); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source