// // getDistance from 0x5895a8 to 0x589640 (152 bytes) // // 1 xrefs: // > @ 0x4afb8 // // 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 // __int64 __fastcall getDistance(const cocos2d::CCPoint *a1, const cocos2d::CCPoint *a2) { cocos2d::CCPoint v4; // [xsp+38h] [xbp+38h] BYREF cocos2d::CCPoint v5; // [xsp+40h] [xbp+40h] BYREF cocos2d::CCPoint::CCPoint(&v4, a1); cocos2d::CCPoint::CCPoint(&v5, a2); sqrtf(getDistanceSquared((float *)&v4, (float *)&v5)); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source