//
// sub_100963CD0 from 0x100963cd0 to 0x100963d53 (131 bytes)
//
// 0 xrefs:
//
// 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
//
void __fastcall sub_100963CD0(__int64 a1, double a2)
{
unsigned int v2; // eax
int v3; // ecx
unsigned int v4; // edx
int v5; // esi
v2 = *(_DWORD *)(a1 + 716);
v3 = 0;
if ( (int)v2 >= 2 )
{
if ( v2 == 2 )
{
v3 = 1;
}
else if ( v2 == 3 )
{
v3 = 2;
}
else
{
v3 = 3;
if ( v2 >= 6 )
{
v3 = 4;
if ( v2 >= 8 )
{
v3 = 5;
if ( v2 >= 0xA )
{
v3 = 0;
if ( v2 == 10 )
{
v4 = *(_DWORD *)(a1 + 756) - 1;
v3 = 6;
if ( v4 <= 4 )
v3 = *(_DWORD *)&asc_100A146A8[4 * v4];
}
}
}
}
}
}
v5 = -1;
if ( v2 != 1 )
v5 = v3;
GJDifficultySprite::updateDifficultyFrame(*(_QWORD **)(a1 + 744), v5, 0, a2);
}