// // LevelEditorLayer::pasteGroupState from 0x661970 to 0x661a18 (168 bytes) // // 2 xrefs: // > LevelEditorLayer::pasteAttributeState @ 0x661a94 // > @ 0x88770 // // 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::pasteGroupState(LevelEditorLayer *a1, GameObject *a2, cocos2d::CCArray *a3) { GameObject *m_copyStateObject; // x2 cocos2d::ccArray *data; // x1 GameObject **arr; // x19 __int64 v8; // x0 char *v9; // x21 GameObject *v10; // x1 GameObject **v11; // x19 GameObject *v12; // x1 m_copyStateObject = a1->m_copyStateObject; if ( m_copyStateObject ) { if ( a2 ) { LevelEditorLayer::applyGroupState(a1, a2, m_copyStateObject); } else if ( a3 ) { data = a3->data; if ( data->num ) { arr = (GameObject **)data->arr; v8 = 8LL * data->num - 8; v9 = (char *)arr + v8; if ( arr <= (GameObject **)((char *)arr + v8) ) { v10 = *arr; if ( *arr ) { v11 = arr + 1; LevelEditorLayer::applyGroupState(a1, v10, m_copyStateObject); while ( v9 >= (char *)v11 ) { v12 = *v11; if ( !*v11 ) break; ++v11; LevelEditorLayer::applyGroupState(a1, v12, a1->m_copyStateObject); } } } } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source