//
// sub_1000428B0 from 0x1000428b0 to 0x100042970 (192 bytes)
//
// 1 xrefs:
// > SetGroupIDLayer::updateGroupIDButtons @ 0x100041c38
//
// 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_1000428B0(__int64 result, __int64 a2)
{
__int64 v3; // x19
__int64 v4; // x21
__int64 v5; // x0
__int64 v6; // x0
__int64 v7; // x0
__int64 v8; // x0
if ( (*(_BYTE *)(result + 798) & 1) == 0 )
{
v3 = result;
if ( (unsigned int)sub_1002E757C(*(_QWORD *)(result + 696)) )
{
v4 = 0;
do
{
v5 = sub_1002E75A0(*(_QWORD *)(v3 + 696), v4);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v5 + 1056LL))(v5, 0);
v4 = (unsigned int)(v4 + 1);
}
while ( (unsigned int)v4 < (unsigned int)sub_1002E757C(*(_QWORD *)(v3 + 696)) );
}
*(_BYTE *)(v3 + 798) = 1;
v6 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);
*(_DWORD *)(v3 + 800) = v6;
v7 = cocos2d::CCDirector::sharedDirector(v6);
v8 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v7 + 128LL))(v7);
return cocos2d::CCScheduler::scheduleSelector(v8, sub_100042BA8, 0, v3, 4294967294LL, 0, 0.0, 0.0);
}
return result;
}