//
// GJOptionsLayer::incrementCountForPage from 0x1002d3c0c to 0x1002d3c9c (144 bytes)
//
// 2 xrefs:
// > GJOptionsLayer::addToggleInternal @ 0x1002d3708
// > GameOptionsLayer::setupOptions @ 0x1002e19d8
//
// 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 GJOptionsLayer::incrementCountForPage(GJOptionsLayer *a1, int a2)
{
int v4; // w0
cocos2d::CCDictionary *m_values; // x20
cocos2d::CCObject *v6; // x21
cocos2d::CCString *v7; // x0
char *CString; // x0
void *__p[2]; // [xsp+8h] [xbp-38h] BYREF
char v10; // [xsp+1Fh] [xbp-21h]
v4 = GJOptionsLayer::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]);
}