// // UIPOptionsLayer::onReset from 0x8c3b04 to 0x8c3bd8 (212 bytes) // // 3 xrefs: // > @ 0xa3380 // > UIPOptionsLayer::init @ 0x8c6040 // > @ 0x122da10 // // 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 UIPOptionsLayer::onReset(UIPOptionsLayer *a1, cocos2d::CCObject *a2) { cocos2d::CCDirector *v3; // x0 GameManager *v4; // x22 cocos2d::CCDirector *v5; // x0 float v6; // s0 float v7; // s0 float v8; // s1 cocos2d::CCNode *m_practiceNode; // x20 void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x22 GameManager *v11; // x0 float v12; // [xsp+58h] [xbp+58h] cocos2d::CCPoint v13; // [xsp+60h] [xbp+60h] BYREF v3 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize(v3); v4 = GameManager::sharedState(); v5 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getScreenBottom(v5); cocos2d::CCPoint::CCPoint(&v13, v12 * 0.5, v6 + 40.0); cocos2d::CCPoint::operator=(&v4->m_practicePos, v7, v8); m_practiceNode = a1->m_practiceNode; setPosition = m_practiceNode->setPosition; v11 = GameManager::sharedState(); setPosition(m_practiceNode, &v11->m_practicePos); a1->valueDidChange(a1, -29, 1.0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source