//
// sub_100010008 from 0x100010008 to 0x100010050 (72 bytes)
//
// 1 xrefs:
// > LevelEditorLayer::resetUnusedColorChannels @ 0x100401f88
//
// 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
//
__int64 __fastcall sub_100010008(_QWORD *a1, int a2)
{
int v3; // w8
__int64 v4; // x20
v3 = a2 & ~(a2 >> 31);
if ( v3 >= 1101 )
v4 = 1101;
else
v4 = (unsigned int)v3;
cocos2d::CCDictionary::removeObjectForKey_1(a1[41], v4);
*(_QWORD *)(a1[80] + 8LL * (unsigned int)v4) = 0;
return cocos2d::CCDictionary::removeObjectForKey_1(a1[70], v4);
}