// // SetGroupIDLayer::addGroupID from 0x100317ad0 to 0x100317bb9 (233 bytes) // // 1 xrefs: // > SetGroupIDLayer::onAddGroup @ 0x1003152eb // // 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 SetGroupIDLayer::addGroupID(SetGroupIDLayer *a1, int a2) { GameObject *m_targetObject; // rdi GameManager *v4; // rax unsigned int v5; // r15d __int64 v6; // r12 GameManager *v7; // rax a1->m_addedGroup = 1; m_targetObject = a1->m_targetObject; if ( m_targetObject ) { if ( ((unsigned int (__fastcall *)(GameObject *, _QWORD))m_targetObject->addToGroup)( m_targetObject, (unsigned int)a2) == 1 ) { v4 = GameManager::sharedState(); ((void (__fastcall *)(LevelEditorLayer *, GameObject *, _QWORD, _QWORD))v4->m_levelEditorLayer->addToGroup)( v4->m_levelEditorLayer, a1->m_targetObject, (unsigned int)a2, 0); } } else if ( (unsigned int)sub_100720070(a1->m_targetObjects) ) { v5 = 0; do { v6 = sub_1007200C0(a1->m_targetObjects, v5); if ( (*(unsigned int (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v6 + 1584LL))(v6, (unsigned int)a2) == 1 ) { v7 = GameManager::sharedState(); ((void (__fastcall *)(LevelEditorLayer *, __int64, _QWORD, _QWORD))v7->m_levelEditorLayer->addToGroup)( v7->m_levelEditorLayer, v6, (unsigned int)a2, 0); } ++v5; } while ( v5 < (unsigned int)sub_100720070(a1->m_targetObjects) ); } SetGroupIDLayer::updateGroupIDButtons(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source