//
// GJAccountSettingsLayer::create from 0x1002d5138 to 0x1002d5204 (204 bytes)
//
// 1 xrefs:
// > ProfilePage::onSettings @ 0x10019b550
//
// 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 *__fastcall GJAccountSettingsLayer::create(int a1)
{
GJAccountSettingsLayer *v2; // x19
v2 = (GJAccountSettingsLayer *)operator new(0x2C8u);
FLAlertLayer::FLAlertLayer(v2);
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GJAccountSettingsLayer_vtbl *)off_1007D99D0;
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_1007D9F00;
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_1007D9F70;
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_1007D9F88;
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)off_1007D9FA8;
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_1007D9FC8;
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)off_1007D9FF0;
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)off_1007DA070;
v2->TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)off_1007DA090;
v2->m_links.__tree_.__pair1_.__value_.__left_ = nullptr;
v2->m_messageSettings = nullptr;
v2->m_links.__tree_.__pair3_.__value_ = 0;
*(_QWORD *)&v2->m_accountID = 0;
v2->m_inputs = nullptr;
*(_QWORD *)&v2->m_friendStatus = 0;
v2->m_links.__tree_.__begin_node_ = &v2->m_links.__tree_.__pair1_.__value_;
v2->m_commentSettings = nullptr;
v2->m_friendRequestSettings = nullptr;
if ( GJAccountSettingsLayer::init(v2, a1) )
{
cocos2d::CCObject::autorelease(v2);
}
else
{
((void (__fastcall *)(GJAccountSettingsLayer *))v2->~GJAccountSettingsLayer_0)(v2);
return nullptr;
}
return v2;
}