//
// sub_10090C820 from 0x10090c820 to 0x10090c880 (96 bytes)
//
// 1 xrefs:
// > ??> @ 0x100bc0068
//
// 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:38:07 +0000
//
_QWORD *__fastcall sub_10090C820(_QWORD *a1, __int64 a2)
{
_QWORD *result; // rax
__int64 v3; // rdi
result = a1;
v3 = (__int64)(a1 - 68);
if ( result[18] == a2 )
{
if ( result[19] )
ScrollableContentLayer::scrollTo(0.0);
return (_QWORD *)sub_10090B400(v3);
}
else if ( result[21] == a2 || result[22] == a2 )
{
return (_QWORD *)sub_10090C4C0(v3);
}
return result;
}