//
// AccountLayer::create from 0x1000cb9b0 to 0x1000cbb7e (462 bytes)
//
// 2 xrefs:
// > AccountHelpLayer::layerHidden @ 0x1000cf093
// > OptionsLayer::layerHidden @ 0x10079b606
//
// 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
//
AccountLayer *__fastcall AccountLayer::create()
{
char *v0; // rbx
v0 = (char *)operator new(0x2D0u);
cocos2d::CCLayerColor::CCLayerColor(v0);
*(_QWORD *)v0 = off_100978158;
*((_QWORD *)v0 + 40) = off_1009786C0;
*((_QWORD *)v0 + 41) = &off_100978730;
*((_QWORD *)v0 + 42) = off_100978748;
*((_QWORD *)v0 + 43) = off_100978768;
*((_QWORD *)v0 + 44) = off_100978788;
*((_QWORD *)v0 + 51) = off_1009787B0;
*((_QWORD *)v0 + 54) = off_100978830;
sub_10028CC30(v0 + 544);
sub_10028CC30(v0 + 552);
*((_QWORD *)v0 + 74) = 0;
v0[600] = 0;
*((_OWORD *)v0 + 35) = 0;
*(_OWORD *)(v0 + 569) = 0;
*(_QWORD *)v0 = off_1008B83C0;
*((_QWORD *)v0 + 40) = off_1008B8958;
*((_QWORD *)v0 + 41) = &off_1008B89C8;
*((_QWORD *)v0 + 42) = off_1008B89E0;
*((_QWORD *)v0 + 43) = off_1008B8A00;
*((_QWORD *)v0 + 44) = off_1008B8A20;
*((_QWORD *)v0 + 51) = off_1008B8A48;
*((_QWORD *)v0 + 54) = off_1008B8AC8;
*((_QWORD *)v0 + 76) = &off_1008B8AE8;
*((_QWORD *)v0 + 77) = off_1008B8B00;
*((_QWORD *)v0 + 78) = off_1008B8B20;
*((_QWORD *)v0 + 79) = &off_1008B8B40;
*((_DWORD *)v0 + 178) = 0;
v0[716] = 0;
*((_OWORD *)v0 + 42) = 0;
*((_OWORD *)v0 + 41) = 0;
*((_OWORD *)v0 + 40) = 0;
*((_QWORD *)v0 + 86) = 0;
if ( GJDropDownLayer::init_1((GJDropDownLayer *)v0, "Account") )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v0 + 16LL))(v0);
return nullptr;
}
return (AccountLayer *)v0;
}