//
// sub_1000146B0 from 0x1000146b0 to 0x1000146f8 (72 bytes)
//
// 6 xrefs:
// > GJBaseGameLayer::opacityForObject @ 0x10029a574
// > GameObject::groupOpacityMod @ 0x1002fac0c
// > LevelEditorLayer::updateVisibility @ 0x100400470
// > LevelEditorLayer::updateVisibility @ 0x1004006a0
// > LevelEditorLayer::updateObjectColors @ 0x100400a50
// > LevelEditorLayer::updateObjectColors @ 0x100400c48
//
// 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:18 +0000
//
float __fastcall sub_1000146B0(__int64 a1, int a2)
{
int v2; // w8
__int64 v3; // x0
int v5; // [xsp+Ch] [xbp-4h] BYREF
v2 = a2 & ~(a2 >> 31);
if ( v2 >= 9999 )
v2 = 9999;
v5 = v2;
v3 = sub_100019268(a1 + 408, &v5);
if ( v3 )
return *(float *)(v3 + 44);
else
return 1.0;
}