//
// sub_10050F040 from 0x10050f040 to 0x10050f213 (467 bytes)
//
// 1 xrefs:
// > sub_10050EB50 @ 0x10050eb6a
//
// This function is hookable on this platform (idp: pc, 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 12:31:35 +0000
//
__int64 (__fastcall **__fastcall sub_10050F040(__int64 a1))()
{
cocos2d::CCLayerColor::CCLayerColor(a1);
*(_QWORD *)a1 = off_100B4FB70;
*(_QWORD *)(a1 + 320) = off_100B500C0;
*(_QWORD *)(a1 + 328) = &off_100B50130;
*(_QWORD *)(a1 + 336) = off_100B50148;
*(_QWORD *)(a1 + 344) = off_100B50168;
*(_QWORD *)(a1 + 352) = off_100B50190;
*(_QWORD *)(a1 + 408) = off_100B501C0;
*(_QWORD *)(a1 + 432) = off_100B50240;
*(_QWORD *)(a1 + 544) = off_100B50260;
*(_OWORD *)(a1 + 552) = 0;
*(_OWORD *)(a1 + 561) = 0;
*(_OWORD *)(a1 + 584) = 0;
sub_1002782A0((_QWORD *)(a1 + 600));
*(_OWORD *)(a1 + 608) = 0;
*(_QWORD *)(a1 + 624) = 0;
*(_DWORD *)(a1 + 632) = -1;
*(_WORD *)(a1 + 636) = 0;
*(_DWORD *)(a1 + 640) = -1;
*(_BYTE *)(a1 + 644) = 0;
*(_QWORD *)(a1 + 648) = 0;
*(_BYTE *)(a1 + 656) = 0;
*(_QWORD *)(a1 + 672) = 0;
*(_DWORD *)(a1 + 720) = 0;
*(_WORD *)(a1 + 724) = 0;
*(_OWORD *)(a1 + 736) = 0;
*(_QWORD *)(a1 + 752) = 0;
*(_QWORD *)a1 = off_100B68D88;
*(_QWORD *)(a1 + 320) = off_100B69318;
*(_QWORD *)(a1 + 328) = &off_100B69388;
*(_QWORD *)(a1 + 336) = off_100B693A0;
*(_QWORD *)(a1 + 344) = off_100B693C0;
*(_QWORD *)(a1 + 352) = off_100B693E8;
*(_QWORD *)(a1 + 408) = off_100B69418;
*(_QWORD *)(a1 + 432) = off_100B69498;
*(_QWORD *)(a1 + 544) = off_100B694B8;
*(_QWORD *)(a1 + 664) = &off_100B69500;
*(_DWORD *)(a1 + 760) = 0;
*(_OWORD *)(a1 + 768) = 0;
*(_DWORD *)(a1 + 784) = 0;
return &off_100B69500;
}