// // cocos2d::CCDrawNode::drawArchLikeHalfCircle from 0xd4cfe8 to 0xd4d210 (552 bytes) // // 2 xrefs: // > drawTrace @ 0x7b5d6c // > @ 0x819b8 // // This function is hookable on this platform (idp: arm, 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 13:07:38 +0000 // __int64 __fastcall cocos2d::CCDrawNode::drawArchLikeHalfCircle( cocos2d::CCDrawNode *a1, float *a2, float *a3, unsigned int a4, float *a5, float a6, float a7) { const cocos2d::CCPoint *v13; // x1 float v14; // s0 float v15; // s8 float *v17; // x0 float v19; // [xsp+B0h] [xbp+A0h] BYREF float v20; // [xsp+B8h] [xbp+A8h] BYREF float v21; // [xsp+C0h] [xbp+B0h] BYREF float v22[2]; // [xsp+C8h] [xbp+B8h] BYREF float v23; // [xsp+D0h] [xbp+C0h] BYREF float v24; // [xsp+D8h] [xbp+C8h] BYREF float v25; // [xsp+E0h] [xbp+D0h] BYREF float v26; // [xsp+E8h] [xbp+D8h] BYREF float v27; // [xsp+F0h] [xbp+E0h] BYREF cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v19); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v20); cocos2d::CCPoint::operator-(a3, a2, &v21); cocos2d::ccpLength((cocos2d *)&v21, v13); v15 = v14; if ( v14 <= 0.0001 ) { v17 = cocos2d::CCPoint::operator=(&v20, a2); cocos2d::CCPoint::operator=(&v19, v17); } else { cocos2d::CCPoint::operator*(&v21, v22, 1.0 / v14); cocos2d::CCPoint::CCPoint(&v23, -v22[1], v22[0]); cocos2d::CCPoint::operator*(v22, &v27, v15 * 0.33333); cocos2d::CCPoint::operator+(&v24, a2, &v27); cocos2d::CCPoint::operator*(v22, &v27, v15 * 0.66667); cocos2d::CCPoint::operator+(&v25, a2, &v27); cocos2d::CCPoint::operator*(&v23, &v26, a6); cocos2d::CCPoint::operator+(&v27, &v24, &v26); cocos2d::CCPoint::operator=(&v19, &v27); cocos2d::CCPoint::operator*(&v23, &v26, a6); cocos2d::CCPoint::operator+(&v27, &v25, &v26); cocos2d::CCPoint::operator=(&v20, &v27); } cocos2d::CCDrawNode::drawCubicBezierDashed(a1, a2, &v19, &v20, a3, a4, a5, 1u, a7, 1); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source