//
// UIPOptionsLayer::onReset from 0x5d3efc to 0x5d3f96 (154 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:54:07 +0000
//
int __fastcall UIPOptionsLayer::onReset(UIPOptionsLayer *this, cocos2d::CCObject *a2)
{
GameManager *WinSize; // r0
cocos2d::CCDirector *v4; // r0
float v5; // s16
cocos2d::CCDirector *v6; // r7
cocos2d::CCDirector *v7; // r0
float v8; // r0
GameManager *v9; // r0
int v10; // r5
void (__fastcall *v11)(int, int); // r7
int v12; // r0
float v14[2]; // [sp+4h] [bp-18h] BYREF
_BYTE v15[8]; // [sp+Ch] [bp-10h] BYREF
cocos2d::CCDirector::sharedDirector(this);
WinSize = (GameManager *)cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v14);
v4 = (cocos2d::CCDirector *)GameManager::sharedState(WinSize);
v5 = v14[0] * 0.5;
v6 = v4;
v7 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v4);
v8 = COERCE_FLOAT(cocos2d::CCDirector::getScreenBottom(v7));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v15, v5, v8 + 40.0);
v9 = (GameManager *)cocos2d::CCPoint::operator=((char *)v6 + 1308, v15);
v10 = *((_DWORD *)this + 179);
v11 = *(void (__fastcall **)(int, int))(*(_DWORD *)v10 + 92);
v12 = GameManager::sharedState(v9);
v11(v10, v12 + 1308);
return (*(int (__fastcall **)(UIPOptionsLayer *, int, int))(*(_DWORD *)this + 728))(this, -29, 1065353216);
}