//
// cocos2d::CCLayerRGBA::CCLayerRGBA from 0x1004b1510 to 0x1004b1645 (309 bytes)
//
// 6 xrefs:
// > SliderTouchLogic::create @ 0x100303b03
// > cocos2d::extension::CCControl::CCControl @ 0x1003512a9
// > sub_100351350 @ 0x100351359
// > cocos2d::extension::CCControl::create @ 0x100351417
// > cocos2d::CCMenu::createWithItems @ 0x100792d89
// > cocos2d::CCMenu::createWithArray @ 0x100792e5a
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 (__fastcall **__fastcall cocos2d::CCLayerRGBA::CCLayerRGBA(__int64 a1))()
{
float v2[6]; // [rsp+8h] [rbp-18h] BYREF
cocos2d::CCNode::CCNode(a1);
*(_QWORD *)a1 = off_100948C20;
*(_QWORD *)(a1 + 320) = off_1009490A0;
*(_QWORD *)(a1 + 328) = &off_100949110;
*(_QWORD *)(a1 + 336) = off_100949128;
*(_QWORD *)(a1 + 344) = off_100949148;
*(_QWORD *)(a1 + 352) = off_100949168;
*(_DWORD *)(a1 + 360) = 0;
*(_BYTE *)(a1 + 364) = 0;
*(_OWORD *)(a1 + 368) = 0;
*(_OWORD *)(a1 + 384) = 0;
*(_DWORD *)(a1 + 400) = 0;
*(_BYTE *)(a1 + 287) = 1;
sub_10028CBE0(v2, 0.5, 0.5);
(*(void (__fastcall **)(__int64, float *))(*(_QWORD *)a1 + 280LL))(a1, v2);
*(_QWORD *)a1 = off_100949190;
*(_QWORD *)(a1 + 320) = off_100949680;
*(_QWORD *)(a1 + 328) = &off_1009496F0;
*(_QWORD *)(a1 + 336) = off_100949708;
*(_QWORD *)(a1 + 344) = off_100949728;
*(_QWORD *)(a1 + 352) = off_100949748;
*(_QWORD *)(a1 + 408) = off_100949770;
*(_QWORD *)(a1 + 416) = -1;
*(_WORD *)(a1 + 424) = 0;
return off_100949770;
}