//
// sub_100221790 from 0x100221790 to 0x100221824 (148 bytes)
//
// 1 xrefs:
// > sub_100221554 @ 0x10022160c
//
// 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:01:08 +0000
//
__int64 __fastcall sub_100221790(__int64 a1, __int64 a2, __int64 a3, int a4)
{
__int64 v8; // x0
__int64 CString; // x0
double v10; // d0
double v11; // d1
_WORD *v12; // x1
v8 = sub_1003065B0("Col %i", a4);
CString = cocos2d::CCString::getCString(v8);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a3 + 928LL))(a3, CString);
if ( sub_100010050(*(_QWORD *)(*(_QWORD *)(a1 + 680) + 320LL), a4) )
v12 = sub_10000F52C(*(_QWORD *)(*(_QWORD *)(a1 + 680) + 320LL), a4, v10, v11);
else
v12 = nullptr;
return ColorChannelSprite::updateValues(a2, (__int64)v12);
}