//
// ColorSelectLiveOverlay::create from 0xa667ac to 0xa669a4 (504 bytes)
//
// 3 xrefs:
// > ColorSelectLiveOverlay::createWithObject @ 0xa669b0
// > ColorSelectLiveOverlay::createWithActions @ 0xa669b8
// > ??> @ 0x9bb78
//
// 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 13:00:17 +0000
//
__int64 __fastcall ColorSelectLiveOverlay::create(
ColorSelectLiveOverlay *this,
ColorAction *a2,
ColorAction *a3,
EffectGameObject *a4)
{
__int64 v7; // x19
v7 = operator new(0x360u);
cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v7);
*(_QWORD *)(v7 + 552) = 0;
*(_QWORD *)v7 = &off_1419A40;
*(_QWORD *)(v7 + 320) = off_1419F90;
*(_QWORD *)(v7 + 328) = &off_141A000;
*(_QWORD *)(v7 + 336) = off_141A018;
*(_QWORD *)(v7 + 344) = off_141A038;
*(_QWORD *)(v7 + 352) = off_141A060;
*(_QWORD *)(v7 + 408) = &off_141A090;
*(_QWORD *)(v7 + 432) = &off_141A110;
*(_QWORD *)(v7 + 544) = off_141A130;
*(_QWORD *)(v7 + 560) = 0;
*(_QWORD *)(v7 + 568) = 0;
*(_BYTE *)(v7 + 576) = 0;
*(_QWORD *)(v7 + 584) = 0;
*(_DWORD *)(v7 + 592) = 0;
*(_BYTE *)(v7 + 596) = 0;
*(_BYTE *)(v7 + 597) = 0;
*(_BYTE *)(v7 + 598) = 0;
*(_BYTE *)(v7 + 599) = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v7 + 600));
*(_QWORD *)(v7 + 608) = 0;
*(_DWORD *)(v7 + 632) = -1;
*(_DWORD *)(v7 + 640) = -1;
*(_QWORD *)(v7 + 616) = 0;
*(_QWORD *)(v7 + 624) = 0;
*(_BYTE *)(v7 + 636) = 0;
*(_BYTE *)(v7 + 637) = 0;
*(_BYTE *)(v7 + 644) = 0;
*(_BYTE *)(v7 + 656) = 0;
*(_DWORD *)(v7 + 648) = 0;
*(_DWORD *)(v7 + 652) = 0;
*(_DWORD *)(v7 + 716) = 0;
*(_QWORD *)(v7 + 664) = 0;
*(_QWORD *)v7 = &off_14903C0;
*(_QWORD *)(v7 + 320) = off_1490920;
*(_QWORD *)(v7 + 328) = &off_1490990;
*(_QWORD *)(v7 + 336) = off_14909A8;
*(_QWORD *)(v7 + 344) = off_14909C8;
*(_QWORD *)(v7 + 352) = off_14909F0;
*(_QWORD *)(v7 + 408) = &off_1490A20;
*(_QWORD *)(v7 + 432) = &off_1490AA0;
*(_QWORD *)(v7 + 544) = off_1490AC0;
*(float *)(v7 + 728) = 1.0;
*(_QWORD *)(v7 + 680) = 0;
*(_QWORD *)(v7 + 688) = 0;
*(_QWORD *)(v7 + 696) = 0;
*(_DWORD *)(v7 + 720) = 0;
*(_DWORD *)(v7 + 724) = 0;
*(_QWORD *)(v7 + 736) = 0;
*(_BYTE *)(v7 + 744) = 0;
*(_BYTE *)(v7 + 745) = 0;
*(_BYTE *)(v7 + 746) = 0;
*(_QWORD *)(v7 + 776) = 0;
*(_QWORD *)(v7 + 816) = 0;
*(_BYTE *)(v7 + 856) = 0;
*(_BYTE *)(v7 + 857) = 0;
if ( (unsigned __int8)ColorSelectLiveOverlay::init((ColorSelectLiveOverlay *)v7, this, a2, a3) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v7);
return v7;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v7 + 16LL))(v7);
return 0;
}
}