// // GJWorldNode::positionForLevelButton from 0x4fd474 to 0x4fd4e0 (108 bytes) // // 1 xrefs: // > GJWorldNode::init @ 0x4fdac2 // // 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 *GJWorldNode::positionForLevelButton(cocos2d::CCPoint *__return_ptr retstr, GJWorldNode *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(retstr, v4, v5); break; default: cocos2d::CCPoint::CCPoint(retstr, (const cocos2d::CCPoint *)&flt_AC72D0); break; } return retstr; }
GD Web Decomp Icon

GD Web Decomp

Raw Source