//
// sub_100310810 from 0x100310810 to 0x1003108e4 (212 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::triggerShaderCommand @ 0x10028cbac
//
// 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:13 +0000
//
_QWORD *__fastcall sub_100310810(
__int64 a1,
int a2,
int a3,
char a4,
int a5,
float a6,
float a7,
float a8,
float a9,
float a10,
float a11)
{
if ( a2 )
{
*(_BYTE *)(a1 + 1016) = a4;
if ( a3 )
{
sub_10030DF38((_QWORD *)a1, 35, a5, a8, a6, a11);
sub_10030DF38((_QWORD *)a1, 36, a5, a9, a6, a11);
sub_10030DF38((_QWORD *)a1, 37, a5, a10, a6, a11);
}
else
{
*(float *)(a1 + 1004) = a8;
*(float *)(a1 + 1008) = a9;
*(float *)(a1 + 1012) = a10;
}
}
return sub_10030DF38((_QWORD *)a1, 34, a5, a7, a6, a11);
}