// // ProfilePage::toggleShip from 0x8f7b84 to 0x8f7c34 (176 bytes) // // 3 xrefs: // > @ 0x4f2d8 // > ProfilePage::loadPageFromUserInfo @ 0x8fb0a0 // > @ 0x122a8b0 // // 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 ProfilePage::toggleShip(ProfilePage *a1, cocos2d::CCObject *a2) { SimplePlayer *v4; // x20 bool v5; // zf long double v6; // q0 GJUserScore *m_score; // x0 int v8; // w21 int m_playerJetpack; // w1 IconType v10; // w2 long double v11; // [xsp+30h] [xbp+30h] v4 = (SimplePlayer *)((__int64 (__fastcall *)(cocos2d::CCObject *))a2->__vftable[13].~CCObject_0)(a2); v5 = a2->getTag(a2) == 1; m_score = a1->m_score; if ( v5 ) { v8 = 8; m_playerJetpack = m_score->m_playerJetpack; LODWORD(v6) = 1063675494; v10 = Jetpack; } else { LODWORD(v6) = 1064514355; v8 = 1; m_playerJetpack = m_score->m_playerShip; v10 = Ship; } v11 = v6; SimplePlayer::updatePlayerFrame(v4, m_playerJetpack, v10); v4->setScale(v4, v11); a2->setTag(a2, v8); }
GD Web Decomp Icon

GD Web Decomp

Raw Source