//
// GJBaseGameLayer::updateGuideArt from 0x100131090 to 0x100131154 (196 bytes)
//
// 0 xrefs:
//
// 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:24:47 +0000
//
unsigned int *__fastcall GJBaseGameLayer::updateGuideArt(__int64 a1, __m128 a2)
{
unsigned int *result; // rax
_QWORD *v3; // r15
unsigned __int64 v4; // r12
__int64 v5; // r14
double v6; // xmm0_8
float v7; // xmm1_4
result = *(unsigned int **)(a1 + 13104);
if ( result )
{
result = *((unsigned int **)result + 7);
if ( *result )
{
v3 = *((_QWORD **)result + 2);
v4 = (unsigned __int64)&v3[*result - 1];
do
{
v5 = *v3;
if ( !*v3 )
break;
result = (unsigned int *)(*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)v5 + 512LL))(*v3);
if ( *((_BYTE *)result + 773) == 1 )
{
if ( result[257] == 84 && *(_BYTE *)(*(_QWORD *)(a1 + 3256) + 2423LL) == 1 )
{
v6 = (*(double (__fastcall **)(unsigned int *))(*(_QWORD *)result + 368LL))(result);
v7 = *(float *)&v6;
a2 = (__m128)0x43340000u;
a2.f32[0] = 180.0 - v7;
}
else
{
*(double *)a2.i64 = (*(double (__fastcall **)(unsigned int *))(*(_QWORD *)result + 368LL))(result);
a2 = _mm_xor_ps(a2, (__m128)xmmword_100A035F0);
}
result = (unsigned int *)(*(__int64 (__fastcall **)(__int64, double))(*(_QWORD *)v5 + 360LL))(
v5,
*(double *)a2.i64);
}
++v3;
}
while ( (unsigned __int64)v3 <= v4 );
}
}
return result;
}