// // GJBaseGameLayer::updateBGArtSpeed from 0x477188 to 0x4771c6 (62 bytes) // // 4 xrefs: // > LevelEditorLayer::activateTriggerEffect @ 0x36df32 // > LevelEditorLayer::updateEditor @ 0x3762b4 // > EffectGameObject::triggerObject @ 0x3ede06 // > GJBaseGameLayer::resetLevelVariables @ 0x491b90 // // 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::updateBGArtSpeed(GJBaseGameLayer *a1, float a2, float a3) { float v3; // s14 float v4; // s11 float v5; // s15 bool v6; // fzf bool v7; // fnf float v8; // s11 v3 = a2; v4 = fabsf(a2); v5 = a3; v6 = v4 == 999.0; v7 = v4 < 999.0; v8 = fabsf(a3); if ( !v7 && !v6 ) v3 = 0.1; if ( v8 > 999.0 ) v5 = 0.1; a1->m_gameState.m_unkFloat5 = v3; a1->m_gameState.m_unkFloat6 = v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source