//
// GJOptionsLayer::incrementCountForPage from 0x100372488 to 0x100372518 (144 bytes)
//
// 1 xrefs:
// > GJOptionsLayer::addToggleInternal @ 0x100371f78
//
// 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 11:03:23 +0000
//
void __fastcall GJOptionsLayer::incrementCountForPage(__int64 a1, __int64 a2)
{
int v2; // w19
int v4; // w0
__int64 v5; // x20
void *v6; // x21
void *v7; // x0
char *CString; // x0
void *__p[2]; // [xsp+8h] [xbp-38h] BYREF
char v10; // [xsp+1Fh] [xbp-21h]
v2 = a2;
v4 = sub_10037272C(a1, a2);
v5 = *(_QWORD *)(a1 + 1040);
v6 = sub_1003065B0("%i", v4 + 1);
v7 = sub_1003065B0("page_%i", v2);
CString = (char *)cocos2d::CCString::getCString((__int64)v7);
sub_100009900(__p, CString);
cocos2d::CCDictionary::setObject(v5, v6, __p);
if ( v10 < 0 )
operator delete(__p[0]);
}