//
// SelectEventLayer::nextPosition from 0x6b3130 to 0x6b31f0 (192 bytes)
//
// 1 xrefs:
// > SelectEventLayer::addToggle @ 0x6babc0
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:56:40 +0000
//
SelectEventLayer *__fastcall SelectEventLayer::nextPosition(SelectEventLayer *this, int a2)
{
int v4; // r7
const cocos2d::CCPoint *v5; // r1
float v7[2]; // [sp+4h] [bp-1Ch] BYREF
_BYTE v8[4]; // [sp+Ch] [bp-14h] BYREF
float v9; // [sp+10h] [bp-10h]
_BYTE v10[8]; // [sp+14h] [bp-Ch] BYREF
cocos2d::CCDirector::sharedDirector(this);
cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v7);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v8, (float)(v7[0] * 0.5) - 140.0, (float)(v7[1] * 0.5) + 90.0);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v10, (float)(v7[0] * 0.5) + 40.0, v9);
v4 = (*(_DWORD *)(a2 + 724) - 1) % 12;
if ( v4 > 5 )
v5 = (const cocos2d::CCPoint *)v10;
else
v5 = (const cocos2d::CCPoint *)v8;
cocos2d::CCPoint::CCPoint(this, v5);
*((float *)this + 1) = *((float *)this + 1) - (float)(34 * (v4 % 6));
return this;
}