//
// UIPOptionsLayer::onReset from 0x1002e6100 to 0x1002e61a8 (168 bytes)
//
// 1 xrefs:
// > UIPOptionsLayer::init @ 0x1002e5e28
//
// 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 UIPOptionsLayer::onReset(UIPOptionsLayer *a1, cocos2d::CCObject *a2)
{
cocos2d::CCDirector *v3; // x0
cocos2d::CCDirector *v4; // x0
__n128 v5; // q1
__n128 v6; // q0
GameManager *v7; // x0
cocos2d::CCNode *m_practiceNode; // x20
GameManager *v9; // x0
double v10; // [xsp+0h] [xbp-30h] BYREF
float v11; // [xsp+8h] [xbp-28h]
v3 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::getWinSize(v3);
v4 = cocos2d::CCDirector::sharedDirector();
v5.n128_f32[0] = sub_1001768D0((__int64)v4) + 40.0;
v6.n128_f32[0] = v11 * 0.5;
sub_100022980(v6, v5, &v10);
v7 = GameManager::sharedState();
sub_1000229D0(&v7->m_practicePos, &v10);
m_practiceNode = a1->m_practiceNode;
v9 = GameManager::sharedState();
((void (__fastcall *)(cocos2d::CCNode *, cocos2d::CCPoint *))m_practiceNode->setPosition)(
m_practiceNode,
&v9->m_practicePos);
((void (__fastcall *)(UIPOptionsLayer *, __int64, float))a1->valueDidChange)(a1, 4294967267LL, 1.0);
}