//
// GradientTriggerObject::create from 0x10037a7b0 to 0x10037a86c (188 bytes)
//
// 1 xrefs:
// > GameObject::createWithKey @ 0x10025497c
//
// 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
//
GradientTriggerObject *__fastcall GradientTriggerObject::create()
{
char *v0; // x19
v0 = (char *)operator new(0x750u);
EffectGameObject::EffectGameObject((EffectGameObject *)v0);
*(_QWORD *)v0 = &off_1007FC198;
*((_QWORD *)v0 + 40) = off_1007FC8E0;
*((_QWORD *)v0 + 43) = off_1007FC960;
*(_QWORD *)(v0 + 1844) = 0;
*(_QWORD *)(v0 + 1852) = 0;
*(_QWORD *)(v0 + 1836) = 0;
*(_QWORD *)(v0 + 1859) = 0;
*((_DWORD *)v0 + 467) = 1065353216;
if ( EnhancedGameObject::init((EnhancedGameObject *)v0, "edit_eGradientBtn_001.png") )
{
*((_DWORD *)v0 + 312) = 1;
v0[1450] = -1;
*((_WORD *)v0 + 724) = -1;
*((_DWORD *)v0 + 363) = 1056964608;
v0[1636] = 1;
*((_DWORD *)v0 + 459) = 1;
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v0 + 16LL))(v0);
return nullptr;
}
return (GradientTriggerObject *)v0;
}