//
// AccountRegisterLayer::create from 0x84de70 to 0x84dfb4 (324 bytes)
//
// 2 xrefs:
// > AccountLayer::onRegister @ 0x84a1e0
// > ??> @ 0x52e30
//
// 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 *AccountRegisterLayer::create()
{
AccountRegisterLayer *v0; // x19
v0 = (AccountRegisterLayer *)operator new(0x2F0u);
cocos2d::CCLayerColor::CCLayerColor(v0);
v0->m_controlConnected = -1;
v0->m_joystickConnected = -1;
v0->m_buttonMenu = nullptr;
v0->m_alertProtocol = nullptr;
v0->m_scene = nullptr;
v0->m_reverseKeyBack = 0;
v0->m_mainLayer = nullptr;
v0->m_ZOrder = 0;
v0->m_noElasticity = 0;
v0->m_button1 = nullptr;
v0->m_button2 = nullptr;
v0->m_scrollingLayer = nullptr;
v0->m_containsBorder = 0;
v0->m_noAction = 0;
v0->m_forcePrioRegistered = 0;
v0->m_usernameField = nullptr;
v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (AccountRegisterLayer_vtbl *)&off_118E840;
v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_118EDA8;
v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_118EE18;
v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_118EE30;
v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_118EE50;
v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_118EE70;
v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_118EE98;
v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&off_118EF18;
v0->TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)off_118EF38;
v0->GJAccountRegisterDelegate::__vftable = (GJAccountRegisterDelegate_vtbl *)&off_118EF80;
v0->FLAlertLayerProtocol::__vftable = (FLAlertLayerProtocol_vtbl *)&off_118EFA0;
v0->m_passwordField = nullptr;
v0->m_confirmPasswordField = nullptr;
v0->m_emailField = nullptr;
v0->m_usernameLabel = nullptr;
v0->m_passwordLabel = nullptr;
v0->m_confirmPasswordLabel = nullptr;
v0->m_emailLabel = nullptr;
v0->m_loadingCircle = nullptr;
v0->m_lockInput = 0;
if ( AccountRegisterLayer::init(v0) )
{
cocos2d::CCObject::autorelease(v0);
return v0;
}
else
{
v0->~AccountRegisterLayer_0(v0);
return nullptr;
}
}