//
// sub_100041D6C from 0x100041d6c to 0x100041de0 (116 bytes)
//
// 1 xrefs:
// > SetGroupIDLayer::init @ 0x10003fe10
//
// 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 10:57:37 +0000
//
__int64 __fastcall sub_100041D6C(__int64 a1)
{
__int64 v2; // x0
__int64 result; // x0
v2 = GameManager::sharedState(a1);
sub_100405D0C(*(_QWORD *)(v2 + 552), *(_QWORD *)(a1 + 672), *(_QWORD *)(a1 + 680));
*(_BYTE *)(a1 + 797) = 1;
sub_100040F2C(a1);
sub_1000414F4(a1);
sub_1000415A0(a1);
sub_100041640(a1);
sub_1000416E0(a1);
sub_1000417B4(a1);
result = SetGroupIDLayer::updateGroupIDButtons(a1);
*(_BYTE *)(a1 + 797) = 0;
return result;
}