// // GameObject::commonInteractiveSetup from 0x1005b5430 to 0x1005b54f0 (192 bytes) // // 2 xrefs: // > GameObject::customSetup @ 0x1005ab876 // > EnhancedGameObject::customSetup @ 0x1005cd71f // // 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; // rax double v2[4]; // [rsp-20h] [rbp-20h] 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); sub_10028CBE0((float *)v2, 0.0, -5.0); sub_10028CC90(&a1->m_particleOffset, v2); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source