//
// ScrollableContentLayer::setViewSize from 0x6e5a84 to 0x6e5ad4 (80 bytes)
//
// 6 xrefs:
// > CCTextInputNode::setTextScrollViewSize @ 0x6b7fb4
// > KeybindingsLayer::showTab @ 0x997208
// > ThreadViewPopup::layoutComposeBar @ 0xc66894
// > EditorSoundsLayer::showTab @ 0xcd6928
// > EditorWindowPopup::applyWindowSize @ 0xcd8908
// > ??> @ 0xdae00
//
// 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:51:43 +0000
//
__int64 __fastcall ScrollableContentLayer::setViewSize(ScrollableContentLayer *a1, __int64 a2)
{
cocos2d::CCSize::operator=((char *)a1 + 424, a2);
(*(void (__fastcall **)(ScrollableContentLayer *, __int64))(*(_QWORD *)a1 + 320LL))(a1, a2);
ScrollableContentLayer::clampOffset((__int64)a1);
ScrollableContentLayer::ensureScrollThumb(a1);
return ScrollableContentLayer::applyContentPosition(a1);
}