//
// AccountLayer::create from 0x583bb0 to 0x583c78 (200 bytes)
//
// 2 xrefs:
// > OptionsLayer::layerHidden @ 0x52c362
// > AccountHelpLayer::layerHidden @ 0x583c8a
//
// 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:56 +0000
//
GJDropDownLayer *__fastcall AccountLayer::create(AccountLayer *this)
{
GJDropDownLayer *v1; // r4
int v2; // r3
int *v3; // r0
v1 = (GJDropDownLayer *)operator new(0x21Cu);
GJDropDownLayer::GJDropDownLayer(v1);
*(_DWORD *)v1 = &off_CB30F0;
*((_DWORD *)v1 + 66) = &off_CB33C4;
*((_DWORD *)v1 + 67) = &off_CB33FC;
*((_DWORD *)v1 + 68) = &off_CB3408;
*((_DWORD *)v1 + 69) = &off_CB3418;
*((_DWORD *)v1 + 70) = &off_CB342C;
*((_DWORD *)v1 + 79) = &off_CB3444;
*((_DWORD *)v1 + 83) = &off_CB3484;
*((_DWORD *)v1 + 120) = &off_CB3494;
*((_DWORD *)v1 + 121) = &off_CB34A0;
*((_DWORD *)v1 + 122) = &off_CB34B0;
*((_DWORD *)v1 + 123) = &off_CB34C0;
*((_DWORD *)v1 + 124) = 0;
*((_DWORD *)v1 + 125) = 0;
*((_DWORD *)v1 + 126) = 0;
*((_DWORD *)v1 + 127) = 0;
*((_DWORD *)v1 + 128) = 0;
*((_DWORD *)v1 + 129) = 0;
*((_DWORD *)v1 + 130) = 0;
*((_DWORD *)v1 + 133) = 0;
*((_BYTE *)v1 + 536) = 0;
if ( GJDropDownLayer::init((GameToolbox **)v1, (cocos2d::CCLabelBMFont *)"Account") )
{
cocos2d::CCObject::autorelease(v1);
}
else
{
v2 = *(_DWORD *)v1;
v3 = (int *)v1;
v1 = nullptr;
(*(void (__fastcall **)(int *))(v2 + 8))(v3);
}
return v1;
}