//
// KeybindingsLayer::nextPosition from 0x10060b0d0 to 0x10060b153 (131 bytes)
//
// 0 xrefs:
//
// 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
//
// local variable allocation has failed, the output may be wrong!
cocos2d::CCPoint __fastcall KeybindingsLayer::nextPosition(KeybindingsLayer *a1, int a2)
{
__int64 v2; // rax
int v3; // edx
int v4; // r14d
__int64 v6; // [rsp+0h] [rbp-20h] BYREF
cocos2d::CCPoint result; // 0:xmm0_8.8
v6 = v2;
v4 = v3;
cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)&v6);
sub_10028CBE0((float *)a1, *(float *)&v6 * 0.5, (float)(0.5 * *((float *)&v6 + 1)) + 100.0);
result.y = 0.0;
result.x = (float)(30 * KeybindingsLayer::countForPage(*(KeybindingsLayer **)&a2, v4) + 30);
*((float *)&a1->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable
+ 1) = *((float *)&a1->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable
+ 1)
- result.x;
return result;
}