//
// GJWorldNode::positionForLevelButton from 0x62cf68 to 0x62cfd4 (108 bytes)
//
// 1 xrefs:
// > GJWorldNode::init @ 0x62d90c
//
// 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:55:14 +0000
//
GJWorldNode *__fastcall GJWorldNode::positionForLevelButton(GJWorldNode *this, int a2, int a3)
{
float v4; // r1
float v5; // r2
switch ( a3 )
{
case 2001:
v4 = -184.0;
v5 = 18.0;
goto LABEL_13;
case 2002:
v4 = -75.0;
v5 = 0.0;
goto LABEL_13;
case 2003:
v4 = -2.0;
v5 = 40.0;
goto LABEL_13;
case 2004:
v4 = 58.0;
v5 = 4.0;
goto LABEL_13;
case 2005:
v4 = 160.0;
goto LABEL_8;
case 2006:
v4 = -175.0;
LABEL_8:
v5 = 19.0;
goto LABEL_13;
case 2007:
v4 = -70.0;
v5 = 2.0;
goto LABEL_13;
case 2008:
v4 = -10.0;
v5 = 46.0;
goto LABEL_13;
case 2009:
v4 = 78.0;
v5 = -9.0;
goto LABEL_13;
case 2010:
v4 = 168.0;
v5 = 20.0;
LABEL_13:
cocos2d::CCPoint::CCPoint(this, v4, v5);
break;
default:
cocos2d::CCPoint::CCPoint(this, (const cocos2d::CCPoint *)&flt_D2CD50);
break;
}
return this;
}