// // CCScrollLayerExt::setContentOffset from 0x10030109c to 0x100301134 (152 bytes) // // 1 xrefs: // > CustomListView::setupList @ 0x10010bac0 // // 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; // w2 cocos2d::CCMoveTo *v5; // x0 cocos2d::CCEaseOut *v6; // x20 char v7; // w0 CCContentLayer *m_contentLayer; // x19 __int64 v9; // x1 __int64 v10; // x2 __int64 v11; // x3 __int64 v12; // x4 __int64 v13; // x5 __int64 v14; // x6 __int64 v15; // x7 cocos2d::CCSequence *v16; // x1 cocos2d::SEL_CallFunc v17; // 0:x1.16 if ( v3 ) { v5 = cocos2d::CCMoveTo::create(0.3, (const cocos2d::CCPoint *)a3); v6 = cocos2d::CCEaseOut::create(v5, 3.0); v17.ptr = (void (*)(void))CCScrollLayerExt::constraintContent; v17.adj = 0; v7 = (unsigned __int8)cocos2d::CCCallFunc::create(a1, v17); m_contentLayer = a1->m_contentLayer; v16 = sub_10018A494(v6, v9, v10, v11, v12, v13, v14, v15, v7); cocos2d::CCNode::runAction(m_contentLayer, v16); } else { ((void (__fastcall *)(CCContentLayer *, bool, __n128, __n128))a1->m_contentLayer->setPosition)( a1->m_contentLayer, a3, *(__n128 *)&a2.x, *(__n128 *)&a2.y); CCScrollLayerExt::doConstraintContent(a1, 0); } }