//
// AccountLoginLayer::create from 0x587a24 to 0x587b1e (250 bytes)
//
// 2 xrefs:
// > AccountHelpLayer::onReLogin @ 0x584596
// > AccountLayer::onLogin @ 0x584776
//
// 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:52:59 +0000
//
FLAlertLayer *__fastcall AccountLoginLayer::create(int a1)
{
FLAlertLayer *v2; // r4
int v3; // r7
int v4; // r3
FLAlertLayer *v5; // r0
int v7[3]; // [sp+0h] [bp-14h] BYREF
v2 = (FLAlertLayer *)operator new(0x23Cu);
FLAlertLayer::FLAlertLayer(v2);
*(_DWORD *)v2 = &off_CB3CD8;
*((_DWORD *)v2 + 66) = &off_CB3F98;
*((_DWORD *)v2 + 67) = &off_CB3FD0;
*((_DWORD *)v2 + 68) = &off_CB3FDC;
*((_DWORD *)v2 + 69) = &off_CB3FEC;
*((_DWORD *)v2 + 70) = &off_CB4000;
*((_DWORD *)v2 + 79) = &off_CB4018;
*((_DWORD *)v2 + 83) = &off_CB4058;
*((_DWORD *)v2 + 110) = &off_CB4068;
*((_DWORD *)v2 + 130) = &off_CB408C;
*((_DWORD *)v2 + 131) = &off_CB409C;
*((_DWORD *)v2 + 132) = 0;
*((_DWORD *)v2 + 133) = 0;
*((_DWORD *)v2 + 134) = 0;
*((_DWORD *)v2 + 135) = 0;
*((_DWORD *)v2 + 136) = 0;
*((_DWORD *)v2 + 137) = 0;
*((_DWORD *)v2 + 138) = 0;
*((_DWORD *)v2 + 139) = 0;
*((_DWORD *)v2 + 140) = 0;
*((_DWORD *)v2 + 141) = 0;
*((_DWORD *)v2 + 142) = 0;
std::string::basic_string(v7, a1);
v3 = AccountLoginLayer::init((int *)v2, v7);
std::string::~string((int)v7);
if ( v3 )
{
cocos2d::CCObject::autorelease(v2);
}
else
{
v4 = *(_DWORD *)v2;
v5 = v2;
v2 = nullptr;
(*(void (__fastcall **)(FLAlertLayer *))(v4 + 8))(v5);
}
return v2;
}