//
// AccountLoginLayer::dAccountLoginLayer from 0x14008c010 to 0x14008c143 (307 bytes)
//
// 3 xrefs:
// > sub_1400928B0 @ 0x1400928b7
// > ??> @ 0x140717380
// > ??> @ 0x1409128fc
//
// 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:25:59 +0000
//
// Hidden C++ exception states: #wind=1
char *__fastcall AccountLoginLayer::dAccountLoginLayer(char *Block, char a2)
{
char *v4; // rbx
__int64 v5; // rax
cocos2d::CCObject *v6; // rcx
*(_QWORD *)Block = &AccountLoginLayer::`vftable';
*((_QWORD *)Block + 40) = &AccountLoginLayer::`vftable';
*((_QWORD *)Block + 41) = &AccountLoginLayer::`vftable';
*((_QWORD *)Block + 42) = &AccountLoginLayer::`vftable';
*((_QWORD *)Block + 43) = &AccountLoginLayer::`vftable';
*((_QWORD *)Block + 44) = &AccountLoginLayer::`vftable';
*((_QWORD *)Block + 51) = &AccountLoginLayer::`vftable';
*((_QWORD *)Block + 54) = &AccountLoginLayer::`vftable';
*((_QWORD *)Block + 68) = &AccountLoginLayer::`vftable';
v4 = Block + 664;
*((_QWORD *)Block + 83) = &AccountLoginLayer::`vftable';
*((_QWORD *)Block + 84) = &AccountLoginLayer::`vftable';
v5 = GJAccountManager::sharedState();
if ( !Block )
v4 = nullptr;
if ( *(char **)(v5 + 416) == v4 )
*(_QWORD *)(GJAccountManager::sharedState() + 416) = 0;
v6 = *((cocos2d::CCObject **)Block + 89);
if ( v6 )
cocos2d::CCObject::release(v6);
sub_14003D310((__int64)(Block + 752));
sub_14003D310((__int64)(Block + 720));
FLAlertLayer::dFLAlertLayer((__int64)Block);
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}