//
// ScrollableContentLayer::sectionIndexForY from 0x6e2498 to 0x6e24bc (36 bytes)
//
// 2 xrefs:
// > ScrollableContentLayer::sectionAddChild @ 0x6e4f14
// > ??> @ 0xe9890
//
// 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 12:51:40 +0000
//
unsigned int __fastcall ScrollableContentLayer::sectionIndexForY(ScrollableContentLayer *this, float a2)
{
float v2; // s1
v2 = *((float *)this + 130);
if ( v2 <= 0.0 )
return 0;
else
return vcvtms_s32_f32((float)-a2 / v2);
}