//
// GameObject::getGroupID from 0x10068fce0 to 0x10068fcff (31 bytes)
//
// 30 xrefs:
// > EditorUI::updateObjectInfoLabel @ 0x10000ed9d
// > EditorUI::dynamicGroupUpdate @ 0x1000158a6
// > EditorUI::replaceGroupID @ 0x100016186
// > PlayLayer::addToGroupOld @ 0x100084665
// > PlayLayer::removeFromGroupOld @ 0x100084716
// > LevelEditorLayer::addSpecial @ 0x1000af6e6
// > LevelEditorLayer::updateVisibility @ 0x1000be16d
// > LevelEditorLayer::updateVisibility @ 0x1000be272
// > LevelEditorLayer::updateVisibility @ 0x1000be3cd
// > LevelEditorLayer::updateVisibility @ 0x1000be4d2
// > LevelEditorLayer::updateObjectColors @ 0x1000be82d
// > LevelEditorLayer::updateObjectColors @ 0x1000be932
// > LevelEditorLayer::updateObjectColors @ 0x1000bea3d
// > LevelEditorLayer::updateObjectColors @ 0x1000beb42
// > LevelEditorLayer::getNextFreeGroupID @ 0x1000becc6
// > LevelEditorLayer::recreateGroups @ 0x1000c4736
// > LevelEditorLayer::copyObjectState @ 0x1000c7a55
// > LevelEditorLayer::applyGroupState @ 0x1000c7b05
// > LevelEditorLayer::pasteGroupState @ 0x1000c7d5a
// > LevelEditorLayer::pasteGroupState @ 0x1000c7e36
// > sub_1000CA970 @ 0x1000cab66
// > sub_1000CBA70 @ 0x1000cbae2
// > GJBaseGameLayer::optimizeMoveGroups @ 0x1000f4476
// > sub_100109BF0 @ 0x100109cc6
// > GJBaseGameLayer::addToGroups @ 0x10011a416
// > GJBaseGameLayer::removeFromGroups @ 0x10011a666
// > GJBaseGameLayer::moveObjectToStaticGroup @ 0x1001289dd
// > GJBaseGameLayer::opacityForObject @ 0x10012f022
// > SetGroupIDLayer::updateGroupIDButtons @ 0x100300bf8
// > SetGroupIDLayer::updateGroupIDButtons @ 0x100300d1e
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:35:07 +0000
//
__int64 __fastcall GameObject::getGroupID(__int64 a1, unsigned int a2)
{
__int64 result; // rax
__int64 v3; // rcx
result = 0;
if ( a2 <= 9 )
{
v3 = *(_QWORD *)(a1 + 1160);
if ( v3 )
return (unsigned int)*(__int16 *)(v3 + 2LL * a2);
}
return result;
}