//
// sub_14028D540 from 0x14028d540 to 0x14028d647 (263 bytes)
//
// 3 xrefs:
// > sub_1402A63D8 @ 0x1402a63df
// > ??> @ 0x14057b558
// > ??> @ 0x1406d1778
//
// 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
//
// Hidden C++ exception states: #wind=1
__int64 __fastcall sub_14028D540(__int64 Block, char a2)
{
cocos2d::CCObject *v4; // rcx
cocos2d::CCObject *v5; // rcx
cocos2d::CCObject *v6; // rcx
cocos2d::CCObject *v7; // rcx
*(_QWORD *)Block = &GJAccountSettingsLayer::`vftable';
*(_QWORD *)(Block + 320) = &GJAccountSettingsLayer::`vftable';
*(_QWORD *)(Block + 328) = &GJAccountSettingsLayer::`vftable';
*(_QWORD *)(Block + 336) = &GJAccountSettingsLayer::`vftable';
*(_QWORD *)(Block + 344) = &GJAccountSettingsLayer::`vftable';
*(_QWORD *)(Block + 352) = &GJAccountSettingsLayer::`vftable';
*(_QWORD *)(Block + 408) = &GJAccountSettingsLayer::`vftable';
*(_QWORD *)(Block + 432) = &GJAccountSettingsLayer::`vftable';
*(_QWORD *)(Block + 632) = &GJAccountSettingsLayer::`vftable';
v4 = *(cocos2d::CCObject **)(Block + 680);
if ( v4 )
cocos2d::CCObject::release(v4);
v5 = *(cocos2d::CCObject **)(Block + 688);
if ( v5 )
cocos2d::CCObject::release(v5);
v6 = *(cocos2d::CCObject **)(Block + 696);
if ( v6 )
cocos2d::CCObject::release(v6);
v7 = *(cocos2d::CCObject **)(Block + 656);
if ( v7 )
cocos2d::CCObject::release(v7);
sub_1401F4C90((void **)(Block + 664));
FLAlertLayer::dFLAlertLayer(Block);
if ( (a2 & 1) != 0 )
j_j_free((void *)Block);
return Block;
}