// // GJBaseGameLayer::getModifiedDelta from 0x866168 to 0x866214 (172 bytes) // // 3 xrefs: // > LevelEditorLayer::updateEditor @ 0x67c0f0 // > GJBaseGameLayer::update @ 0x89d974 // > @ 0x98eb0 // // 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 // double GJBaseGameLayer::getModifiedDelta(GJBaseGameLayer *a1, float a2) { double m_extraDelta; // d1 float m_timeWarp; // s2 float v5; // s1 double v6; // d2 double v7; // d1 float v8; // s0 double result; // d0 if ( a1->m_resumeTimer <= 0 ) { m_timeWarp = a1->m_gameState.m_timeWarp; v5 = a2 + a1->m_extraDelta; if ( m_timeWarp >= 1.0 ) goto LABEL_3; LABEL_6: v6 = m_timeWarp * 0.00416666667; goto LABEL_4; } cocos2d::CCDirector::sharedDirector(); m_extraDelta = a1->m_extraDelta; m_timeWarp = a1->m_gameState.m_timeWarp; --a1->m_resumeTimer; v5 = m_extraDelta + 0.0; if ( m_timeWarp < 1.0 ) goto LABEL_6; LABEL_3: v6 = 0.00416666667; LABEL_4: v7 = v5; v8 = v7 / v6; result = v6 * (double)(int)llroundf(v8); a1->m_extraDelta = v7 - result; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source