//
// GJAccountSettingsLayer::create from 0x5e4308 to 0x5e43d4 (204 bytes)
//
// 1 xrefs:
// > ProfilePage::onSettings @ 0x5f5962
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:54:18 +0000
//
FLAlertLayer *__fastcall GJAccountSettingsLayer::create(GJAccountSettingsLayer *this, int a2)
{
FLAlertLayer *v3; // r4
int v4; // r3
FLAlertLayer *v5; // r0
v3 = (FLAlertLayer *)operator new(0x240u);
FLAlertLayer::FLAlertLayer(v3);
*(_DWORD *)v3 = &off_CB8110;
*((_DWORD *)v3 + 66) = &off_CB83B8;
*((_DWORD *)v3 + 67) = &off_CB83F0;
*((_DWORD *)v3 + 68) = &off_CB83FC;
*((_DWORD *)v3 + 69) = &off_CB840C;
*((_DWORD *)v3 + 70) = &off_CB8420;
*((_DWORD *)v3 + 79) = &off_CB8438;
*((_DWORD *)v3 + 83) = &off_CB8478;
*((_DWORD *)v3 + 110) = &off_CB8488;
*((_DWORD *)v3 + 134) = 1;
*((_DWORD *)v3 + 130) = 0;
*((_DWORD *)v3 + 135) = 2;
*((_DWORD *)v3 + 131) = 0;
*((_DWORD *)v3 + 132) = 0;
*((_DWORD *)v3 + 133) = 0;
*((_DWORD *)v3 + 136) = 0;
*((_DWORD *)v3 + 138) = 0;
*((_DWORD *)v3 + 139) = 0;
*((_DWORD *)v3 + 137) = (char *)v3 + 552;
*((_DWORD *)v3 + 140) = 0;
*((_DWORD *)v3 + 141) = 0;
*((_DWORD *)v3 + 142) = 0;
*((_DWORD *)v3 + 143) = 0;
if ( GJAccountSettingsLayer::init(v3, (int)this) )
{
cocos2d::CCObject::autorelease(v3);
}
else
{
v4 = *(_DWORD *)v3;
v5 = v3;
v3 = nullptr;
(*(void (__fastcall **)(FLAlertLayer *))(v4 + 8))(v5);
}
return v3;
}