// // GJBaseGameLayer::updateGuideArt from 0x1001533a0 to 0x100153464 (196 bytes) // // 0 xrefs: // // 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 __fastcall GJBaseGameLayer::updateGuideArt(GJBaseGameLayer *a1) { __m128 v1; // xmm0 cocos2d::CCArray *m_indicatorSprites; // rax cocos2d::ccArray *data; // rax cocos2d::CCObject **arr; // r15 unsigned __int64 v5; // r12 cocos2d::CCObject *v6; // r14 __int64 v7; // rax double v8; // xmm0_8 float v9; // xmm1_4 m_indicatorSprites = a1->m_indicatorSprites; if ( m_indicatorSprites ) { data = m_indicatorSprites->data; if ( data->num ) { arr = data->arr; v5 = (unsigned __int64)&arr[data->num - 1]; do { v6 = *arr; if ( !*arr ) break; v7 = ((__int64 (__fastcall *)(cocos2d::CCObject *))v6->__vftable[6].~CCObject_0)(*arr); if ( *(_BYTE *)(v7 + 773) == 1 ) { if ( *(_DWORD *)(v7 + 1028) == 84 && a1->m_player1->m_isUpsideDown ) { v8 = (*(double (__fastcall **)(__int64))(*(_QWORD *)v7 + 352LL))(v7); v9 = *(float *)&v8; v1 = (__m128)0x43340000u; v1.f32[0] = 180.0 - v9; } else { *(double *)v1.i64 = (*(double (__fastcall **)(__int64))(*(_QWORD *)v7 + 352LL))(v7); v1 = _mm_xor_ps(v1, (__m128)xmmword_1008150B0); } ((void (__fastcall *)(cocos2d::CCObject *, double))v6->__vftable[4].isEqual)(v6, *(double *)v1.i64); } ++arr; } while ( (unsigned __int64)arr <= v5 ); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source