//
// UIPOptionsLayer::onReset from 0x1002b75b0 to 0x1002b765f (175 bytes)
//
// 1 xrefs:
// > UIPOptionsLayer::init @ 0x1002b7289
//
// 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 *v2; // rax
double v3; // xmm0_8
GameManager *v4; // rax
double v5; // xmm0_8
cocos2d::CCNode *m_practiceNode; // r14
GameManager *v7; // rax
double v8; // [rsp+Ch] [rbp-24h] BYREF
float v9; // [rsp+14h] [rbp-1Ch] BYREF
float v10; // [rsp+1Ch] [rbp-14h]
cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)&v9);
v10 = v9 * 0.5;
v2 = cocos2d::CCDirector::sharedDirector();
v3 = sub_100484D80(v2);
sub_10028CBE0((float *)&v8, v10, *(float *)&v3 + 40.0);
v4 = GameManager::sharedState();
v5 = sub_10028CC90(&v4->m_practicePos, &v8);
m_practiceNode = a1->m_practiceNode;
v7 = GameManager::sharedState();
((void (__fastcall *)(cocos2d::CCNode *, cocos2d::CCPoint *, double))m_practiceNode->setPosition)(
m_practiceNode,
&v7->m_practicePos,
v5);
((void (__fastcall *)(UIPOptionsLayer *, __int64, float))a1->valueDidChange)(a1, 4294967267LL, 1.0);
}