// // PlayLayer::getRelativeModNew from 0x1000b7e30 to 0x1000b7e7a (74 bytes) // // 0 xrefs: // // 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 __fastcall PlayLayer::getRelativeModNew(PlayLayer *a1, cocos2d::CCPoint a2, float a3, float a4, bool a5, bool a6) { int v6; // ecx float v7; // xmm3_4 if ( v6 ) v7 = (float)((float)(a1->m_gameState.m_cameraPosition2.x + a1->m_cameraWidth) - *(float *)a5) + a3; else v7 = (float)(*(float *)a5 - a1->m_gameState.m_cameraPosition2.x) - a3; return cocos2d::clampf(v7 / a2.x, 0.0, 1.0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source