//
// AccountRegisterLayer::create from 0x1004953d0 to 0x10049553c (364 bytes)
//
// 1 xrefs:
// > AccountLayer::onRegister @ 0x1000cc4b4
//
// 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
//
AccountRegisterLayer *__fastcall AccountRegisterLayer::create()
{
char *v0; // rbx
v0 = (char *)operator new(0x2F0u);
cocos2d::CCLayerColor::CCLayerColor(v0);
*((_QWORD *)v0 + 72) = 0;
*((_DWORD *)v0 + 146) = 0;
v0[588] = 0;
*((_OWORD *)v0 + 34) = 0;
*(_OWORD *)(v0 + 553) = 0;
*((_OWORD *)v0 + 37) = 0;
*((_QWORD *)v0 + 76) = 0;
*((_DWORD *)v0 + 154) = -1;
*((_WORD *)v0 + 310) = 0;
*((_DWORD *)v0 + 156) = -1;
v0[628] = 0;
*(_QWORD *)v0 = off_100943F10;
*((_QWORD *)v0 + 40) = off_100944478;
*((_QWORD *)v0 + 41) = &off_1009444E8;
*((_QWORD *)v0 + 42) = off_100944500;
*((_QWORD *)v0 + 43) = off_100944520;
*((_QWORD *)v0 + 44) = off_100944540;
*((_QWORD *)v0 + 51) = off_100944568;
*((_QWORD *)v0 + 54) = off_1009445E8;
*((_QWORD *)v0 + 79) = off_100944608;
*((_QWORD *)v0 + 80) = off_100944650;
*((_QWORD *)v0 + 81) = &off_100944670;
*((_QWORD *)v0 + 92) = 0;
v0[744] = 0;
*((_OWORD *)v0 + 42) = 0;
*((_OWORD *)v0 + 41) = 0;
*(_OWORD *)(v0 + 696) = 0;
*(_OWORD *)(v0 + 712) = 0;
if ( AccountRegisterLayer::init((AccountRegisterLayer *)v0) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v0 + 16LL))(v0);
return nullptr;
}
return (AccountRegisterLayer *)v0;
}