//
// cocos2d::CCScrollLayer::setMaximumScrollHeight from 0x579064 to 0x5790c4 (96 bytes)
//
// 1 xrefs:
// > ??> @ 0x65418
//
// 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 __fastcall cocos2d::CCScrollLayer::setMaximumScrollHeight(cocos2d::CCScrollLayer *this, float a2)
{
cocos2d::CCDirector *v3; // x0
float v6; // [xsp+34h] [xbp+34h]
v3 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::getWinSize(v3);
*((float *)this + 108) = a2 - v6;
return a2 - v6;
}