//
// darkColorForPath from 0xba4140 to 0xba41e4 (164 bytes)
//
// 5 xrefs:
// > GJPathPage::unlockAnimationStep2 @ 0xba4fdc
// > GJPathPage::playUnlockAnimation @ 0xba57a4
// > GJPathPage::unlockAnimationStep3 @ 0xba7fc0
// > GJPathPage::unlockAnimationStep3 @ 0xba80b8
// > ??> @ 0x4e3e8
//
// This function is hookable on this platform (idp: arm, 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 13:02:48 +0000
//
unsigned __int64 __fastcall darkColorForPath(int a1)
{
__int64 v1; // x0
float v2; // s2
v1 = (unsigned int)(a1 - 1);
if ( (unsigned int)v1 > 9 )
v2 = 0.0;
else
v2 = (float)byte_1195F80[v1] / 255.0;
return (LODWORD(v2) | 0x3F80000000000000uLL) >> 32;
}