//
// sub_10004A44C from 0x10004a44c to 0x10004a4b8 (108 bytes)
//
// 4 xrefs:
// > sub_10000FC04 @ 0x10000fd80
// > sub_10000FE5C @ 0x10000ff74
// > sub_1001460E4 @ 0x100146368
// > GJBaseGameLayer::processAreaTintGroupAction @ 0x100292080
//
// 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 10:57:40 +0000
//
unsigned __int64 __fastcall sub_10004A44C(__int64 a1, float a2)
{
float v2; // s3
float v3; // s4
float v4; // s3
v2 = *(float *)(a1 + 4);
v3 = (float)(1.0 - a2) + (float)(v2 * a2);
v4 = v2 * a2;
if ( (*(_BYTE *)(a1 + 12) & 1) == 0 )
v4 = v3;
return COERCE_UNSIGNED_INT(*(float *)a1 * a2) | ((unsigned __int64)LODWORD(v4) << 32);
}