//
// GJDropDownLayer::create from 0x52c064 to 0x52c120 (188 bytes)
//
// 1 xrefs:
// > GJDropDownLayer::create @ 0x52c128
//
// 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:00 +0000
//
int *__fastcall GJDropDownLayer::create(GJDropDownLayer *this, const char *a2, int a3, bool a4)
{
int *v7; // r4
int v8; // r3
int *v9; // r0
v7 = (int *)operator new(0x1E0u);
cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v7);
*v7 = (int)&off_CA8E30;
v7[66] = (int)&off_CA90EC;
v7[67] = (int)&off_CA9124;
v7[68] = (int)&off_CA9130;
v7[69] = (int)&off_CA9140;
v7[70] = (int)&off_CA9154;
v7[79] = (int)&off_CA916C;
v7[83] = (int)&off_CA91AC;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v7 + 110));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v7 + 112));
v7[114] = 0;
v7[115] = 0;
v7[116] = 0;
*((_BYTE *)v7 + 468) = 0;
v7[118] = 0;
*((_BYTE *)v7 + 476) = 0;
if ( GJDropDownLayer::init((GameToolbox **)v7, this, *(float *)&a2, a3) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v7);
}
else
{
v8 = *v7;
v9 = v7;
v7 = nullptr;
(*(void (__fastcall **)(int *))(v8 + 8))(v9);
}
return v7;
}