//
// sub_10000FFA4 from 0x10000ffa4 to 0x100010008 (100 bytes)
//
// 9 xrefs:
// > sub_10000F52C @ 0x10000f58c
// > sub_100017104 @ 0x10001735c
// > sub_100017780 @ 0x10001782c
// > LevelSettingsObject::init @ 0x10040e364
// > LevelSettingsObject::init @ 0x10040e384
// > LevelSettingsObject::init @ 0x10040e3a0
// > LevelSettingsObject::init @ 0x10040e3c8
// > LevelSettingsObject::init @ 0x10040e3e4
// > LevelSettingsObject::init @ 0x10040e400
//
// 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:16 +0000
//
char *__fastcall sub_10000FFA4(_QWORD *a1, __int64 a2, int a3)
{
int v5; // w8
__int64 v6; // x21
char *result; // x0
v5 = a3 & ~(a3 >> 31);
if ( v5 >= 1101 )
v6 = 1101;
else
v6 = (unsigned int)v5;
*(_DWORD *)(a2 + 92) = v6;
cocos2d::CCDictionary::setObject_1(a1[41], a2, v6);
*(_QWORD *)(a1[80] + 8LL * (unsigned int)v6) = a2;
result = GJEffectManager::getColorSprite(a1, v6);
*(_QWORD *)(a2 + 144) = result;
*((_QWORD *)result + 42) = a2;
return result;
}