// // CCScrollLayerExt::setContentOffset from 0x10042eac0 to 0x10042eb45 (133 bytes) // // 1 xrefs: // > CustomListView::setupList @ 0x10024de6e // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // // local variable allocation has failed, the output may be wrong! void __fastcall CCScrollLayerExt::setContentOffset(CCScrollLayerExt *a1, cocos2d::CCPoint a2, bool a3) { int v3; // edx cocos2d::CCMoveTo *v4; // rax cocos2d::CCEaseOut *v5; // r14 cocos2d::CCCallFunc *v6; // rax CCContentLayer *m_contentLayer; // rbx cocos2d::CCSequence *v8; // rax if ( v3 ) { v4 = cocos2d::CCMoveTo::create(0.30000001, (const cocos2d::CCPoint *)a3); v5 = cocos2d::CCEaseOut::create(v4, 3.0); v6 = cocos2d::CCCallFunc::create(a1, (cocos2d::SEL_CallFunc)(unsigned __int64)CCScrollLayerExt::constraintContent); m_contentLayer = a1->m_contentLayer; v8 = sub_1003B5760(v5, v6, 0); cocos2d::CCNode::runAction(m_contentLayer, v8); } else { ((void (__fastcall *)(CCContentLayer *, bool, double))a1->m_contentLayer->setPosition)( a1->m_contentLayer, a3, *(double *)&a2); CCScrollLayerExt::doConstraintContent(a1, 0); } }