//
// sub_100963AC0 from 0x100963ac0 to 0x100963b7c (188 bytes)
//
// 5 xrefs:
// > RateStarsModLayer::init @ 0x100963394
// > RateStarsModLayer::init @ 0x100963423
// > RateStarsModLayer::init @ 0x1009634b2
// > RateStarsModLayer::init @ 0x100963541
// > RateStarsModLayer::init @ 0x1009635d0
//
// 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:47 +0000
//
__int64 __fastcall sub_100963AC0(__int64 a1, __int64 a2, double a3)
{
__int64 result; // rax
int v5; // eax
unsigned int v6; // ecx
int v7; // edx
unsigned int v8; // eax
_QWORD *v9; // rdi
int v10; // esi
if ( a2 && *(_DWORD *)(a1 + 716) == 10 )
{
v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);
v6 = *(_DWORD *)(a1 + 716);
v7 = 0;
if ( *(_DWORD *)(a1 + 756) == v5 )
v5 = 0;
*(_DWORD *)(a1 + 756) = v5;
if ( (int)v6 >= 2 )
{
if ( v6 == 2 )
{
v7 = 1;
}
else if ( v6 == 3 )
{
v7 = 2;
}
else
{
v7 = 3;
if ( v6 >= 6 )
{
v7 = 4;
if ( v6 >= 8 )
{
v7 = 5;
if ( v6 >= 0xA )
{
v7 = 0;
if ( v6 == 10 )
{
v8 = v5 - 1;
v7 = 6;
if ( v8 <= 4 )
v7 = *(_DWORD *)&asc_100A146A8[4 * v8];
}
}
}
}
}
}
v9 = *(_QWORD **)(a1 + 744);
v10 = -1;
if ( v6 != 1 )
v10 = v7;
GJDifficultySprite::updateDifficultyFrame(v9, v10, 0, a3);
return sub_100963D60(a1);
}
return result;
}