//
// UIPOptionsLayer::onReset from 0x4a95a0 to 0x4a963a (154 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 UIPOptionsLayer::onReset(UIPOptionsLayer *a1, cocos2d::CCObject *a2)
{
cocos2d::CCDirector *v3; // r0
GameManager *v4; // r0
float v5; // s16
GameManager *v6; // r7
cocos2d::CCDirector *v7; // r0
float v8; // r0
int v9; // r2
bool v10; // r3
cocos2d::CCNode *m_practiceNode; // r5
void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r7
GameManager *v13; // r0
cocos2d::CCSize v14; // [sp+4h] [bp-18h] BYREF
cocos2d::CCPoint v15; // [sp+Ch] [bp-10h] BYREF
v3 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::getWinSize(&v14, v3);
v4 = GameManager::sharedState();
v5 = v14.width * 0.5;
v6 = v4;
v7 = cocos2d::CCDirector::sharedDirector();
v8 = COERCE_FLOAT(cocos2d::CCDirector::getScreenBottom(v7));
cocos2d::CCPoint::CCPoint(&v15, v5, v8 + 40.0);
cocos2d::CCPoint::operator=((PlayerObject *)&v6->m_practicePos, COERCE_FLOAT(&v15), v9, v10);
m_practiceNode = a1->m_practiceNode;
setPosition = m_practiceNode->setPosition;
v13 = GameManager::sharedState();
setPosition(m_practiceNode, &v13->m_practicePos);
((void (__fastcall *)(UIPOptionsLayer *, int, int))a1->valueDidChange)(a1, -29, 1065353216);
}