//
// CCScrollLayerExt::scrollLayer from 0x10041bf90 to 0x10041bfe8 (88 bytes)
//
// 2 xrefs:
// > TableView::scrollWheel @ 0x10070008c
// > sub_1007000B0 @ 0x1007000d3
//
// 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
//
__int64 __fastcall CCScrollLayerExt::scrollLayer(__int64 a1, float a2)
{
__int64 result; // rax
result = GameManager::sharedState();
*(float *)(a1 + 520) = (float)(a2 * *(float *)(result + 1108)) + *(float *)(a1 + 520);
if ( !*(_BYTE *)(a1 + 524) )
{
result = cocos2d::CCNode::schedule_2(a1, (__int64)CCScrollLayerExt::updateScrollDecay, 0);
*(_BYTE *)(a1 + 524) = 1;
}
return result;
}