//
// UIPOptionsLayer::onReset from 0xa1ea54 to 0xa1eb28 (212 bytes)
//
// 3 xrefs:
// > ??> @ 0xd69d8
// > UIPOptionsLayer::init @ 0xa25dcc
// > ??> @ 0x1546648
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:59:39 +0000
//
__int64 __fastcall UIPOptionsLayer::onReset(UIPOptionsLayer *this, cocos2d::CCObject *a2)
{
cocos2d::CCDirector *v3; // x0
GameManager *WinSize; // x0
cocos2d::CCDirector *v5; // x22
float v6; // s8
cocos2d::CCDirector *v7; // x0
float v8; // s0
GameManager **v9; // x20
void (__fastcall *v10)(GameManager **, __int64); // x22
__int64 v11; // x0
__int64 v13; // [xsp+58h] [xbp+58h] BYREF
_BYTE v14[8]; // [xsp+60h] [xbp+60h] BYREF
v3 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(_stack_chk_guard);
WinSize = (GameManager *)cocos2d::CCDirector::getWinSize(&v13, v3);
v5 = (cocos2d::CCDirector *)GameManager::sharedState(WinSize);
v6 = *(float *)&v13 * 0.5;
v7 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v5);
cocos2d::CCDirector::getScreenBottom(v7);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v14, v6, v8 + 40.0);
cocos2d::CCPoint::operator=((char *)v5 + 1704, v14);
v9 = *((GameManager ***)this + 127);
v10 = *((void (__fastcall **)(GameManager **, __int64))*v9 + 23);
v11 = GameManager::sharedState(*v9);
v10(v9, v11 + 1704);
(*(void (__fastcall **)(UIPOptionsLayer *, __int64, float))(*(_QWORD *)this + 1456LL))(this, 4294967267LL, 1.0);
return _stack_chk_guard;
}