//
// sub_A420C from 0xa420c to 0xa424c (64 bytes)
//
// 2 xrefs:
// > sub_A3C1E @ 0xa3cfa
// > sub_A4376 @ 0xa44ea
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
int __fastcall sub_A420C(int a1, int a2)
{
float v2; // s0
int v3; // s2
v2 = *(float *)(a2 + 44);
v3 = dword_125C68;
if ( v2 < *(float *)&dword_125C68 || (v3 = dword_125C6C, v2 > *(float *)&dword_125C6C) )
{
v2 = *(float *)&v3;
*(_DWORD *)(a2 + 44) = v3;
}
*(float *)(a1 + 1828) = v2;
sub_A456C(a1, a2);
return 0;
}