//
// CharacterColorPage::create from 0x100152654 to 0x100152704 (176 bytes)
//
// 1 xrefs:
// > sub_1003A1298 @ 0x1003a12a8
//
// 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 10:59:40 +0000
//
_QWORD *CharacterColorPage::create()
{
_QWORD *v0; // x19
v0 = operator new(0x2D8u);
FLAlertLayer::FLAlertLayer((__int64)v0);
*v0 = off_1008E05D8;
v0[40] = off_1008E0B28;
v0[41] = &off_1008E0B98;
v0[42] = off_1008E0BB0;
v0[43] = off_1008E0BD0;
v0[44] = off_1008E0BF8;
v0[51] = off_1008E0C28;
v0[54] = off_1008E0CA8;
v0[68] = off_1008E0CC8;
*((_DWORD *)v0 + 165) = 0;
*((_OWORD *)v0 + 42) = 0u;
*((_OWORD *)v0 + 43) = 0u;
*((_OWORD *)v0 + 44) = 0u;
v0[90] = 0;
if ( (unsigned int)CharacterColorPage::init(v0) )
{
cocos2d::CCObject::autorelease((__int64)v0);
}
else
{
(*(void (__fastcall **)(_QWORD *))(*v0 + 16LL))(v0);
return nullptr;
}
return v0;
}