//
// sub_100117F58 from 0x100117f58 to 0x100117fd0 (120 bytes)
//
// 2 xrefs:
// > sub_100117C8C @ 0x100117ca4
// > ParentalOptionsLayer::addToggle @ 0x100117408
//
// 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 10:59:11 +0000
//
__int64 __fastcall sub_100117F58(__int64 a1, __int64 a2)
{
int v3; // w0
__int64 v4; // x20
__int64 v5; // x0
__int64 v6; // x0
__int64 v7; // x19
__int64 v8; // x21
__int64 CString; // x0
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);
v4 = cocos2d::CCDictionary::objectForKey_1(*(_QWORD *)(a1 + 688), v3);
v5 = GameManager::sharedState(v4);
v6 = sub_1003B6104(v5);
v7 = v6;
if ( v4 )
{
v8 = GameManager::sharedState(v6);
CString = cocos2d::CCString::getCString(v4);
v6 = GameManager::toggleGameVariable(v8, CString);
}
return sub_100117FD0(v6, v7);
}