// // LevelEditorLayer::applyGroupState from 0x6618b0 to 0x661970 (192 bytes) // // 5 xrefs: // > LevelEditorLayer::pasteGroupState @ 0x6619a0 // > LevelEditorLayer::pasteGroupState @ 0x6619dc // > LevelEditorLayer::pasteGroupState @ 0x6619fc // > LevelEditorLayer::copyObjectState @ 0x661b74 // > @ 0x3d110 // // 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::applyGroupState(LevelEditorLayer *a1, GameObject *a2, GameObject *a3) { int v6; // w19 int v7; // w1 int GroupID; // w22 GJBaseGameLayer::removeFromGroups(a1, a2); v6 = 0; GameObject::resetGroups(a2); GameObject::resetGroupDisabled(a2); if ( a3->m_groupCount > 0 ) { do { while ( 1 ) { v7 = v6++; GroupID = GameObject::getGroupID(a3, v7); if ( a2->addToGroup(a2, GroupID) == 1 ) break; if ( a3->m_groupCount <= v6 ) return; } a1->addToGroup(a1, a2, GroupID, 1); } while ( a3->m_groupCount > v6 ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source