// // PlayLayer::getRelativeModNew from 0x5cda88 to 0x5cdad8 (80 bytes) // // 3 xrefs: // > PlayLayer::applyEnterEffect @ 0x5cdb44 // > PlayLayer::updateVisibility @ 0x5ceb6c // > @ 0x35c10 // // 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 // // local variable allocation has failed, the output may be wrong! float PlayLayer::getRelativeModNew(PlayLayer *a1, cocos2d::CCPoint a2, float a3, float a4, bool a5, bool a6) { char v6; // w3 float v7; // s0 if ( v6 ) v7 = (float)((float)((float)(a1->m_gameState.m_cameraPosition2.x + a1->m_cameraWidth) - *(float *)a5) + a2.y) / a2.x; else v7 = (float)((float)(*(float *)a5 - a1->m_gameState.m_cameraPosition2.x) - a2.y) / a2.x; return cocos2d::clampf(v7, 0.0, 1.0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source