// // GJBaseGameLayer::getModifiedDelta from 0x1402377b0 to 0x140237848 (152 bytes) // // 3 xrefs: // > GJBaseGameLayer::update @ 0x14023795c // > LevelEditorLayer::updateEditor @ 0x1402d8b39 // > @ 0x1406ce13c // // 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 v3; // xmm7_8 double v4; // xmm6_8 double result; // xmm0_8 if ( a1->m_resumeTimer > 0 ) { cocos2d::CCDirector::sharedDirector(a1); --a1->m_resumeTimer; a2 = 0.0; } v3 = fminf(1.0, a1->m_gameState.m_timeWarp) * 0.004166666666666667; v4 = (float)(a2 + a1->m_extraDelta); result = (double)(int)roundf(v4 / v3) * v3; a1->m_extraDelta = v4 - result; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source