//
// EnhancedGameObject::refreshRotateAction from 0x1006a2cd0 to 0x1006a2d46 (118 bytes)
//
// 1 xrefs:
// > SetupRotatePopup::onClose @ 0x10066e8e8
//
// 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:35:18 +0000
//
_BOOL8 __fastcall EnhancedGameObject::refreshRotateAction(float *a1)
{
float v1; // xmm1_4
_BOOL8 result; // rax
float v3; // xmm0_4
v1 = a1[348];
if ( v1 == 0.0 )
{
v1 = a1[349];
result = (float)((float)rand() * 4.6566129e-10) > 0.5;
v3 = flt_100A05F68[result];
}
else
{
v3 = 1.0;
}
a1[350] = v1 * v3;
return result;
}