// // cocos2d::CCPoint::getAngle from 0x7c5e74 to 0x7c5ef4 (128 bytes) // // 1 xrefs: // > cocos2d::ccpAngleSigned @ 0x7f64c0 // // 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:00:25 +0000 // float __fastcall cocos2d::CCPoint::getAngle(cocos2d::CCPoint *this, const cocos2d::CCPoint *a2) { float result; // r0 float v4; // [sp+4h] [bp-18h] BYREF float v5; // [sp+8h] [bp-14h] float v6; // [sp+Ch] [bp-10h] BYREF float v7; // [sp+10h] [bp-Ch] cocos2d::CCPoint::normalize((cocos2d::CCPoint *)&v4, (float *)this); cocos2d::CCPoint::normalize((cocos2d::CCPoint *)&v6, (float *)a2); result = atan2f((float)(v4 * v7) - (float)(v5 * v6), (float)(v5 * v7) + (float)(v4 * v6)); if ( fabsf(result) < 0.00000011921 ) return 0.0; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source