//
// sub_1002F8DA0 from 0x1002f8da0 to 0x1002f8e00 (96 bytes)
//
// 3 xrefs:
// > PlayLayer::updateVisibility @ 0x100145b74
// > sub_100145E94 @ 0x100146008
// > GameObject::setOpacity @ 0x1002f8c6c
//
// 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 11:03:00 +0000
//
__int64 __fastcall sub_1002F8DA0(__int64 a1, unsigned int a2)
{
__int64 result; // x0
__int64 v4; // x20
result = *(_QWORD *)(a1 + 752);
if ( result )
{
v4 = (unsigned int)(int)(float)(*(float *)(a1 + 1076) * (float)a2);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)result + 912LL))(result, v4);
return (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 752) + 1104LL))(*(_QWORD *)(a1 + 752), v4);
}
return result;
}