//
// GJDropDownLayer::create from 0x1005e7f40 to 0x1005e804f (271 bytes)
//
// 1 xrefs:
// > GJDropDownLayer::create_1 @ 0x1005e848f
//
// 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
//
GJDropDownLayer *__fastcall GJDropDownLayer::create(const char *a1, float a2, bool a3)
{
char *v3; // rbx
v3 = (char *)operator new(0x260u);
cocos2d::CCLayerColor::CCLayerColor((__int64)v3);
*(_QWORD *)v3 = off_100978158;
*((_QWORD *)v3 + 40) = off_1009786C0;
*((_QWORD *)v3 + 41) = &off_100978730;
*((_QWORD *)v3 + 42) = off_100978748;
*((_QWORD *)v3 + 43) = off_100978768;
*((_QWORD *)v3 + 44) = off_100978788;
*((_QWORD *)v3 + 51) = off_1009787B0;
*((_QWORD *)v3 + 54) = off_100978830;
sub_10028CC30((_QWORD *)v3 + 68);
sub_10028CC30((_QWORD *)v3 + 69);
*((_QWORD *)v3 + 74) = 0;
v3[600] = 0;
*((_OWORD *)v3 + 35) = 0;
*(_OWORD *)(v3 + 569) = 0;
if ( GJDropDownLayer::init((GJDropDownLayer *)v3, a1, a2, a3) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v3);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v3 + 16LL))(v3);
return nullptr;
}
return (GJDropDownLayer *)v3;
}