// // GJBaseGameLayer::updateGuideArt from 0x86a348 to 0x86a444 (252 bytes) // // 3 xrefs: // > GJBaseGameLayer::update @ 0x89d8f8 // > GJBaseGameLayer::update @ 0x89e538 // > @ 0x36f78 // // 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) { cocos2d::CCArray *m_indicatorSprites; // x22 cocos2d::ccArray *data; // x2 cocos2d::CCObject **arr; // x20 __int64 v4; // x2 char *v5; // x21 cocos2d::CCObject *i; // x19 __int64 v8; // x0 bool (__fastcall *v9)(cocos2d::CCObject *__hidden, const cocos2d::CCObject *); // x22 float v10; // s0 bool (__fastcall *isEqual)(cocos2d::CCObject *__hidden, const cocos2d::CCObject *); // x22 float v12; // s0 m_indicatorSprites = a1->m_indicatorSprites; if ( m_indicatorSprites ) { data = m_indicatorSprites->data; if ( data->num ) { arr = data->arr; v4 = 8LL * data->num - 8; v5 = (char *)arr + v4; if ( arr <= (cocos2d::CCObject **)((char *)arr + v4) ) { for ( i = *arr; *arr; i = *arr ) { v8 = ((__int64 (__fastcall *)(cocos2d::CCObject *))i->__vftable[6].~CCObject_0)(i); if ( *(_BYTE *)(v8 + 773) ) { if ( *(_DWORD *)(v8 + 1012) == 84 && a1->m_player1->m_isUpsideDown ) { isEqual = i->__vftable[4].isEqual; v12 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v8 + 352LL))(v8); ((void (__fastcall *)(cocos2d::CCObject *, float))isEqual)(i, 180.0 - v12); } else { v9 = i->__vftable[4].isEqual; v10 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v8 + 352LL))(v8); ((void (__fastcall *)(cocos2d::CCObject *, float))v9)(i, -v10); } } if ( v5 < (char *)++arr ) break; } } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source