//
// cocos2d::CCScrollLayer::setMaximumScrollHeight from 0x694538 to 0x694598 (96 bytes)
//
// 1 xrefs:
// > ??> @ 0x89938
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:50:36 +0000
//
float __fastcall cocos2d::CCScrollLayer::setMaximumScrollHeight(cocos2d::CCScrollLayer *this, float a2)
{
cocos2d::CCDirector *v3; // x0
float result; // s0
__int64 v6; // [xsp+30h] [xbp+30h] BYREF
v3 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(_stack_chk_guard);
cocos2d::CCDirector::getWinSize(&v6, v3);
result = a2 - *((float *)&v6 + 1);
*((float *)this + 108) = a2 - *((float *)&v6 + 1);
return result;
}