//
// cocos2d::CCScrollLayer::setMaximumScrollHeight from 0x2e7ed0 to 0x2e7f14 (68 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
//
cocos2d::CCSize *__fastcall cocos2d::CCScrollLayer::setMaximumScrollHeight(cocos2d::CCScrollLayer *this, float a2)
{
cocos2d::CCDirector *v4; // r0
cocos2d::CCSize *result; // r0
cocos2d::CCSize v6; // [sp+4h] [bp-10h] BYREF
v4 = cocos2d::CCDirector::sharedDirector();
result = cocos2d::CCDirector::getWinSize(&v6, v4);
*((float *)this + 86) = a2 - v6.height;
return result;
}