// // LevelEditorLayer::pasteGroupState from 0x368b32 to 0x368b7a (72 bytes) // // 1 xrefs: // > LevelEditorLayer::pasteAttributeState @ 0x368be0 // // 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; // r2 cocos2d::ccArray *data; // r2 cocos2d::CCObject **arr; // r5 GameObject **p_m_copyStateObject; // r7 cocos2d::CCObject **v9; // r4 GameObject *v10; // r1 GameObject *v11; // t1 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 = data->arr; p_m_copyStateObject = &a1->m_copyStateObject; v9 = &arr[data->num] + 0x3FFFFFFF; while ( arr <= v9 ) { v11 = (GameObject *)*arr++; v10 = v11; if ( !v11 ) break; LevelEditorLayer::applyGroupState(a1, v10, *p_m_copyStateObject); } } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source