//
// sub_1003C3840 from 0x1003c3840 to 0x1003c38ac (108 bytes)
//
// 1 xrefs:
// > ??> @ 0x10092df50
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_1003C3840(_QWORD *a1)
{
__int64 v2; // rax
__int64 v3; // rdi
bool v4; // al
BoomScrollLayer *v5; // rdi
__int64 v6; // rbx
int m_page; // r14d
bool v8; // al
v2 = a1[2];
v3 = a1[3];
if ( v2 )
v4 = *(_DWORD *)(v2 + 580) > 0;
else
v4 = 0;
(*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v3 + 328LL))(v3, v4);
v5 = (BoomScrollLayer *)a1[2];
v6 = a1[4];
if ( v5 )
{
m_page = v5->m_page;
v8 = m_page < BoomScrollLayer::getTotalPages(v5) - 1;
}
else
{
v8 = 0;
}
return (*(__int64 (__fastcall **)(__int64, bool))(*(_QWORD *)v6 + 328LL))(v6, v8);
}