//
// GJPFollowCommandLayer::create from 0x10015e9cc to 0x10015eaa4 (216 bytes)
//
// 1 xrefs:
// > EditorUI::editObject @ 0x1003e4fc0
//
// 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
//
GJPFollowCommandLayer *__fastcall GJPFollowCommandLayer::create(EffectGameObject *a1, cocos2d::CCArray *a2)
{
char *v4; // x19
v4 = (char *)operator new(0x418u);
SetupTriggerPopup::SetupTriggerPopup((SetupTriggerPopup *)v4);
*(_QWORD *)v4 = &off_10079B330;
*((_QWORD *)v4 + 40) = off_10079B900;
*((_QWORD *)v4 + 41) = &off_10079B970;
*((_QWORD *)v4 + 42) = off_10079B988;
*((_QWORD *)v4 + 43) = off_10079B9A8;
*((_QWORD *)v4 + 44) = off_10079B9C8;
*((_QWORD *)v4 + 51) = off_10079B9F0;
*((_QWORD *)v4 + 54) = off_10079BA70;
*((_QWORD *)v4 + 79) = off_10079BA90;
*((_QWORD *)v4 + 80) = &off_10079BAD8;
*((_QWORD *)v4 + 81) = off_10079BAF0;
*(_OWORD *)(v4 + 984) = 0u;
*(_OWORD *)(v4 + 1016) = 0u;
if ( GJPFollowCommandLayer::init((GJPFollowCommandLayer *)v4, a1, a2) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v4 + 16LL))(v4);
return nullptr;
}
return (GJPFollowCommandLayer *)v4;
}