//
// GameObject::commonInteractiveSetup from 0x778f64 to 0x779038 (212 bytes)
//
// 4 xrefs:
// > GameObject::customSetup @ 0x77a1b4
// > GameObject::customSetup @ 0x77aa44
// > EnhancedGameObject::customSetup @ 0x77dd9c
// > ??> @ 0x4a1b8
//
// This function is hookable on this platform (idp: arm, 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 12:53:15 +0000
//
__int64 __fastcall GameObject::commonInteractiveSetup(GameObject *this)
{
__int64 v2; // x2
_BYTE v4[8]; // [xsp+40h] [xbp+40h] BYREF
__int64 v5; // [xsp+48h] [xbp+48h]
*((_BYTE *)this + 1053) = 1;
*((_BYTE *)this + 652) = 1;
*((_BYTE *)this + 866) = 1;
*((_BYTE *)this + 809) = 1;
v2 = _stack_chk_guard;
*((_DWORD *)this + 230) = 30;
*((_DWORD *)this + 262) = 9;
v5 = v2;
GameObject::setDefaultMainColorMode(this, 1);
if ( !*((_BYTE *)this + 649) && !*((_BYTE *)this + 1044) && *((_DWORD *)this + 257) != 1614 )
{
GameObject::createAndAddParticle((__int64)this, *((_DWORD *)this + 230), (__int64)"keyEffect.plist", 0, 2u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v4, 0.0, -5.0);
cocos2d::CCPoint::operator=((char *)this + 812, v4);
}
return _stack_chk_guard;
}