//
// GameObject::commonInteractiveSetup from 0x140293ef0 to 0x140293fa9 (185 bytes)
//
// 4 xrefs:
// > GameObject::customSetup @ 0x14028e1d9
// > GameObject::customSetup @ 0x140290c81
// > EnhancedGameObject::customSetup @ 0x1402a293b
// > ??> @ 0x14091d384
//
// This function is hookable on this platform (idp: pc, 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 11:29:10 +0000
//
double __fastcall GameObject::commonInteractiveSetup(__int64 a1)
{
_DWORD *v1; // rax
__int64 v3; // rax
double result; // xmm0_8
char v5; // [rsp+40h] [rbp+8h] BYREF
v1 = *(_DWORD **)(a1 + 1104);
*(_DWORD *)(a1 + 928) = 30;
*(_DWORD *)(a1 + 1056) = 9;
*(_BYTE *)(a1 + 1061) = 1;
*(_BYTE *)(a1 + 656) = 1;
*(_BYTE *)(a1 + 874) = 1;
*(_BYTE *)(a1 + 817) = 1;
if ( v1 )
{
v1[1] = 1;
*v1 = 0;
}
if ( !*(_BYTE *)(a1 + 653) && !*(_BYTE *)(a1 + 1052) && *(_DWORD *)(a1 + 1036) != 1614 )
{
GameObject::createAndAddParticle(a1, *(_DWORD *)(a1 + 928), (unsigned int)"keyEffect.plist", 0, 2);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v5, 0.0, -5.0);
return cocos2d::CCPoint::operator=(a1 + 820, v3);
}
return result;
}