// // cocos2d::ccpAngle from 0x7f66a0 to 0x7f6714 (116 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 12:01:10 +0000 // float __fastcall cocos2d::ccpAngle(cocos2d *this, const cocos2d::CCPoint *a2, const cocos2d::CCPoint *a3) { float result; // r0 float v5[2]; // [sp+4h] [bp-18h] BYREF float v6[2]; // [sp+Ch] [bp-10h] BYREF cocos2d::ccpNormalize((cocos2d *)v5, this); cocos2d::ccpNormalize((cocos2d *)v6, a2); result = acosf((float)(v5[1] * v6[1]) + (float)(v5[0] * v6[0])); if ( fabsf(result) < 0.00000011921 ) return 0.0; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source