//
// MoreOptionsLayer::incrementCountForPage from 0x1000ef768 to 0x1000ef7f8 (144 bytes)
//
// 1 xrefs:
// > MoreOptionsLayer::addToggle @ 0x1000eea00
//
// 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 MoreOptionsLayer::incrementCountForPage(MoreOptionsLayer *a1, int a2)
{
int v4; // w0
cocos2d::CCDictionary *m_variables; // 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 = MoreOptionsLayer::countForPage(a1, a2);
m_variables = a1->m_variables;
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_variables, v6, __p);
if ( v10 < 0 )
operator delete(__p[0]);
}