// // getDistance from 0x3d4de4 to 0x3d4e26 (66 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:46:43 +0000 // float __fastcall getDistance(const cocos2d::CCPoint *a1, const cocos2d::CCPoint *a2) { float DistanceSquared; // r0 float v5[2]; // [sp+4h] [bp-18h] BYREF float v6[2]; // [sp+Ch] [bp-10h] BYREF cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v5, a1); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v6, a2); DistanceSquared = getDistanceSquared(v5, v6); return sqrtf(DistanceSquared); }
GD Web Decomp Icon

GD Web Decomp

Raw Source