// // GJBaseGameLayer::updateActiveEnterEffect from 0x8985ec to 0x898798 (428 bytes) // // 2 xrefs: // > EffectGameObject::triggerObject @ 0x770094 // > @ 0x55530 // // 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 GJBaseGameLayer::updateActiveEnterEffect(GJBaseGameLayer *a1, EnterEffectObject *a2) { int m_objectID; // w2 int v5; // w21 unsigned int m_enterType; // w2 unsigned int v7; // w2 m_objectID = a2->m_objectID; if ( m_objectID == 55 ) { v5 = -11; goto LABEL_9; } if ( m_objectID <= 55 ) { if ( m_objectID == 25 ) { v5 = -7; goto LABEL_9; } if ( m_objectID <= 25 ) { v5 = -6; if ( m_objectID != 23 ) { v5 = -5; if ( m_objectID != 24 ) v5 = -2; } goto LABEL_9; } if ( m_objectID == 27 ) { v5 = -3; goto LABEL_9; } v5 = -8; if ( m_objectID < 27 ) goto LABEL_9; v5 = -4; if ( m_objectID == 28 ) goto LABEL_9; LABEL_18: v5 = -2; LABEL_9: m_enterType = a2->m_enterType; if ( m_enterType <= 1 ) { a1->m_gameState.m_enterChannelMap.m_start[a2->m_enterChannel] = v5; GJBaseGameLayer::removeCustomEnterEffects(a1, a2->m_enterChannel, 1); m_enterType = a2->m_enterType; } if ( (m_enterType & 0xFFFFFFFD) == 0 ) { a1->m_gameState.m_exitChannelMap.m_start[a2->m_enterChannel] = v5; GJBaseGameLayer::removeCustomEnterEffects(a1, a2->m_enterChannel, 0); } return; } if ( m_objectID == 59 ) { v5 = -13; goto LABEL_9; } if ( m_objectID <= 59 ) { if ( m_objectID == 57 ) { v5 = -9; } else if ( m_objectID <= 57 ) { v5 = -10; } else { v5 = -12; } goto LABEL_9; } if ( m_objectID == 1915 ) { v5 = -14; goto LABEL_9; } if ( m_objectID < 1915 || (unsigned int)(m_objectID - 3017) > 4 ) goto LABEL_18; v7 = a2->m_enterType; if ( v7 <= 1 ) { a1->m_gameState.m_enterChannelMap.m_start[a2->m_enterChannel] = -15; GJBaseGameLayer::addCustomEnterEffect(a1, a2, 1); v7 = a2->m_enterType; } if ( (v7 & 0xFFFFFFFD) == 0 ) { a1->m_gameState.m_exitChannelMap.m_start[a2->m_enterChannel] = -15; GJBaseGameLayer::addCustomEnterEffect(a1, a2, 0); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source