// // GameObject::commonInteractiveSetup from 0x1002596c0 to 0x100259770 (176 bytes) // // 3 xrefs: // > GameObject::customSetup @ 0x100256820 // > GameObject::customSetup @ 0x100256fcc // > EnhancedGameObject::customSetup @ 0x1002645c4 // // 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 // void __fastcall GameObject::commonInteractiveSetup(GameObject *a1) { GJSpriteColor *m_baseColor; // x8 __n128 v3; // q0 __n128 v4; // q1 double v5; // [xsp+8h] [xbp-18h] BYREF a1->m_objectType = Collectible; a1->m_defaultZOrder = 9; a1->m_colorZLayerRelated = 1; a1->m_unk28c = 1; a1->m_colorSpriteLocked = 1; a1->m_particleUseObjectColor = 1; m_baseColor = a1->m_baseColor; if ( m_baseColor ) *(_QWORD *)&m_baseColor->m_colorID = &_mh_execute_header; if ( !a1->m_editorEnabled && !a1->m_hasNoEffects && a1->m_objectID != 1614 ) { GameObject::createAndAddParticle(a1, 30, "keyEffect.plist", 0, kCCPositionTypeGrouped); v3.n128_u32[0] = 0; v4.n128_u32[0] = -5.0; sub_100022980(v3, v4, &v5); sub_1000229D0(&a1->m_particleOffset, &v5); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source