//
// sub_100370574 from 0x100370574 to 0x1003705ec (120 bytes)
//
// 1 xrefs:
// > sub_10036C9A0 @ 0x10036ca14
//
// 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:22 +0000
//
__int64 __fastcall sub_100370574(__int64 a1, __int64 a2)
{
__int64 v4; // x21
__int32 v6; // [xsp+Ch] [xbp-24h] BYREF
v6 = -16777216;
v4 = cocos2d::CCLayerColor::initWithColor_1((_WORD *)a1, &v6, 120.0, 180.0);
if ( (_DWORD)v4 )
{
*(_QWORD *)(a1 + 552) = a2;
(*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)a1 + 464LL))(a1, a2, 100);
}
return v4;
}