// // GJMGLayer::scaleGround from 0x7ed3c4 to 0x7ed444 (128 bytes) // // 2 xrefs: // > GJBaseGameLayer::updateCameraBGArt @ 0x867388 // > @ 0x953b8 // // 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 // float GJMGLayer::scaleGround(GJMGLayer *a1, float a2) { void (*setScaleX)(void); // x1 void (__fastcall *setScaleY)(cocos2d::CCNode *__hidden, float); // x20 long double v6; // q0 float m_groundWidth; // s8 setScaleX = (void (*)(void))a1->setScaleX; a1->m_groundScale = a2; setScaleX(); setScaleY = a1->setScaleY; if ( a1->getScaleY(a1) < 0.0 ) *(float *)&v6 = -a2; else *(float *)&v6 = a2; setScaleY(a1, v6); m_groundWidth = a1->m_groundWidth; GJMGLayer::updateGroundWidth(a1, 1); return a1->m_groundWidth - m_groundWidth; }
GD Web Decomp Icon

GD Web Decomp

Raw Source