//
// CountTriggerGameObject::create from 0x1001d6a60 to 0x1001d6b1a (186 bytes)
//
// 1 xrefs:
// > GameObject::createWithKey @ 0x10059d545
//
// 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
//
CountTriggerGameObject *__fastcall CountTriggerGameObject::create(const char *a1)
{
char *v1; // rbx
v1 = (char *)operator new(0x740u);
EffectGameObject::EffectGameObject((EffectGameObject *)v1);
*(_QWORD *)v1 = off_1008D12A0;
*((_QWORD *)v1 + 40) = off_1008D19E8;
*((_QWORD *)v1 + 43) = off_1008D1A68;
*(_QWORD *)(v1 + 1836) = 0;
*((_WORD *)v1 + 922) = 0;
*((_DWORD *)v1 + 462) = 1065353216;
if ( EnhancedGameObject::init((EnhancedGameObject *)v1, a1) )
{
*((_DWORD *)v1 + 312) = 1;
v1[1450] = -1;
*((_WORD *)v1 + 724) = -1;
*((_DWORD *)v1 + 363) = 1056964608;
v1[1636] = 1;
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v1 + 16LL))(v1);
return nullptr;
}
return (CountTriggerGameObject *)v1;
}