//
// GJBaseGameLayer::updateGuideArt from 0x1402466c0 to 0x1402467c7 (263 bytes)
//
// 5 xrefs:
// > GJBaseGameLayer::update @ 0x14023903b
// > GJBaseGameLayer::update @ 0x1402392cb
// > ??> @ 0x140682538
// > ??> @ 0x14068259c
// > ??> @ 0x1406ce640
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void GJBaseGameLayer::updateGuideArt(GJBaseGameLayer *a1)
{
__m128 v1; // xmm0
cocos2d::CCArray *m_indicatorSprites; // rax
cocos2d::ccArray *data; // rsi
__int64 num; // rax
cocos2d::CCObject **arr; // rsi
cocos2d::CCObject **i; // rbp
cocos2d::CCObject *v8; // rdi
__int64 v9; // rax
cocos2d::CCObject_vtbl *v10; // rbx
m_indicatorSprites = a1->m_indicatorSprites;
if ( m_indicatorSprites )
{
data = m_indicatorSprites->data;
num = data->num;
if ( (_DWORD)num )
{
arr = data->arr;
for ( i = &arr[num - 1]; arr <= i; ++arr )
{
v8 = *arr;
if ( !*arr )
break;
v9 = ((__int64 (__fastcall *)(cocos2d::CCObject *))v8->__vftable[6].getTag)(*arr);
if ( *(_BYTE *)(v9 + 773) )
{
if ( *(_DWORD *)(v9 + 1036) == 84 && a1->m_player1->m_isUpsideDown )
{
v10 = v8->__vftable;
(*(float (__fastcall **)(__int64))(*(_QWORD *)v9 + 344LL))(v9);
}
else
{
v10 = v8->__vftable;
*(double *)v1.m128_u64 = (*(double (__fastcall **)(__int64))(*(_QWORD *)v9 + 344LL))(v9);
v1.m128_u64[1] = _mm_xor_ps(v1, (__m128)0x80000000).m128_u64[1];
}
v10[4].canEncode(v8);
}
}
}
}
}