//
// sub_100376D40 from 0x100376d40 to 0x100376da5 (101 bytes)
//
// 5 xrefs:
// > VideoOptionsLayer::onApply @ 0x10088167a
// > sub_100885850 @ 0x10088587e
// > ParentalOptionsLayer::keyBackClicked @ 0x100886c3e
// > sub_100886C70 @ 0x100886c9f
// > GraphicsReloadLayer::performReload @ 0x100888505
//
// This function is hookable on this platform (idp: pc, 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:29:04 +0000
//
__int64 __fastcall sub_100376D40(__int64 a1, char a2)
{
__int64 v2; // r14
int v3; // r15d
int v4; // eax
int v5; // ecx
int v6; // r8d
int v7; // r9d
__int64 v8; // rax
*(_BYTE *)(a1 + 421) = a2;
v2 = *(_QWORD *)(a1 + 264);
v3 = cocos2d::CCDelayTime::create(0.1);
v4 = cocos2d::CCCallFunc::create(a1, GameManager::reloadMenu, 0);
v8 = sub_10039EB60(v3, v4, 0, v5, v6, v7);
return cocos2d::CCActionManager::addAction(v2, v8, a1, 0);
}