//
// sub_10024E4D4 from 0x10024e4d4 to 0x10024e590 (188 bytes)
//
// 1 xrefs:
// > sub_10024E420 @ 0x10024e47c
//
// 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:30 +0000
//
__int64 __fastcall sub_10024E4D4(__int64 a1, double *a2, double *a3, float a4)
{
__int64 v8; // x21
_WORD *v9; // x0
void *v10; // x0
int v12; // [xsp+8h] [xbp-38h] BYREF
int v13; // [xsp+Ch] [xbp-34h] BYREF
v13 = 0;
v8 = cocos2d::CCLayerColor::initWithColor(a1, (__int64)&v13);
if ( (_DWORD)v8 )
{
*(float *)(a1 + 584) = a4;
sub_10002630C((_QWORD *)(a1 + 544), a3);
v12 = 838860800;
v9 = cocos2d::CCLayerColor::create_1((__int64)&v12);
(*(void (__fastcall **)(__int64, _WORD *, __int64))(*(_QWORD *)a1 + 464LL))(a1, v9, 4294967294LL);
v10 = cocos2d::CCLayer::create();
*(_QWORD *)(a1 + 592) = v10;
(*(void (__fastcall **)(__int64, void *, __int64))(*(_QWORD *)a1 + 464LL))(a1, v10, 0xFFFFFFFFLL);
sub_100026450((_QWORD *)(a1 + 552), a2);
}
return v8;
}