// // HardStreak::quadCornerOffset from 0x4563e0 to 0x4564a6 (198 bytes) // // 1 xrefs: // > HardStreak::updateStroke @ 0x4566a0 // // 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 *HardStreak::quadCornerOffset( cocos2d::CCPoint *__return_ptr retstr, HardStreak *a2, cocos2d::CCPoint a3, cocos2d::CCPoint a4, float a5) { double v7; // r0 float v8; // s16 float v9; // s17 float v10; // r0 if ( a4.x >= 1.0 ) { v7 = atan2( (float)(*(float *)(LODWORD(a3.y) + 4) - *(float *)(LODWORD(a3.x) + 4)), (float)(*(float *)LODWORD(a3.y) - *(float *)LODWORD(a3.x))); v8 = HardStreak::normalizeAngle(a2, v7 * 180.0 / 3.14159265 + 90.0) * 3.14159265 / 180.0; v9 = sinf(v8); v10 = cosf(v8); cocos2d::CCPoint::CCPoint(retstr, v10 * (float)(a4.x * 0.5), v9 * (float)(a4.x * 0.5)); } else { cocos2d::CCPoint::CCPoint(retstr, &stru_AC66CC); } return retstr; }
GD Web Decomp Icon

GD Web Decomp

Raw Source