//
// GJDropDownLayer::create from 0x8ed30c to 0x8ed438 (300 bytes)
//
// 2 xrefs:
// > GJDropDownLayer::create @ 0x8ed440
// > ??> @ 0x8c8f0
//
// This function is hookable on this platform (idp: arm, 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 12:56:56 +0000
//
__int64 __fastcall GJDropDownLayer::create(GJDropDownLayer *this, const char *a2, float a3)
{
unsigned __int8 v5; // w20
__int64 v6; // x19
v5 = (unsigned __int8)a2;
v6 = operator new(0x260u);
cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v6);
*(_QWORD *)v6 = &off_145E470;
*(_QWORD *)(v6 + 320) = off_145E9E8;
*(_QWORD *)(v6 + 328) = &off_145EA58;
*(_QWORD *)(v6 + 336) = off_145EA70;
*(_QWORD *)(v6 + 344) = off_145EA90;
*(_QWORD *)(v6 + 352) = off_145EAB8;
*(_QWORD *)(v6 + 408) = &off_145EAE8;
*(_QWORD *)(v6 + 432) = &off_145EB68;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v6 + 544));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v6 + 552));
*(_QWORD *)(v6 + 560) = 0;
*(_QWORD *)(v6 + 568) = 0;
*(_QWORD *)(v6 + 576) = 0;
*(_BYTE *)(v6 + 584) = 0;
*(_QWORD *)(v6 + 592) = 0;
*(_BYTE *)(v6 + 600) = 0;
if ( (unsigned __int8)GJDropDownLayer::init((GameToolbox **)v6, this, a3, v5) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v6);
return v6;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v6 + 16LL))(v6);
return 0;
}
}