//
// sub_10096B700 from 0x10096b700 to 0x10096b7a2 (162 bytes)
//
// 3 xrefs:
// > KeybindingsLayer::showTab @ 0x1006e3ec2
// > sub_1008BBE30 @ 0x1008bbe41
// > EditorSoundsLayer::showTab @ 0x1008fec36
//
// 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:50 +0000
//
bool __fastcall sub_10096B700(__int64 a1, unsigned __int8 *a2)
{
__int64 **v2; // rax
__int64 **v3; // r14
float v4; // xmm0_4
float v5; // xmm1_4
if ( !(_BYTE)byte_100BE7788 )
sub_1009A9BD0();
v2 = sub_1000E0440(&xmmword_100BE7760, a2);
v3 = v2;
if ( v2 )
{
v4 = *((float *)v2 + 10);
*(float *)(a1 + 436) = v4;
*(_DWORD *)(a1 + 476) = 0;
v5 = 0.0;
if ( v4 < 0.0
|| (v5 = fmaxf(0.0, *(float *)(a1 + 432) - *(float *)(a1 + 4LL * (*(unsigned __int8 *)(a1 + 584) ^ 1u) + 424)),
v4 > v5) )
{
*(float *)(a1 + 436) = v5;
*(_DWORD *)(a1 + 472) = 0;
}
ScrollableContentLayer::applyContentPosition(a1);
}
return v3 != nullptr;
}