// // ShaderLayer::triggerBulge from 0x140487040 to 0x140487250 (528 bytes) // // 2 xrefs: // > GJBaseGameLayer::triggerShaderCommand @ 0x140221cdb // > @ 0x1406dbda4 // // 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 ShaderLayer::triggerBulge( ShaderLayer *a1, float a2, float a3, float a4, float a5, float a6, int a7, int a8, float a9, bool a10) { ShaderLayer *v10; // rbx float m_bulgeValue; // xmm1_4 float x; // xmm1_4 float y; // xmm1_4 float m_bulgeRadius; // xmm1_4 v10 = a1; if ( a3 != -909190.0 ) { if ( a2 <= 0.0 ) { m_bulgeValue = 0.0; } else { if ( a1->m_timesyncShaderActions ) GJShaderState::timesyncShaderAction(&a1->m_state, 21); m_bulgeValue = v10->m_state.m_bulgeValue; a1 = v10; } ShaderLayer::tweenValue(a1, m_bulgeValue, a3, 21, a2, a8, a9); } if ( a4 != -909190.0 ) { if ( a2 <= 0.0 ) { x = 0.0; } else { if ( v10->m_timesyncShaderActions ) GJShaderState::timesyncShaderAction(&v10->m_state, 22); x = v10->m_state.m_bulgeScreenOffset.x; } ShaderLayer::tweenValue(v10, x, a4, 22, a2, a8, a9); } if ( a5 != -909190.0 ) { if ( a2 <= 0.0 ) { y = 0.0; } else { if ( v10->m_timesyncShaderActions ) GJShaderState::timesyncShaderAction(&v10->m_state, 23); y = v10->m_state.m_bulgeScreenOffset.y; } ShaderLayer::tweenValue(v10, y, a5, 23, a2, a8, a9); } if ( a6 != -909190.0 ) { if ( a2 <= 0.0 ) { m_bulgeRadius = 0.0; } else { if ( v10->m_timesyncShaderActions ) GJShaderState::timesyncShaderAction(&v10->m_state, 24); m_bulgeRadius = v10->m_state.m_bulgeRadius; } ShaderLayer::tweenValue(v10, m_bulgeRadius, a6, 24, a2, a8, a9); } v10->m_state.m_bulgeRelative = a10; v10->m_state.m_bulgeTargetID = a7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source