// // HardStreak::quadCornerOffset from 0x56a0d8 to 0x56a19a (194 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:52:30 +0000 // cocos2d::CCPoint *__fastcall HardStreak::quadCornerOffset( cocos2d::CCPoint *a1, HardStreak *a2, float *a3, float *a4, float a5) { float v7; // r0 float v8; // s16 float v9; // s17 float v10; // r0 if ( a5 >= 1.0 ) { v7 = atan2f(a4[1] - a3[1], *a4 - *a3); v8 = COERCE_DOUBLE(HardStreak::normalizeAngle(a2, v7 * 180.0 / 3.14159265 + 90.0)) * 3.14159265 / 180.0; v9 = sinf(v8); v10 = cosf(v8); cocos2d::CCPoint::CCPoint(a1, v10 * (float)(a5 * 0.5), v9 * (float)(a5 * 0.5)); } else { cocos2d::CCPoint::CCPoint(a1, (const cocos2d::CCPoint *)&unk_D2C220); } return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source