//
// ParentalOptionsLayer::countForPage from 0x426700 to 0x426750 (80 bytes)
//
// 2 xrefs:
// > ParentalOptionsLayer::nextPosition @ 0x4267c6
// > ParentalOptionsLayer::incrementCountForPage @ 0x42685a
//
// 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
//
int ParentalOptionsLayer::countForPage(ParentalOptionsLayer *a1, int a2)
{
cocos2d::CCDictionary *m_values; // r6
char *v3; // r0
cocos2d::CCString *v4; // r0
int v5; // r6
std::string v7; // [sp+8h] [bp-8h] BYREF
m_values = a1->m_values;
v3 = (char *)ParentalOptionsLayer::pageKey(a1, a2);
sub_776584((int)&v7, v3);
v4 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(m_values, &v7);
v5 = cocos2d::CCString::intValue(v4);
sub_774008(&v7);
return v5;
}