//
// ParentalOptionsLayer::incrementCountForPage from 0x100117cb8 to 0x100117d48 (144 bytes)
//
// 2 xrefs:
// > ParentalOptionsLayer::addMasterToggle @ 0x100116fd8
// > ParentalOptionsLayer::addToggle @ 0x100117480
//
// 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
//
void __fastcall ParentalOptionsLayer::incrementCountForPage(__int64 a1, int a2)
{
int v4; // w0
__int64 v5; // x20
__int64 v6; // x21
__int64 v7; // x0
char *CString; // x0
void *__p[2]; // [xsp+8h] [xbp-38h] BYREF
char v10; // [xsp+1Fh] [xbp-21h]
v4 = sub_100117C04(a1, a2);
v5 = *(_QWORD *)(a1 + 680);
v6 = sub_1003065B0("%i", v4 + 1);
v7 = sub_1003065B0("page_%i", a2);
CString = (char *)cocos2d::CCString::getCString(v7);
sub_100009900(__p, CString);
cocos2d::CCDictionary::setObject(v5, v6, __p);
if ( v10 < 0 )
operator delete(__p[0]);
}