//
// GameObject::commonInteractiveSetup from 0x455444 to 0x4554c6 (130 bytes)
//
// 3 xrefs:
// > GameObject::customSetup @ 0x456c5a
// > GameObject::customSetup @ 0x458fec
// > EnhancedGameObject::customSetup @ 0x45a346
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:48:39 +0000
//
_DWORD *__fastcall GameObject::commonInteractiveSetup(GameObject *this)
{
int v2; // r3
_DWORD *result; // r0
_BYTE v4[8]; // [sp+Ch] [bp-Ch] BYREF
int v5; // [sp+14h] [bp-4h]
*((_BYTE *)this + 917) = 1;
*((_BYTE *)this + 552) = 1;
*((_BYTE *)this + 734) = 1;
v2 = _stack_chk_guard;
*((_BYTE *)this + 677) = 1;
v5 = v2;
*((_DWORD *)this + 196) = 30;
*((_DWORD *)this + 228) = 9;
result = GameObject::setDefaultMainColorMode(this, 1);
if ( !*((_BYTE *)this + 549) && !*((_BYTE *)this + 908) && *((_DWORD *)this + 223) != 1614 )
{
GameObject::createAndAddParticle(
(int)this,
*((_DWORD *)this + 196),
(int)"keyEffect.plist",
*((unsigned __int8 *)this + 908),
2);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v4, 0.0, -5.0);
return (_DWORD *)cocos2d::CCPoint::operator=((char *)this + 680, v4);
}
return result;
}