//
// ScrollableContentLayer::sectionIndexForY from 0x3f4f54 to 0x3f4f8a (54 bytes)
//
// 1 xrefs:
// > ScrollableContentLayer::sectionAddChild @ 0x3f5d16
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:47:16 +0000
//
int __fastcall ScrollableContentLayer::sectionIndexForY(ScrollableContentLayer *this, float a2)
{
float v2; // s14
v2 = *((float *)this + 102);
if ( v2 <= 0.0 )
return 0;
else
return (int)floorf((float)-a2 / v2);
}