//
// ScrollableContentLayer::setViewSize from 0x3f641c to 0x3f644c (48 bytes)
//
// 5 xrefs:
// > CCTextInputNode::setTextScrollViewSize @ 0x3dc82a
// > KeybindingsLayer::showTab @ 0x58a678
// > ThreadViewPopup::layoutComposeBar @ 0x747562
// > EditorSoundsLayer::showTab @ 0x78aa0c
// > EditorWindowPopup::applyWindowSize @ 0x78bfe2
//
// 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:47:17 +0000
//
void __fastcall ScrollableContentLayer::setViewSize(ScrollableContentLayer *a1, int a2, int a3, int a4)
{
int v6; // r1
int v7; // r2
cocos2d::CCSize::operator=((char *)a1 + 324, a2);
(*(void (__fastcall **)(ScrollableContentLayer *, int))(*(_DWORD *)a1 + 160))(a1, a2);
ScrollableContentLayer::clampOffset((int)a1);
ScrollableContentLayer::ensureScrollThumb((int)a1);
ScrollableContentLayer::applyContentPosition(a1, v6, v7, a4);
}