//
// cocos2d::CCScrollLayer::setMaximumScrollHeight from 0x3c8180 to 0x3c81c4 (68 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:46:35 +0000
//
int __fastcall cocos2d::CCScrollLayer::setMaximumScrollHeight(cocos2d::CCScrollLayer *this, float a2)
{
int result; // r0
_BYTE v5[4]; // [sp+4h] [bp-10h] BYREF
float v6; // [sp+8h] [bp-Ch]
cocos2d::CCDirector::sharedDirector(this);
result = cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v5);
*((float *)this + 86) = a2 - v6;
return result;
}