//
// cocos2d::extension::CCScrollView::setContentOffsetInDuration from 0x180012410 to 0x180012480 (112 bytes)
//
// 2 xrefs:
// > ??> @ 0x180032408
// > ??> @ 0x18004c2e4
//
// 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:15:40 +0000
//
__int64 __fastcall cocos2d::extension::CCScrollView::setContentOffsetInDuration(
__int64 a1,
const struct cocos2d::CCPoint *a2,
float a3)
{
struct cocos2d::CCFiniteTimeAction *v4; // rdi
__int64 v5; // rax
cocos2d::CCNode *v6; // rbx
struct cocos2d::CCAction *v7; // rax
v4 = cocos2d::CCMoveTo::create(a3, a2);
v5 = cocos2d::CCCallFuncN::create(a1, cocos2d::extension::CCScrollView::stoppedAnimatedScroll);
v6 = *(cocos2d::CCNode **)(a1 + 448);
v7 = cocos2d::CCSequence::create(v4, v5, 0);
cocos2d::CCNode::runAction(v6, v7);
return cocos2d::CCNode::schedule(a1, cocos2d::extension::CCScrollView::performedAnimatedScroll);
}