//
// AccountLoginLayer::create from 0x140090960 to 0x140090afe (414 bytes)
//
// 3 xrefs:
// > AccountLayer::onLogin @ 0x14009353f
// > AccountHelpLayer::onReLogin @ 0x140095138
// > ??> @ 0x140912a28
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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:26:00 +0000
//
// Hidden C++ exception states: #wind=2
_QWORD *__fastcall AccountLoginLayer::create(__int64 a1)
{
_QWORD *v2; // rbx
__int64 v3; // rax
_BYTE v5[32]; // [rsp+28h] [rbp-40h] BYREF
__int64 v6; // [rsp+48h] [rbp-20h]
v6 = a1;
v2 = operator new(0x310u);
FLAlertLayer::FLAlertLayer((__int64)v2);
*v2 = &AccountLoginLayer::`vftable';
v2[40] = &AccountLoginLayer::`vftable';
v2[41] = &AccountLoginLayer::`vftable';
v2[42] = &AccountLoginLayer::`vftable';
v2[43] = &AccountLoginLayer::`vftable';
v2[44] = &AccountLoginLayer::`vftable';
v2[51] = &AccountLoginLayer::`vftable';
v2[54] = &AccountLoginLayer::`vftable';
v2[68] = &AccountLoginLayer::`vftable';
v2[83] = &AccountLoginLayer::`vftable';
v2[84] = &AccountLoginLayer::`vftable';
v2[85] = 0;
v2[86] = 0;
v2[87] = 0;
v2[88] = 0;
v2[89] = 0;
*((_OWORD *)v2 + 45) = 0;
v2[92] = 0;
v2[93] = 15;
*((_BYTE *)v2 + 720) = 0;
*((_OWORD *)v2 + 47) = 0;
v2[96] = 0;
v2[97] = 15;
*((_BYTE *)v2 + 752) = 0;
v3 = sub_14003F4F0((__int64)v5, a1);
if ( (unsigned __int8)AccountLoginLayer::init(v2, v3) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);
}
else
{
(*(void (__fastcall **)(_QWORD *, __int64))(*v2 + 8LL))(v2, 1);
v2 = nullptr;
}
sub_14003D310(a1);
return v2;
}