//
// GJWorldNode::positionForLevelButton from 0x1003adae0 to 0x1003adbd6 (246 bytes)
//
// 1 xrefs:
// > GJWorldNode::init @ 0x1003ad55e
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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 12:29:24 +0000
//
float *__fastcall GJWorldNode::positionForLevelButton(float *a1, __int64 a2, int a3)
{
float v3; // xmm0_4
float v4; // xmm1_4
switch ( a3 )
{
case 2001:
v3 = -184.0;
v4 = 18.0;
goto LABEL_14;
case 2002:
v3 = -75.0;
v4 = 0.0;
goto LABEL_14;
case 2003:
v3 = -2.0;
v4 = 40.0;
goto LABEL_14;
case 2004:
v3 = 58.0;
v4 = 4.0;
goto LABEL_14;
case 2005:
v3 = 160.0;
goto LABEL_10;
case 2006:
v3 = -175.0;
LABEL_10:
v4 = 19.0;
goto LABEL_14;
case 2007:
v3 = -70.0;
v4 = 2.0;
goto LABEL_14;
case 2008:
v3 = -10.0;
v4 = 46.0;
goto LABEL_14;
case 2009:
v3 = 78.0;
v4 = -9.0;
goto LABEL_14;
case 2010:
v3 = 168.0;
v4 = 20.0;
LABEL_14:
sub_100278250(a1, v3, v4);
break;
default:
sub_1002782D0(a1, &dword_100BE3518);
break;
}
return a1;
}