//
// KeybindingsLayer::countForPage from 0x46a3b8 to 0x46a408 (80 bytes)
//
// 2 xrefs:
// > KeybindingsLayer::nextPosition @ 0x46a456
// > KeybindingsLayer::incrementCountForPage @ 0x46a4a2
//
// 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 KeybindingsLayer::countForPage(KeybindingsLayer *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 *)KeybindingsLayer::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;
}