//
// KeybindingsLayer::nextPosition from 0x46a40c to 0x46a486 (122 bytes)
//
// 1 xrefs:
// > KeybindingsLayer::addKeyPair @ 0x46a6de
//
// 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
//
cocos2d::CCPoint *KeybindingsLayer::nextPosition(cocos2d::CCPoint *__return_ptr retstr, KeybindingsLayer *a2, int a3)
{
cocos2d::CCDirector *v6; // r0
int v7; // s15
cocos2d::CCSize v9; // [sp+4h] [bp-10h] BYREF
v6 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::getWinSize(&v9, v6);
cocos2d::CCPoint::CCPoint(retstr, v9.width * 0.5, (float)(v9.height * 0.5) + 100.0);
v7 = 30 * KeybindingsLayer::countForPage(a2, a3) + 30;
retstr->y = retstr->y - (float)v7;
return retstr;
}