//
// sub_10030F9E4 from 0x10030f9e4 to 0x10030fa70 (140 bytes)
//
// 1 xrefs:
// > ShaderLayer::visit @ 0x1003111e8
//
// 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:12 +0000
//
__int64 __fastcall sub_10030F9E4(__int64 result)
{
__int64 v1; // x8
float *v2; // x19
__int64 v3; // x9
__int64 v4; // x20
v1 = *(_QWORD *)(result + 1128);
if ( v1 )
{
v2 = (float *)result;
v3 = 3896;
if ( *(int *)(result + 1068) > 1 )
v3 = 3904;
v4 = *(_QWORD *)(v1 + v3);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 184LL))(v4, result + 1136);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v4 + 160LL))(v4, 1.0);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v4 + 360LL))(v4, v2[286]);
return (*(__int64 (__fastcall **)(float *, float))(*(_QWORD *)v2 + 360LL))(v2, 0.0);
}
return result;
}