//
// CCScrollLayerExt::setContentOffset from 0x10041b890 to 0x10041b915 (133 bytes)
//
// 5 xrefs:
// > CustomListView::setupList @ 0x100235a63
// > sub_1002F72A0 @ 0x1002f7358
// > SFXBrowser::onExitFolder @ 0x10042e172
// > sub_1004326B0 @ 0x10043298f
// > sub_100432A10 @ 0x100432a9d
//
// This function is hookable on this platform (idp: pc, 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:30:13 +0000
//
void __fastcall CCScrollLayerExt::setContentOffset(__int64 a1, _QWORD *a2, int a3)
{
_OWORD *v3; // rax
__int64 v4; // r14
__int64 v5; // rax
__int64 v6; // rbx
__int64 v7; // rax
if ( a3 )
{
v3 = cocos2d::CCMoveTo::create(a2, (__m128)0x3E99999Au);
v4 = cocos2d::CCEaseOut::create(v3, 3.0);
v5 = cocos2d::CCCallFunc::create(a1, CCScrollLayerExt::constraintContent, 0);
v6 = *(_QWORD *)(a1 + 488);
v7 = sub_10039EB60(v4, v5, 0);
cocos2d::CCNode::runAction(v6, v7);
}
else
{
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 488) + 184LL))(*(_QWORD *)(a1 + 488));
CCScrollLayerExt::doConstraintContent(a1, 0);
}
}