//
// sub_1000423C8 from 0x1000423c8 to 0x10004244c (132 bytes)
//
// 2 xrefs:
// > SetGroupIDLayer::onArrow @ 0x1000421b4
// > SetGroupIDLayer::textChanged @ 0x100042848
//
// 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_1000423C8(__int64 result)
{
__int64 v1; // x19
__int64 v2; // x8
__int64 v3; // x20
__int64 v4; // x0
v1 = result;
*(_DWORD *)(result + 780) = 0;
v2 = *(_QWORD *)(result + 672);
if ( v2 )
{
*(_DWORD *)(v2 + 1128) = *(_DWORD *)(result + 776);
*(_BYTE *)(v2 + 1148) = 1;
}
else
{
result = sub_1002E757C(*(_QWORD *)(result + 680));
if ( (_DWORD)result )
{
v3 = 0;
do
{
v4 = sub_1002E75A0(*(_QWORD *)(v1 + 680), v3);
*(_DWORD *)(v4 + 1128) = *(_DWORD *)(v1 + 776);
*(_BYTE *)(v4 + 1148) = 1;
v3 = (unsigned int)(v3 + 1);
result = sub_1002E757C(*(_QWORD *)(v1 + 680));
}
while ( (unsigned int)v3 < (unsigned int)result );
}
}
return result;
}