//
// GameObject::getGroupID from 0x76fd28 to 0x76fd48 (32 bytes)
//
// 31 xrefs:
// > PlayLayer::addToGroupOld @ 0x6f4d40
// > PlayLayer::removeFromGroupOld @ 0x6f4e08
// > GameObject::copyGroups @ 0x76fd84
// > GameObject::duplicateValues @ 0x7718c4
// > GameObject::getColorKey @ 0x7823a4
// > LevelEditorLayer::updateObjectColors @ 0x78be9c
// > LevelEditorLayer::updateObjectColors @ 0x78bf98
// > LevelEditorLayer::updateObjectColors @ 0x78c090
// > LevelEditorLayer::updateObjectColors @ 0x78c174
// > LevelEditorLayer::applyGroupState @ 0x78d5d8
// > LevelEditorLayer::updateVisibility @ 0x78e510
// > LevelEditorLayer::updateVisibility @ 0x78e614
// > LevelEditorLayer::updateVisibility @ 0x78ea78
// > LevelEditorLayer::updateVisibility @ 0x78eb74
// > LevelEditorLayer::recreateGroups @ 0x7960b4
// > LevelEditorLayer::addSpecial @ 0x7a08d8
// > LevelEditorLayer::getNextFreeGroupID @ 0x7b1a14
// > processTraceInSource @ 0x7ba9c0
// > processTrace @ 0x7bb33c
// > EditorUI::replaceGroupID @ 0x7c3a00
// > EditorUI::updateObjectInfoLabel @ 0x7cd3a4
// > EditorUI::dynamicGroupUpdate @ 0x7d2424
// > GJBaseGameLayer::opacityForObject @ 0x998958
// > GJBaseGameLayer::addToGroups @ 0x9a0550
// > GJBaseGameLayer::removeFromGroups @ 0x9a05c0
// > GJBaseGameLayer::moveObjectToStaticGroup @ 0x9a7284
// > GJBaseGameLayer::moveObjectToStaticGroup @ 0x9a72bc
// > saveAdvFollowSetup @ 0x9f131c
// > SetGroupIDLayer::updateGroupIDButtons @ 0xaba6d0
// > SetGroupIDLayer::updateGroupIDButtons @ 0xabaa8c
// > ??> @ 0x50fb0
//
// This function is hookable on this platform (idp: arm, 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:53:12 +0000
//
__int64 __fastcall GameObject::getGroupID(GameObject *this, unsigned int a2)
{
__int64 result; // x0
__int64 v4; // x2
result = 0;
if ( a2 <= 9 )
{
v4 = *((_QWORD *)this + 145);
if ( v4 )
return (unsigned int)*(__int16 *)(v4 + 2LL * (int)a2);
}
return result;
}