// // cocos2d::CCDrawNode::drawArchLikeHalfCircle from 0xada388 to 0xada5b0 (552 bytes) // // 2 xrefs: // > drawTrace @ 0x675a70 // > @ 0x5eda0 // // 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 // void cocos2d::CCDrawNode::drawArchLikeHalfCircle( cocos2d::CCDrawNode *a1, const cocos2d::CCPoint *a2, const cocos2d::CCPoint *a3, float a4, unsigned int a5, const cocos2d::_ccColor4F *a6, float a7) { float v13; // s1 float v14; // s8 float v15; // s0 float v16; // s1 float v17; // s0 float v18; // s1 cocos2d::CCPoint *v19; // x0 float v20; // s0 float v21; // s1 cocos2d::CCPoint v23; // [xsp+B0h] [xbp+A0h] BYREF cocos2d::CCPoint v24; // [xsp+B8h] [xbp+A8h] BYREF cocos2d::CCPoint v25; // [xsp+C0h] [xbp+B0h] BYREF cocos2d::CCPoint v26; // [xsp+C8h] [xbp+B8h] BYREF cocos2d::CCPoint v27; // [xsp+D0h] [xbp+C0h] BYREF cocos2d::CCPoint v28; // [xsp+D8h] [xbp+C8h] BYREF cocos2d::CCPoint v29; // [xsp+E0h] [xbp+D0h] BYREF cocos2d::CCPoint v30; // [xsp+E8h] [xbp+D8h] BYREF cocos2d::CCPoint v31; // [xsp+F0h] [xbp+E0h] BYREF cocos2d::CCPoint::CCPoint(&v23); cocos2d::CCPoint::CCPoint(&v24); cocos2d::CCPoint::operator-((float *)a3, (float *)a2, &v25); v14 = cocos2d::ccpLength(&v25); if ( v14 <= 0.0001 ) { v19 = cocos2d::CCPoint::operator=(&v24, 0.0001, v13, (float *)a2); cocos2d::CCPoint::operator=(&v23, v20, v21, (float *)v19); } else { cocos2d::CCPoint::operator*((float *)&v25, &v26, 1.0 / v14); cocos2d::CCPoint::CCPoint(&v27, -v26.y, v26.x); cocos2d::CCPoint::operator*((float *)&v26, &v31, v14 * 0.33333); cocos2d::CCPoint::operator+((float *)a2, (float *)&v31, &v28); cocos2d::CCPoint::operator*((float *)&v26, &v31, v14 * 0.66667); cocos2d::CCPoint::operator+((float *)a2, (float *)&v31, &v29); cocos2d::CCPoint::operator*((float *)&v27, &v30, a4); cocos2d::CCPoint::operator+((float *)&v28, (float *)&v30, &v31); cocos2d::CCPoint::operator=(&v23, v15, v16, (float *)&v31); cocos2d::CCPoint::operator*((float *)&v27, &v30, a4); cocos2d::CCPoint::operator+((float *)&v29, (float *)&v30, &v31); cocos2d::CCPoint::operator=(&v24, v17, v18, (float *)&v31); } cocos2d::CCDrawNode::drawCubicBezierDashed(a1, a2, &v23, &v24, a3, a5, a6, a7, 1u, 1u); }
GD Web Decomp Icon

GD Web Decomp

Raw Source