//
// cocos2d::extension::CCScrollView::setZoomScaleInDuration from 0x180012700 to 0x18001278f (143 bytes)
//
// 3 xrefs:
// > cocos2d::extension::CCScrollView::setZoomScale @ 0x1800126ed
// > ??> @ 0x180032408
// > ??> @ 0x18004c320
//
// 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
//
void __fastcall cocos2d::extension::CCScrollView::setZoomScaleInDuration(
cocos2d::extension::CCScrollView *this,
float a2,
float a3)
{
double v4; // xmm0_8
struct cocos2d::CCAction *v5; // rax
if ( a3 <= 0.0 )
{
cocos2d::extension::CCScrollView::setZoomScale(this, a2);
}
else if ( (*(float (__fastcall **)(_QWORD))(**((_QWORD **)this + 56) + 168LL))(*((_QWORD *)this + 56)) != a2 )
{
v4 = (*(double (__fastcall **)(_QWORD))(**((_QWORD **)this + 56) + 168LL))(*((_QWORD *)this + 56));
v5 = cocos2d::CCActionTween::create(a3, "zoomScale", *(float *)&v4, a2);
cocos2d::CCNode::runAction(this, v5);
}
}