//
// CCScrollLayerExt::scrollLayer from 0x10039e21c to 0x10039e280 (100 bytes)
//
// 2 xrefs:
// > TableView::scrollWheel @ 0x10039c83c
// > sub_10039C854 @ 0x10039c874
//
// This function is hookable on this platform (idp: arm, 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 11:03:45 +0000
//
float *__fastcall CCScrollLayerExt::scrollLayer(__int64 a1, float a2)
{
float *result; // x0
result = (float *)GameManager::sharedState(a1);
*(float *)(a1 + 520) = *(float *)(a1 + 520) + (float)(result[277] * a2);
if ( (*(_BYTE *)(a1 + 524) & 1) == 0 )
{
result = (float *)cocos2d::CCNode::schedule_1(a1, (unsigned __int64)CCScrollLayerExt::updateScrollDecay, 0);
*(_BYTE *)(a1 + 524) = 1;
}
return result;
}