//
// CharacterColorPage::create from 0x100128c24 to 0x100128cd0 (172 bytes)
//
// 1 xrefs:
// > GJGarageLayer::onPaint @ 0x100304598
//
// 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
//
CharacterColorPage *__fastcall CharacterColorPage::create()
{
char *v0; // x19
v0 = (char *)operator new(0x2C0u);
FLAlertLayer::FLAlertLayer((FLAlertLayer *)v0);
*(_QWORD *)v0 = off_100791130;
*((_QWORD *)v0 + 40) = off_100791650;
*((_QWORD *)v0 + 41) = &off_1007916C0;
*((_QWORD *)v0 + 42) = off_1007916D8;
*((_QWORD *)v0 + 43) = off_1007916F8;
*((_QWORD *)v0 + 44) = off_100791718;
*((_QWORD *)v0 + 51) = off_100791740;
*((_QWORD *)v0 + 54) = off_1007917C0;
*((_DWORD *)v0 + 158) = 0;
*((_QWORD *)v0 + 87) = 0;
*(_OWORD *)(v0 + 648) = 0u;
*(_OWORD *)(v0 + 664) = 0u;
*(_OWORD *)(v0 + 680) = 0u;
if ( CharacterColorPage::init((CharacterColorPage *)v0) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v0 + 16LL))(v0);
return nullptr;
}
return (CharacterColorPage *)v0;
}