//
// sub_1002FA824 from 0x1002fa824 to 0x1002fa854 (48 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::calculateColorGroups @ 0x10027c99c
//
// 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 11:03:01 +0000
//
__int64 __fastcall sub_1002FA824(__int64 result)
{
__int64 v1; // x8
__int64 v2; // x9
if ( *(__int16 *)(result + 1184) >= 1 )
{
v1 = 0;
v2 = *(_QWORD *)(result + 1176);
do
*(_WORD *)(v2 + 2 * v1++) = 0;
while ( v1 < *(__int16 *)(result + 1184) );
}
*(_WORD *)(result + 1184) = 0;
return result;
}