//
// ParentalOptionsLayer::incrementCountForPage from 0x1000f35ac to 0x1000f363c (144 bytes)
//
// 1 xrefs:
// > ParentalOptionsLayer::addToggle @ 0x1000f2e80
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall ParentalOptionsLayer::incrementCountForPage(ParentalOptionsLayer *a1, int a2)
{
int v4; // w0
cocos2d::CCDictionary *m_values; // x20
__int64 v6; // x21
cocos2d::CCString *v7; // x0
char *CString; // x0
void *__p[2]; // [xsp+8h] [xbp-38h] BYREF
char v10; // [xsp+1Fh] [xbp-21h]
v4 = ParentalOptionsLayer::countForPage(a1, a2);
m_values = a1->m_values;
v6 = sub_100268F4C("%i", v4 + 1);
v7 = (cocos2d::CCString *)sub_100268F4C("page_%i", a2);
CString = (char *)cocos2d::CCString::getCString(v7);
sub_100009900(__p, CString);
cocos2d::CCDictionary::setObject_1(m_values, v6, __p);
if ( v10 < 0 )
operator delete(__p[0]);
}