//
// GJAccountSettingsLayer::create from 0x4b66a8 to 0x4b676e (198 bytes)
//
// 1 xrefs:
// > ProfilePage::onSettings @ 0x4c4eee
//
// 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
//
GJAccountSettingsLayer *GJAccountSettingsLayer::create(int a1)
{
GJAccountSettingsLayer *v2; // r4
GJAccountSettingsLayer_vtbl *v3; // r3
GJAccountSettingsLayer *v4; // r0
v2 = (GJAccountSettingsLayer *)operator new(0x22Cu);
FLAlertLayer::FLAlertLayer(v2);
v2->m_accountID = 0;
v2->m_messageStatus = 0;
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GJAccountSettingsLayer_vtbl *)&off_A6CBC0;
v2->m_friendStatus = 0;
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A6CE58;
v2->m_commentHistoryStatus = 0;
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A6CE90;
v2->m_inputs = nullptr;
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A6CE9C;
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A6CEAC;
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A6CEBC;
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_A6CED0;
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&off_A6CF10;
v2->TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)&off_A6CF20;
memset(&v2->m_links.m_header, 0, sizeof(v2->m_links.m_header));
v2->m_links.m_nodecount = 0;
v2->m_messageSettings = nullptr;
v2->m_friendRequestSettings = nullptr;
v2->m_commentSettings = nullptr;
v2->m_links.m_header.m_left = &v2->m_links.m_header;
v2->m_links.m_header.m_right = &v2->m_links.m_header;
if ( GJAccountSettingsLayer::init(v2, a1) )
{
cocos2d::CCObject::autorelease(v2);
}
else
{
v3 = v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v4 = v2;
v2 = nullptr;
v3->~GJAccountSettingsLayer_0(v4);
}
return v2;
}